Dear fink-Users,
Compiling the beecrypt6 software using:

 > gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)

lead to the following error:

::::
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I/sw/include -DOPTIMIZE_I386  
-O2 -DNDEBUG -fomit-frame-pointer -c blowfishopt.s  -fno-common -DPIC - 
o .libs/blowfishopt.o
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I/sw/include -DOPTIMIZE_I386  
-O2 -DNDEBUG -fomit-frame-pointer -c blowfishopt.s -o blowfishopt.o >/ 
dev/null 2>&1
/bin/sh ./libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. - 
I. -I./..  -I/sw/include -DOPTIMIZE_I386  -O2 -DNDEBUG -fomit-frame- 
pointer -c -o mpopt.lo `test -f mpopt.s || echo './'`mpopt.s
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I./.. -I/sw/include -DOPTIMIZE_I386  
-O2 -DNDEBUG -fomit-frame-pointer -c mpopt.s  -fno-common -DPIC - 
o .libs/mpopt.o
mpopt.s:57:suffix or operands invalid for `push'
mpopt.s:65:suffix or operands invalid for `pop'
:::::
:::::
mpopt.s:427:suffix or operands invalid for `pop'
mpopt.s:429:suffix or operands invalid for `pop'
mpopt.s:430:suffix or operands invalid for `pop'
make[2]: *** [mpopt.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-beecrypt6-4.1.2-11
(Reading database ... 152147 files and directories currently installed.)
Removing fink-buildlock-beecrypt6-4.1.2-11 ...
Failed: phase compiling: beecrypt6-4.1.2-11 failed

---->  uname -p is no longer appropriate (I think)

BUT:
 > ./configure --with-arch x86_64
and
 > make
---->
::::::
/bin/sh ./libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. - 
I. -I./..    -O2 -DNDEBUG -fomit-frame-pointer -c -o sha1opt.lo `test - 
f sha1opt.s || echo './'`sha1opt.s
  gcc -DHAVE_CONFIG_H -I. -I. -I. -I./.. -O2 -DNDEBUG -fomit-frame- 
pointer -c sha1opt.s -o sha1opt.o
/bin/sh ./libtool --mode=link --tag=CXX g++  -O2 -DNDEBUG   -o  
libbeecrypt.la -rpath /usr/local/lib -no-undefined -version-info  
10:0:4 aes.lo base64.lo beecrypt.lo blockmode.lo blockpad.lo  
blowfish.lo dhaes.lo dldp.lo dlkp.lo dlpk.lo dlsvdp-dh.lo dsa.lo  
elgamal.lo endianness.lo entropy.lo fips186.lo hmac.lo hmacmd5.lo  
hmacsha1.lo hmacsha256.lo md5.lo hmacsha384.lo hmacsha512.lo  
memchunk.lo mp.lo mpbarrett.lo mpnumber.lo mpprime.lo mtprng.lo  
pkcs1.lo pkcs12.lo rsa.lo rsakp.lo rsapk.lo sha1.lo sha256.lo  
sha384.lo sha512.lo sha_k.lo timestamp.lo cppglue.lo aesopt.lo  
blowfishopt.lo mpopt.lo sha1opt.lo
mkdir .libs
ar cru .libs/libbeecrypt.a  aes.o base64.o beecrypt.o blockmode.o  
blockpad.o blowfish.o dhaes.o dldp.o dlkp.o dlpk.o dlsvdp-dh.o dsa.o  
elgamal.o endianness.o entropy.o fips186.o hmac.o hmacmd5.o hmacsha1.o  
hmacsha256.o md5.o hmacsha384.o hmacsha512.o memchunk.o mp.o  
mpbarrett.o mpnumber.o mpprime.o mtprng.o pkcs1.o pkcs12.o rsa.o  
rsakp.o rsapk.o sha1.o sha256.o sha384.o sha512.o sha_k.o timestamp.o  
cppglue.o aesopt.o blowfishopt.o mpopt.o sha1opt.o
ranlib .libs/libbeecrypt.a
ranlib: file: .libs/libbeecrypt.a(aesopt.o) has no symbols
ranlib: file: .libs/libbeecrypt.a(blowfishopt.o) has no symbols
ranlib: file: .libs/libbeecrypt.a(mpopt.o) has no symbols
ranlib: file: .libs/libbeecrypt.a(sha1opt.o) has no symbols
creating libbeecrypt.la
(cd .libs && rm -f libbeecrypt.la && ln -s ../libbeecrypt.la  
libbeecrypt.la)
Making all in java
/bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I.  
-I.. -I../.. -I/usr/include    -O2 -DNDEBUG -fomit-frame-pointer -c -o  
javaglue.lo javaglue.c
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../.. -I/usr/include -O2 -DNDEBUG  
-fomit-frame-pointer -c javaglue.c -o javaglue.o
In file included from javaglue.c:21:
javaglue.h:2:17: error: jni.h: No such file or directory
In file included from javaglue.c:21:
javaglue.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'jlong'
javaglue.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__'  
before 'jlong'
:::::
:::::
javaglue.c:525: error: expected '=', ',', ';', 'asm' or  
'__attribute__' before  
'Java_beecrypt_crypto_NativeBlockCipher_encryptCBC'
javaglue.c:587: error: expected '=', ',', ';', 'asm' or  
'__attribute__' before  
'Java_beecrypt_crypto_NativeBlockCipher_decryptCBC'
make[2]: *** [javaglue.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any hint welcome,
Peter







------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to