Still stuck with MOL...

Romeyn Prescott prescor at digirom.potsdam.edu
Wed Jan 5 15:15:52 UTC 2005


Hi all.

I'm still trying to get MOL working with the latest kernel.  I'm 
following the same instructions in the wiki that worked so flawlessly 
a month ago.  I have the latest kernel headers installed.  I get as 
running 'rules build' and then there are some errors generated that I 
don't think should be there.  Output follows:

-----
root at digirom:/usr/src/modules/mol # debian/rules build
m4 -DKVERS="2.6.8.1-4-powerpc" 
-DKSRC="/usr/src/linux-headers-2.6.8.1-4-powerpc" 
-DKEMAIL="prescor at digirom.potsdam.edu" -DKMAINT="Romeyn Prescott" 
-DKDREV="ubuntu0" -DDEBDATE="Wed,  5 Jan 2005 10:14:11 -0500" 
debian/control.m4 > debian/control
m4 -DKVERS="2.6.8.1-4-powerpc" 
-DKSRC="/usr/src/linux-headers-2.6.8.1-4-powerpc" 
-DKEMAIL="prescor at digirom.potsdam.edu" -DKMAINT="Romeyn Prescott" 
-DKDREV="ubuntu0" -DDEBDATE="Wed,  5 Jan 2005 10:14:11 -0500" 
debian/changelog.m4 > debian/changelog
touch configure-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory `/usr/src/modules/mol'
/usr/bin/make -C src/kmod
make[2]: Entering directory `/usr/src/modules/mol/src/kmod'
+ Entering Linux
   CC [M]  /usr/src/modules/mol/src/kmod/Linux/../build/_kuname.o
   CC [M]  /usr/src/modules/mol/src/kmod/Linux/../build/_fault.o
   CC [M]  /usr/src/modules/mol/src/kmod/Linux/../build/_dev.o
In file included from include/asm/machdep.h:8,
                  from include/asm/irq.h:6,
                  from include/asm/hardirq.h:8,
                  from include/asm-generic/local.h:7,
                  from include/asm/local.h:4,
                  from include/linux/module.h:21,
                  from /usr/src/modules/mol/src/kmod/build/_dev.c:19:
include/asm/setup.h:8: error: parse error before '/' token
include/asm/setup.h:8: error: syntax error at '#' token
make[5]: *** [/usr/src/modules/mol/src/kmod/Linux/../build/_dev.o] Error 1
make[4]: *** [_module_/usr/src/modules/mol/src/kmod/Linux/../build] Error 2
nm: ../build/mol.ko: No such file or directory
nm: ../build/mol.ko: No such file or directory
checker.pl failed
rm: cannot remove `../build/mol.ko': No such file or directory
make[3]: *** [all-local] Error 1
make[2]: *** [sub-Linux-all] Error 2
make[2]: Leaving directory `/usr/src/modules/mol/src/kmod'
make[1]: [src/kmod] Error 2 (ignored)
/usr/bin/make -C src/netdriver
make[2]: Entering directory `/usr/src/modules/mol/src/netdriver'
   CC [M]  /usr/src/modules/mol/src/netdriver/build/kuname.o
strings /usr/src/modules/mol/src/netdriver/build/kuname.o | grep -- 
'-MAGIC-' | sed -e s/-MAGIC-// > 
/usr/src/modules/mol/src/netdriver/build/.kuname
   CC [M]  /usr/src/modules/mol/src/netdriver/build/sheep.o
In file included from include/asm/machdep.h:8,
                  from include/asm/irq.h:6,
                  from include/asm/hardirq.h:8,
                  from include/asm-generic/local.h:7,
                  from include/asm/local.h:4,
                  from include/linux/module.h:21,
                  from /usr/src/modules/mol/src/netdriver/build/sheep.c:11:
include/asm/setup.h:8: error: parse error before '/' token
include/asm/setup.h:8: error: syntax error at '#' token
/usr/src/modules/mol/src/netdriver/build/sheep.c: In function `sheep_net_open':
/usr/src/modules/mol/src/netdriver/build/sheep.c:252: warning: use of 
cast expressions as lvalues is deprecated
make[4]: *** [/usr/src/modules/mol/src/netdriver/build/sheep.o] Error 1
make[3]: *** [_module_/usr/src/modules/mol/src/netdriver/build] Error 2
make[2]: Leaving directory `/usr/src/modules/mol/src/netdriver'
make[1]: Leaving directory `/usr/src/modules/mol'
touch build-stamp
-----

Will someone more knowledgeable than me please tell me if that looks OK?

Thanks,
...ROMeyn
-- 
signat-url: http://www2.potsdam.edu/prescor/signat-url.htm




More information about the ubuntu-users mailing list