emerge bestcrypt

A place to ask all newbie questions and not get flamed, though you will get beaten down if you post a newbieish question outside of these walls.
Post Reply
JamesBean
Newbie
Posts: 2
Joined: Tue Apr 06, 2004 1:04 am

emerge bestcrypt

Post by JamesBean » Tue Apr 06, 2004 1:07 am

I just did a FTP install of the home version, ran magic overnight, all works well. Ive tried to

emerge bestcrypt

but it fails with errors. Will this application work with Gentoox?

User avatar
nobspangle
Gentoox Guru!
Posts: 1681
Joined: Sun Sep 28, 2003 11:59 am
Location: Manchester, UK

Post by nobspangle » Tue Apr 06, 2004 6:59 am

I can't see an immediate reason why it wouldn't work unless it doesn't support installation on a loopback filesystem.

What is the error you are getting?

Is it a compile error or an emerge error?
If you keep an open mind, will your brain fall out?

JamesBean
Newbie
Posts: 2
Joined: Tue Apr 06, 2004 1:04 am

Post by JamesBean » Wed Apr 07, 2004 8:44 pm

Well, Im a total newb, but here is the output of emerge. Someone told me my kernal is not formatted correctly. Ive done a make mrproper and make dep in the /usr/src/linux dir, which appears to be a link to the /usr/src/linux-2.4.22-mosix directory that was installed after magic was run.

Calculating dependencies ...done!
>>> emerge (1 of 1) app-crypt/bestcrypt-1.2_p6 to /
>>> md5 src_uri ;-) BestCrypt-1.2-6.tar.gz
>>> Unpacking source...
>>> Unpacking BestCrypt-1.2-6.tar.gz to /var/tmp/portage/bestcrypt-1.2_p6/work
>>> Source unpacked.
set -e; for i in kgsha src mod; do make -C $i CC=gcc CPP=g++ ; done
make[1]: Entering directory `/var/tmp/portage/bestcrypt-1.2_p6/work/bcrypt/
kgsha'
g++ -Wall -Werror -fno-strength-reduce -I../include -g  -c -o alg.o alg.cpp
g++ -Wall -Werror -fno-strength-reduce -I../include -g  -c -o kblock.o
kblock.cpp
g++ -Wall -Werror -fno-strength-reduce -I../include -g  -c -o kg_misc.o
kg_misc.cpp
g++ -Wall -Werror -fno-strength-reduce -I../include -g  -c -o kgsha.o
kgsha.cpp
g++ -Wall -Werror -fno-strength-reduce -I../include -g  -c -o pwldlg.o
pwldlg.cpp
g++ -Wall -Werror -fno-strength-reduce -I../include -g  -c -o sha1.o sha1.cpp
g++ -Wall -Werror -fno-strength-reduce -I../include -g  -c -o random.o
random.cpp
ar -rcsv libkgsha.a alg.o kblock.o kg_misc.o kgsha.o pwldlg.o sha1.o random.o
a - alg.o
a - kblock.o
a - kg_misc.o
a - kgsha.o
a - pwldlg.o
a - sha1.o
a - random.o
cp -f libkgsha.a ../lib
cp -f kg_defs.h kgsha.h kblock.h sha1.h random.h ../include
make[1]: Leaving directory `/var/tmp/portage/bestcrypt-1.2_p6/work/bcrypt/
kgsha'
make[1]: Entering directory `/var/tmp/portage/bestcrypt-1.2_p6/work/bcrypt/
src'
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bctool.o bctool.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
alg.o alg.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
config.o config.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
error.o error.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
misc.o misc.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bcmount.o bcmount.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bcpasswd.o bcpasswd.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bcinfo.o bcinfo.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bccreate.o bccreate.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bcformat.o bcformat.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bcreencrypt.o bcreencrypt.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bcfsck.o bcfsck.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bclink.o bclink.c
gcc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing   -c -o
bcunlock.o bcunlock.c
g++ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -L../lib
-I../include/  -Wall -march=pentium3 -O3 -pipe -fno-strict-aliasing  -o bctool
bctool.o alg.o config.o error.o misc.o bcmount.o bcpasswd.o bcinfo.o  
bccreate.o bcformat.o bcreencrypt.o bcfsck.o bclink.o bcunlock.o -lkgsha
cp -f bctool ../bin/
make[1]: Leaving directory `/var/tmp/portage/bestcrypt-1.2_p6/work/bcrypt/src'
make[1]: Entering directory `/var/tmp/portage/bestcrypt-1.2_p6/work/bcrypt/
mod'
gcc -I/include -o mkver mkver.c
touch bc_dev.ver ;
gcc -I/include/ -E bc_dev.c -I../include -D__GENKSYMS__ | /sbin/genksyms  -p
smp_ -k 2.4.19 > bc_dev.ver
gcc -c -D__KERNEL__ -DMODULE -I/var/tmp/portage/bestcrypt-1.2_p6/work/bcrypt/
mod/../include/ -I/include/ -march=pentium3 -O3 -pipe -Wall -fno-strength-
reduce -fno-strict-aliasing    -c -o bc_dev.o bc_dev.c
In file included from bc_dev.c:1:
bc_cfg.h:43:35: linux/modversions.h: No such file or directory
In file included from bc_dev24.c:51,
                 from bc_dev.c:31:
bc_mgr.h:43: `_set_ver' declared as function returning a function
bc_mgr.h:43: warning: parameter names (without types) in function declaration
bc_mgr.h:44: `_set_ver' declared as function returning a function
bc_mgr.h:44: warning: parameter names (without types) in function declaration
In file included from bc_dev.c:31:
bc_dev24.c:88: `__kstrtab__set_ver' declared as function returning an array
bc_dev24.c:88: warning: parameter names (without types) in function
declaration
bc_dev24.c:88: function `__kstrtab__set_ver' is initialized like a variable
bc_dev24.c:88: warning: parameter names (without types) in function
declaration
bc_dev24.c:88: function `__ksymtab__set_ver' is initialized like a variable
bc_dev24.c:88: `register_bc_algo' undeclared here (not in a function)
bc_dev24.c:88: invalid lvalue in unary `&'
bc_dev24.c:88: `register_bc_algo' undeclared here (not in a function)
bc_dev24.c:88: warning: excess elements in scalar initializer
bc_dev24.c:88: warning: (near initialization for `__ksymtab__set_ver')
bc_dev24.c:89: `__kstrtab__set_ver' declared as function returning an array
bc_dev24.c:89: warning: parameter names (without types) in function
declaration
bc_dev24.c:89: function `__kstrtab__set_ver' is initialized like a variable
bc_dev24.c:89: warning: parameter names (without types) in function
declaration
bc_dev24.c:89: function `__ksymtab__set_ver' is initialized like a variable
bc_dev24.c:89: `unregister_bc_algo' undeclared here (not in a function)
bc_dev24.c:89: invalid lvalue in unary `&'
bc_dev24.c:89: `unregister_bc_algo' undeclared here (not in a function)
bc_dev24.c:89: warning: excess elements in scalar initializer
bc_dev24.c:89: warning: (near initialization for `__ksymtab__set_ver')
In file included from bc_dev.c:31:
bc_dev24.c: In function `bc_thread':
bc_dev24.c:323: warning: implicit declaration of function `set_user_nice'
make[1]: *** [bc_dev.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/bestcrypt-1.2_p6/work/bcrypt/mod'
make: *** [subdirs] Error 2

!!! ERROR: app-crypt/bestcrypt-1.2_p6 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest