gnu-crypto-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU Crypto] building a GCJ-friendly version


From: Raif S. Naffah
Subject: [GNU Crypto] building a GCJ-friendly version
Date: Mon, 8 Sep 2003 22:15:22 +1000
User-agent: KMail/1.5.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

hello there,

i'm trying to test the changes i've made with the latest GCJ; ie.

address@hidden build-gcj]$ gcj -v
Reading specs from /usr/local/gcc/lib/gcc/i686-pc-linux-gnu/3.4/specs
Reading specs from 
/usr/local/gcc/lib/gcc/i686-pc-linux-gnu/3.4/../../../libgcj.spec
rename spec lib to liborig
Configured with: '../gcc/configure' '--enable-shared 
'--enable-threads=posix '--prefix=/usr/local/gcc 
'--enable-languages=c,c++,java : (reconfigured)
Thread model: posix
gcc version 3.4 20030908 (experimental)

but i keep getting an error during a gcj-friendly build:

...
gcc -shared  gnu/crypto/Registry.lo gnu/crypto/assembly/Assembly.lo 
gnu/crypto/assembly/Cascade.lo gnu/crypto/assembly/CascadeStage.lo...

gnu/crypto/cipher/Anubis.lo: In function 
`gnu::crypto::cipher::Anubis::<clinit>()':
/data/work/build-gcj/source/gnu/crypto/cipher/Anubis.java:1: multiple 
definition of `gnu::crypto::cipher::Anubis::<clinit>()'
gnu/crypto/cipher/Anubis.lo:/data/work/build-gcj/source/gnu/crypto/cipher/Anubis.java:1:
 
first defined here
gnu/crypto/cipher/Anubis.lo:/data/work/build-gcj/source/gnu/crypto/cipher/Anubis.java:123:
 
multiple definition of `gnu::crypto::cipher::Anubis::Sd'
...

and the make process stops with:

collect2: ld returned 1 exit status
make[2]: *** [lib-gnu-crypto.la] Error 1
make[2]: Leaving directory `/data/work/build-gcj/source'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/work/build-gcj/source'
make: *** [all-recursive] Error 1


can somebody confirm that

a. they're getting same/similar error with the latest GCJ in their 
environment, or

b. they're not getting that error, in which case, which version of GCJ 
is being used.


TIA + cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique

iD8DBQE/XHLa+e1AKnsTRiERA8ZbAJwPMzPcwOhXYuBscLiGQvNH/k3lrgCgw96S
XtyY2F39HrG77jKMyH1Lt04=
=ECep
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]