Re: [opencbm-user] Errors compiling opencbm on Linux.
Brought to you by:
strik
|
From: <gr...@gm...> - 2007-10-31 21:05:55
|
Hello Spiro,
I just changed the LINUX/config.make this way to make the make -f
LINUX/Makefile complete successfully.
luca@c65:~/opencbm/cbm4win/LINUX$ cvs diff -u config.make
Index: config.make
===================================================================
RCS file: /cvsroot/opencbm/cbm4win/LINUX/config.make,v
retrieving revision 1.7.4.4
diff -u -r1.7.4.4 config.make
--- config.make 28 Oct 2007 10:56:30 -0000 1.7.4.4
+++ config.make 31 Oct 2007 21:03:26 -0000
@@ -40,10 +40,10 @@
# (removed, use the later implementation instead. I left them in in
case the
# later implementation does not work on a particular machine.)
#KERNEL_SOURCE = /usr/src/linux # for kernel 2.4
-#KERNEL_SOURCE = /lib/modules/`uname -r`/build # for kernel 2.6
+KERNEL_SOURCE = /lib/modules/`uname -r`/build # for kernel 2.6
# from patch #1189489 on SourceForge, with fix from #1189492):
-KERNEL_SOURCE = ${shell for d in {/lib/modules/`uname
-r`/build,/usr/src/linux}; do test -d $$d && echo $$d; done | head -n 1}
+#KERNEL_SOURCE = ${shell for d in {/lib/modules/`uname
-r`/build,/usr/src/linux}; do test -d $$d && echo $$d; done | head -n 1}
#
# Find out if we should include linux/autoconf.h or linux/conf.h in
the kernel module
I hope now i will be able to accomplish the remaining steps, but still I
would like to know why the compilatio was previously failing anyway.
I will let you know of my progress,
Greetings,
Luca
|