LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 06-21-2004, 03:37 PM   #1
szr
LQ Newbie
 
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
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!

Thanks a lot in advance!

szr
 
Old 06-23-2004, 09:08 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
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
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PLEASE HELP: fsck.reiserfs --rebuild-sb /dev/md0 fails ofdofd Linux - General 2 10-26-2005 03:18 PM
BestCrypt 1.5.5 rebuild fails on SuSE 9.1 [repost] szr Linux - Software 16 08-12-2004 10:45 AM
ALSA RPM rebuild fails, other compilation problems abro Linux - Software 3 12-09-2003 08:34 PM
BestCrypt installation problem (Rebuild fails) alacos Linux - Software 1 11-04-2003 06:34 PM
bestcrypt 1.0 beta alim Linux - Software 3 05-06-2002 08:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration