LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   BestCrypt 1.5.5 rebuild fails on SuSE 9.1 (https://www.linuxquestions.org/questions/linux-newbie-8/bestcrypt-1-5-5-rebuild-fails-on-suse-9-1-a-196080/)

szr 06-21-2004 02:37 PM

BestCrypt 1.5.5 rebuild fails on SuSE 9.1
 
Hi everyone!

When trying to rebuild BestCrypt with
rpmbuild --rebuild BestCrypt-1.5-5.src.rpm
on SuSE 9.1 I'm getting the following errors:

[...]

gcc -c -D__KERNEL__ -DMODULE -I/lib/modules/2.6.5-7.75-default/build/include/asm/mach-default/ -DKBUILD_BASENAME=BestCrypt -I/usr/src/packages/BUILD/bcrypt/mod/../include/ -I/lib/modules/2.6.5-7.75-default/build/include/ -O6 -fno-strength-reduce -fno-strict-aliasing -c -o bc_dev26.o bc_dev26.c
In file included from bc_dev26.c:26:
bc_cfg.h:30:4: #error You must have kernel with loadable modules support
In file included from /usr/include/linux/module.h:20,
from bc_dev26.c:28:
/usr/include/asm/module.h:56:2: #error unknown processor family
In file included from bc_dev26.c:28:
/usr/include/linux/module.h:488: error: variable `__this_module' has initializer but incomplete type
/usr/include/linux/module.h:489: error: unknown field `name' specified in initializer
/usr/include/linux/module.h:490: error: unknown field `init' specified in initializer
In file included from /usr/include/linux/mm.h:206,
from /usr/include/linux/highmem.h:6,
from /usr/include/linux/bio.h:23,
from bc_dev26.c:40:
/usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/page-flags.h:119: error: requested alignment is not a constant
bc_dev26.c:1215: error: parse error before "MODULE_PROC_FAMILY"
/usr/include/linux/module.h:488: error: storage size of `__this_module' isn't known
make[1]: *** [bc_dev26.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/bcrypt/mod'
make: *** [subdirs] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.17023 (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.17023 (%build)

--------------

OK, so I suppose it fails because my kernel doesn't have loadable modules support.
But I'm quite sure that the standard SuSE 9.1 kernel _has_ support for that, so what am I supposed to do to get this working?

As the Jetico site proposes, I tried to run
make mrproper && make dep in /usr/src/linux; I also tried it with make cloneconfig && make dep, but this didn't change a thing.

As I have no experience with kernel compiling, I'd be grateful for some hints! :newbie:

Thanks a lot in advance!

szr

XavierP 06-23-2004 08:08 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

If you knew your thread was better off in a different forum, you should have clicked the "report this post to a moderator" link and one of us would have moved it.

FUP: http://www.linuxquestions.org/questi...hreadid=196763


All times are GMT -5. The time now is 04:20 AM.