problems with module-init-tools

Olaf Grüttner olaf.gruettner at web.de
Sat Apr 30 11:26:21 PDT 2005


Hi there,

I have problems making module-init-tools. It complains about 

make: *** [zlibsupport.o] Fehler 1
root:/sources/module-init-tools-3.0# ldconfig
root:/sources/module-init-tools-3.0# make
source='zlibsupport.c' object='zlibsupport.o' libtool=no \
depfile='.deps/zlibsupport.Po' tmpdepfile='.deps/zlibsupport.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.0\" -DCONFIG_USE_ZLIB=1  -I. -I.     -g -O2 -Wunused -Wall -c `test -f 'zlibsupport.c' || echo './'`zlibsupport.c
zlibsupport.c:19:18: zlib.h: No such file or directory
zlibsupport.c: In function `grab_file':
zlibsupport.c:26: error: `gzFile' undeclared (first use in this function)
zlibsupport.c:26: error: (Each undeclared identifier is reported only once
zlibsupport.c:26: error: for each function it appears in.)
zlibsupport.c:26: error: parse error before "fd"
zlibsupport.c:29: error: `fd' undeclared (first use in this function)
zlibsupport.c:29: warning: implicit declaration of function `gzopen'
zlibsupport.c:34: warning: implicit declaration of function `gzread'
zlibsupport.c:43: warning: implicit declaration of function `gzclose'
make: *** [zlibsupport.o] Fehler 1

I have veryfied that I have a zlib.h on my system:
find /usr/ -name "zlib.h"
/usr/include/zlib.h
...

I have reinstalled the zlib-package with all the necessary patches.

Any clues?
Could this be a problem of reentering the chroot environment?

Olaf



More information about the lfs-support mailing list