Re: problem with building of libjava

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

 



Hello,

I got new results of my comiling tests. At first the file defineclass.cc
compiles right now, thanks to some additions of DEFAULT_INCLUDES. The value
is now

DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
-I$(top_builddir)/gcj -I/usr/include
-I/home/habich/gcc-4.1.0/libstdc++-v3/../gcc
-I/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libstdc++-v3/include
-I/home/habich/gcc-4.1.0/libstdc++-v3/libsupc++

Later in the linking process of libgcj I get some new errors:

/bin/sh ./libtool --tag=GCJ --mode=link
/home/habich/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/gcj
-B/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libjava/
-B/home/habich/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/
-L/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libjava -ffloat-store
-fomit-frame-pointer -g -O2  -o jv-convert --main=gnu.gcj.convert.Convert
-rpath /home/habich/gcc/lib -shared-libgcc  
-L/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libjava/.libs libgcj.la
/home/habich/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/gcj
-B/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libjava/
-B/home/habich/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/ -ffloat-store
-fomit-frame-pointer -g -O2 -o .libs/jv-convert
--main=gnu.gcj.convert.Convert -shared-libgcc 
-L/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libjava
-L/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libjava/.libs ./.libs/libgcj.so
-L/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/habich/gcc-4.1.0/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lpthread
-ldl -L/home/habich/gcc-4.1.0/host-i686-pc-linux-gnu/gcc -lgcc_s -lc -lgcc_s
-Wl,--rpath -Wl,/home/habich/gcc/lib
./.libs/libgcj.so: undefined reference to `d2i_RSA_PUBKEY_fp'
./.libs/libgcj.so: undefined reference to `operator new[](unsigned int)'
./.libs/libgcj.so: undefined reference to `__cxa_rethrow'
./.libs/libgcj.so: undefined reference to `HMAC'
./.libs/libgcj.so: undefined reference to `operator delete(void*)'
./.libs/libgcj.so: undefined reference to `std::__throw_length_error(char
const*)'
./.libs/libgcj.so: undefined reference to `EVP_aes_256_cbc'
./.libs/libgcj.so: undefined reference to `__cxa_end_catch'
./.libs/libgcj.so: undefined reference to `EVP_sha1'
./.libs/libgcj.so: undefined reference to `RSA_private_decrypt'
./.libs/libgcj.so: undefined reference to `ERR_reason_error_string'
./.libs/libgcj.so: undefined reference to `ERR_func_error_string'
./.libs/libgcj.so: undefined reference to `EVP_DecryptUpdate'
./.libs/libgcj.so: undefined reference to `RSA_free'
./.libs/libgcj.so: undefined reference to `ERR_get_error'
./.libs/libgcj.so: undefined reference to `EVP_DecryptInit'
./.libs/libgcj.so: undefined reference to `__cxa_begin_catch'
./.libs/libgcj.so: undefined reference to `RSA_verify'
./.libs/libgcj.so: undefined reference to `ERR_free_strings'
./.libs/libgcj.so: undefined reference to `operator new(unsigned int)'
./.libs/libgcj.so: undefined reference to `std::__throw_out_of_range(char
const*)'
./.libs/libgcj.so: undefined reference to `ERR_load_crypto_strings'
./.libs/libgcj.so: undefined reference to `d2i_RSAPrivateKey_fp'
./.libs/libgcj.so: undefined reference to `SHA1'
./.libs/libgcj.so: undefined reference to `EVP_DecryptFinal'


So he needs the place and libraries of OpenSSL to get the linking process
running. Where do I insert the directory and libs in the Makefile.in
(variable names) so it could find the libraries?


best regards
Toni

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
"Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux