[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Still mol compiling problems...



Hi, please tell me if I do something wrong, but I still can't compile
the mol-modules.
I do make-kpkg (--append_to_version benno.x) modules_image or make-kpkg
modules and do get this error:

make[1]: Entering directory `/usr/src/modules/mol'
m4 -DKVERS="2.4.20-ben10benno.4" -DKSRC="/usr/src/linux"
-DKEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" -DKMAINT="Unknown
Kernel Package Maintainer" -DKDREV="10.00.Custom" -DDEBDATE="Sun,  1 Jun
2003 21:35:26 +0000" debian/control.m4 > debian/control
m4 -DKVERS="2.4.20-ben10benno.4" -DKSRC="/usr/src/linux"
-DKEMAIL="unknown@unconfigured.in.etc.kernel-pkg.conf" -DKMAINT="Unknown
Kernel Package Maintainer" -DKDREV="10.00.Custom" -DDEBDATE="Sun,  1 Jun
2003 21:35:26 +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
hook.c: In function `relocate_inst':
hook.c:305: warning: integer constant is too large for "long" type
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
fault.c: In function `lookup_mphys':
fault.c:201: warning: dereferencing type-punned pointer will break
strict-aliasing rules
fault.c: In function `insert_pte':
fault.c:346: warning: dereferencing type-punned pointer will break
strict-aliasing rules
fault.c:347: warning: dereferencing type-punned pointer will break
strict-aliasing rules
fault.c:395: warning: dereferencing type-punned pointer will break
strict-aliasing rules
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: error: 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

Hitting return just brings me back to bash....
Is the make-kpkg the wrong thing, the targets wrong?

I'm trying to compile it to an up to date benh10 rsync kernel on
debian-testing...

cheers
benjamin




Reply to: