What is the story behind modversions.h ? I am using kernel 2.2.14 and I don't have this file, but I see it is listed for kernel-headers package 2.2.13. I built a custom kernel and I am not using the default Debian kernel image.
gcc -L../lib -I../include/ -Wall -O6 -c -o bcreencrypt.o bcreencrypt.c bcreencrypt.c:258: warning: `#ifdef' argument starts with a digit gcc -L../lib -I../include/ -Wall -O6 -c -o bcfsck.o bcfsck.c gcc -L../lib -I../include/ -Wall -O6 -o bctool bctool.c alg.o config.o error.o misc.o bcmount.o bcpasswd.o bcinfo.o bccreate.o bcformat.o bcreencrypt.o bcfsck.o -lkgsha cp -f bctool ../bin/ make[1]: Leaving directory `/usr/src/redhat/BUILD/bcrypt-0.3b/src' make[1]: Entering directory `/usr/src/redhat/BUILD/bcrypt-0.3b/mod' gcc -o mkver mkver.c touch bc_dev.ver ; gcc -E bc_dev.c -I../include -D__GENKSYMS__ | /sbin/genksyms -k 2.2.13 > bc_dev.ver gcc -O6 -Wall -fno-strength-reduce -D__KERNEL__ -DMODULE -I../include -c -o bc_dev.o bc_dev.c In file included from bc_dev.c:30: bc_cfg.h:39: linux/modversions.h: No such file or directory make[1]: *** [bc_dev.o] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/bcrypt-0.3b/mod' make: *** [subdirs] Error 2 Bad exit status from /var/tmp/rpm-tmp.99181 (%build) BTW I was trying to build an rpm so that I could use Alien to make a Debian package from it. thanks -- Andrew ----------------------------- GnuPG Public KeyID: 0x48109681