compiling opencbm under Ubuntu

From: Glenn Holmer (
Date: 2007-09-16 19:41:02

I'm trying to compile opencbm under Ubuntu 7.04 ("Feisty Fawn"). I've 
compiled it under openSUSE 10.2 without much problem, but I'm stumped 
here.  Starting with the 0.4.0 download with the "optcompile" patch 
applied, I get:

ulthar@shoggoth:/download/c64/opencbm-0.4.0 > make -f LINUX/Makefile
make[1]: Entering directory 
ln -s LINUX/Makefile Makefile
make -C `for d in {/lib/modules/\`uname -r\`/build,/usr/src/linux}; do 
test -d $d && echo $d; done | head -n 1` here=`pwd` 
make: Entering an unknown directory
make: *** here=/mnt/common/download/c64/opencbm-0.4.0/sys/linux: No such 
file or directory.  Stop.

I edited LINUX/config.make and set 
KERNEL_SOURCE = /lib/modules/`uname -r`/build
but then I got:

error: linux/config.h: No such file or directory

Has anybody compiled this under Ubuntu and can give some advice?  This 
is on a 2.6.20 kernel; I have linux-source and linux-kernel-devel 
installed and compiled the kernel to make sure Module.symvers was 

"After the vintage season came the aftermath - and Cenbe."
Glenn Holmer  (Q-Link: ShadowM)

       Message was sent through the cbm-hackers mailing list

Archive generated by hypermail pre-2.1.8.