bestcrypt 1.2_p6 also fails ... for 1.5_p6: ACCEPT_KEYWORDS="~x86" emerge bestcrypt ... gcc -c -D__KERNEL__ -DMODULE -I/var/tmp/portage/bestcrypt-1.5_p6/work/bcrypt/mod/../include/ -I/l ib/modules/2.4.27/build/include/ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -c -o bc_dev24.o bc_dev24.c In file included from bc_dev24.c:40: bc_cfg.h:46:37: linux/modversions.h: No such file or directory In file included from bc_dev24.c:52: bc_mgr.h:43: error: `_set_ver' declared as function returning a function ... Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS="~x86" emerge bestcrypt 2. 3. Actual Results: emerge fails Expected Results: successful emerge ACCEPT_KEYWORDS="~x86" emerge bestcrypt Calculating dependencies ...done! ... g++ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -L../lib -I../include/ -Wall -O2 -fno-strict-aliasing -O2 -march=athlon-xp -fomit-frame-pointer -pipe -o bctool bctool.o alg.o c onfig.o error.o misc.o bcmount.o bcpasswd.o bcinfo.o bccreate.o bcformat.o bcreencrypt.o bcfsck.o b clink.o bcunlock.o -lkgsha cp -f bctool ../bin/ make[1]: Leaving directory `/var/tmp/portage/bestcrypt-1.5_p6/work/bcrypt/src' make[1]: Entering directory `/var/tmp/portage/bestcrypt-1.5_p6/work/bcrypt/mod' gcc -I/lib/modules/2.4.27/build/include -o mkver mkver.c touch bc_dev.ver ; gcc -I/lib/modules/2.4.27/build/include/ -E bc_dev24.c -I../include -D__GENKSYMS__ | /sbin/genksyms -p smp_ -k 2.4.21 > bc_dev.ver gcc -c -D__KERNEL__ -DMODULE -I/var/tmp/portage/bestcrypt-1.5_p6/work/bcrypt/mod/../include/ -I/l ib/modules/2.4.27/build/include/ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -c -o bc_dev24.o bc_dev24.c In file included from bc_dev24.c:40: bc_cfg.h:46:37: linux/modversions.h: No such file or directory In file included from bc_dev24.c:52: bc_mgr.h:43: error: `_set_ver' declared as function returning a function bc_mgr.h:43: warning: parameter names (without types) in function declaration bc_mgr.h:44: error: `_set_ver' declared as function returning a function ...
make sure /usr/src/linux point to your current running and compiled kernel closing with this