Subject: mol with 2.4.0test11 kernel
From: Philippe Lelédy (phl@smtp.leledy.org)
Date: Sun Dec 03 2000 - 04:00:20 MST
I used successfully mol on 2.2.17pre20ben3 kernel but I fail using it with
2.4.0test11.
I tried 3 methods
-1- mol.ppc.rpm suitable for 2.4.0. Problem: it was compile for
2.4.0test10 which is not a big issue, but worse, at insmod time:
/usr/lib/mol/modules/mol.o: unresolved symbol get_module_symbol
which prevents mol.o from being loadable.
-2- mol.src.rpm which doesn't build :
gcc -I/usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.2/include -pipe -O2 -Wall
-fomit-frame-pointer -mmultiple
-I/usr/src/redhat/BUILD/mol-0.9.53/sinclude -I./include -I../include -c -o
obj/main.o main.c
In file included from main.c:20:
/usr/local/include/linux/module.h:179: field `list' has incomplete type
cpp: -lang-c: linker input file unused since linking not done
make[1]: *** [obj/main.o] Error 1
make: *** [_subdir_emulation] Error 2
Bad exit status from /var/tmp/rpm-tmp.80909 (%build)
(I have strange glibc so I have to use
-I/usr/lib/gcc-lib/ppc-yellowdog-linux/2.95.2/include
because of problems with limits.h)
-3- bitKeeper: the build fails at later stage with
ld mol
due to unresolved references in drivers.o:
XShmQueryExtension, XShmCreateImage, XShmAttach, XShmDetach and
XShmPutImage.
Now I don't have any idea about what more to do.
Salutations.
----------
This archive was generated by hypermail 2a24 : Sun Dec 03 2000 - 04:07:35 MST