I have been having problems installing bestcrypt on fedora/red hat linux. I have been searching and searching and cannot find any constructive help so I hope someone here will be able to help me.
I downloaded BestCrypt-1.5-1.src.rpm and I try to do rpmbuild --rebuild BestCrypt-1.5-1.src.rpm and the errors begin. Everything unpacks or whatever just fine for a while and then this happens:
Quote:
make[1]: Leaving directory `/usr/src/redhat/BUILD/bcrypt/src'
make[1]: Entering directory `/usr/src/redhat/BUILD/bcrypt/mod'
Makefile:33: Warning! your compiler version (3.3.2) does not match kernel compiler version (3.2.3)
gcc -I/lib/modules/2.4.22-1.2115.nptl/build/include -o mkver mkver.c
touch bc_dev.ver ;
gcc -I/lib/modules/2.4.22-1.2115.nptl/build/include/ -E bc_dev24.c -I../include -D__GENKSYMS__ | /sbin/genksyms -k 2.4.20 > bc_dev.ver
In file included from bc_dev24.c:40:
bc_cfg.h:30:4: #error You must have kernel with loadable modules support
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from /usr/include/linux/mm.h:4,
from /usr/include/linux/locks.h:5,
from /usr/include/linux/devfs_fs_kernel.h:6,
from bc_dev24.c:44:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from /usr/include/linux/devfs_fs_kernel.h:6,
from bc_dev24.c:44:
/usr/include/linux/locks.h:8:27: linux/pagemap.h: No such file or directory
bc_dev24.c:46:69: linux/vmalloc.h: No such file or directory
bc_dev24.c:47:69: asm/uaccess.h: No such file or directory
In file included from bc_dev24.c:48:
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in userland program. BAD!
|
The errors just continue from there and I have no clue what to do. If anyone here can help me I will be eternally grateful!!!!