module init tools

Justin justinwhelan at
Wed Jan 4 14:05:00 PST 2006


i am getting a strange error when attempting to compile 
module-init-tools towards the end of section 10. the error in full is:

CC="gcc ${BUILD64}" ./configure --prefix="/" --enable-zlib
[.. works fine..]
gcc -m64  -g -O2 -Wunused -Wall   -o lsmod  lsmod.o -Wl,-Bstatic -lz 
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [lsmod] Error 1 is in /usr/lib and /usr/lib64 and point to /lib and /lib64 
respectively. they are correct links and point to /lib/ and 

anyone with any ideas?

thanks in advance

Justin Whelan

More information about the cross-lfs mailing list