On Tue, 2003-05-27 at 15:44, Michel Dänzer wrote: > On Tue, 2003-05-27 at 18:22, Benjamin Swatek wrote: > > > > I see in the mol-user-guide that there should be some links on my system > > that i don't have: > > /usr/include/linux -> /usr/src/linux/include/linux > > /usr/include/asm -> /user/src/linux/include/asm > > > > now these directories aren't empty in /usr/include and I don't have the > > faintest Idea if it's safe to overwrite them with the link. > > > > Should I just do so? > > No. Systems which rely on these being links anywhere are _broken_. > > Why don't you just post the actual problem? > > > -- > Earthling Michel Dänzer \ Debian (powerpc), XFree86 and DRI developer > Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer well, okay after I do make-kpkg modules_images (same happens without "_images") in short I get this:
/linux/modversions.h -c -o Linux/fault.o Linux/fault.c Linux/fault.c: In function `get_phys_page': Linux/fault.c:107: too few arguments to function `expand_stack' make[3]: *** [Linux/fault.o] Error 1 make[3]: Leaving directory `/usr/src/modules/mol/kmod' make[2]: *** [kmod] Error 2 make[2]: Leaving directory `/usr/src/modules/mol' make[1]: *** [build-stamp] Error 2 make[1]: Leaving directory `/usr/src/modules/mol' Module /usr/src/modules/mol failed. Hit return to Continue I attach the full output from where make enters the mol directory. Thanks for any help. benjamin
make[1]: Entering directory `/usr/src/modules/mol' m4 -DKVERS="2.4.20-ben10benno.2" -DKSRC="/usr/src/linux" -DKEMAIL="[EMAIL PROTECTED]" -DKMAINT="Unknown Kernel Package Maintainer" -DKDREV="10.00.Custom" -DDEBDATE="Fri, 23 May 2003 01:02:15 +0000" debian/changelog.m4 > debian/changelog touch configure-stamp dh_testdir /usr/bin/make make[2]: Entering directory `/usr/src/modules/mol' /usr/bin/make -C kmod make[3]: Entering directory `/usr/src/modules/mol/kmod' cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o init.o init.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o emu.o emu.c echo "Generating asm_offsets.h (from ../shared/asm_offsets.c asm_offsets.inc)" Generating asm_offsets.h (from ../shared/asm_offsets.c asm_offsets.inc) cat ../shared/asm_offsets.c asm_offsets.inc > asm_offsets.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DKERNEL -S asm_offsets.c echo "/* WARNING! Automatically generated from 'shared/asm_offsets.c' - DO NOT EDIT! */" > asm_offsets.h grep '^#' asm_offsets.s >> asm_offsets.h rm -f asm_offsets.s asm_offsets.c cc -E -D__ASSEMBLY__ -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -Wp,-MD,traps.pp traps.S | m4 -s | tr ';' '\n' > traps.o.s In file included from traps.S:430: dec.S:234:1: warning: no newline at end of file traps.S:455:1: warning: no newline at end of file as traps.o.s -o traps.o rm -f traps.o.s cp traps.pp traps.P; \ tr ' ' '\012' < traps.pp \ | sed -e 's/^\\$//' -e '/^$/ d' -e '/:$/ d' -e 's/$/ :/' \ >> traps.P; \ rm traps.pp echo "/* WARNING! DO NOT EDIT! AUTOMATICALLY GENERATED! */" > reloc_table.h ./Linux/relbuild.pl traps.o traps.S >> reloc_table.h strip -S -x traps.o cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o hook.o hook.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o mmu.o mmu.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o mmu_fb.o mmu_fb.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o mmu_io.o mmu_io.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o mmu_tracker.o mmu_tracker.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o mtable.o mtable.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o fault.o fault.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o context.o context.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o ptaccess.o ptaccess.c cc -E -D__ASSEMBLY__ -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -Wp,-MD,actions.pp actions.S | m4 -s | tr ';' '\n' > actions.o.s as actions.o.s -o actions.o rm -f actions.o.s cp actions.pp actions.P; \ tr ' ' '\012' < actions.pp \ | sed -e 's/^\\$//' -e '/^$/ d' -e '/:$/ d' -e 's/$/ :/' \ >> actions.P; \ rm actions.pp echo "/* WARNING! DO NOT EDIT! AUTOMATICALLY GENERATED! */" > performance.c echo "#include \"performance.h\"" >> performance.c nm init.o emu.o hook.o mmu.o mmu_fb.o mmu_io.o mmu_tracker.o mtable.o fault.o context.o ptaccess.o traps.o actions.o | sed s/_gPerf/gPerf/g | awk -- '/gPerf__/ { print "unsigned long "$2";" }' >> performance.c echo "perf_info_t g_perf_info_table[] = {" >> performance.c nm init.o emu.o hook.o mmu.o mmu_fb.o mmu_io.o mmu_tracker.o mtable.o fault.o context.o ptaccess.o traps.o actions.o | sed s/_gPerf/gPerf/g | awk -- '/gPerf__/ { print " { \""$2"\",&"$2"}," }' >> performance.c echo " {0,0} };" >> performance.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o performance.o performance.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o Linux/init.o Linux/init.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o Linux/misc.o Linux/misc.c cc -g -O2 -Wall -msoft-float -fno-builtin -D__KERNEL__ -DMODULE -I. -Iinclude -I../shared -I/usr/src/linux/include -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o Linux/fault.o Linux/fault.c Linux/fault.c: In function `get_phys_page': Linux/fault.c:107: too few arguments to function `expand_stack' make[3]: *** [Linux/fault.o] Error 1 make[3]: Leaving directory `/usr/src/modules/mol/kmod' make[2]: *** [kmod] Error 2 make[2]: Leaving directory `/usr/src/modules/mol' make[1]: *** [build-stamp] Error 2 make[1]: Leaving directory `/usr/src/modules/mol' Module /usr/src/modules/mol failed. Hit return to Continue