[dss-developer] Error by linking dss executable

Meier Dominik dominik.meier at fhnw.ch
Fri Mar 5 16:22:50 CET 2010


Hi,

First a short note to Till's problem to OpenSSL and then my further problem.

1st:

Well I had the same error message as Till posted with OpenSSL but probably from a different reason.
I fixed it by changeing the install location because somehow for historical reasons this is /usr/local/ssl.

I got on with changing the install directory:
------
./config --prefix=/usr/local --openssldir=/usr/local/openssl
make
make install
------   


2nd: Error by linking dss executable:

I was able to build the current verion of the dSS but I got an error during linking the executable dss. I am a bit lost, how to proceede now. Probably anybody could help.

I am working with Ubuntu 9.10 see terminal reports below.
Thanks for your help.

Have a nice weekend,
Regards
Dominik


Building terminal report:

....

[ 98%] Building CXX object CMakeFiles/dss.dir/main.cpp.o
[100%] Building CXX object CMakeFiles/dss.dir/namespaces.cpp.o
Linking CXX executable dss
CMakeFiles/dss.dir/main.cpp.o: In function `main':
main.cpp:(.text+0x301): undefined reference to `boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
webservices/libwebservices.a(gs-locks.cpp.o): In function `CRYPTO_setup_locks()':
gs-locks.cpp:(.text+0x243): undefined reference to `CRYPTO_num_locks'
gs-locks.cpp:(.text+0x2ff): undefined reference to `CRYPTO_set_dynlock_create_callback'
gs-locks.cpp:(.text+0x30b): undefined reference to `CRYPTO_set_dynlock_destroy_callback'
gs-locks.cpp:(.text+0x317): undefined reference to `CRYPTO_set_locking_callback'
gs-locks.cpp:(.text+0x323): undefined reference to `CRYPTO_set_dynlock_lock_callback'
gs-locks.cpp:(.text+0x32f): undefined reference to `CRYPTO_set_id_callback'
webservices/libwebservices.a(gs-locks.cpp.o): In function `CRYPTO_cleanup_locks()':
gs-locks.cpp:(.text+0x355): undefined reference to `CRYPTO_set_dynlock_create_callback'
gs-locks.cpp:(.text+0x361): undefined reference to `CRYPTO_set_dynlock_destroy_callback'
gs-locks.cpp:(.text+0x36d): undefined reference to `CRYPTO_set_locking_callback'
gs-locks.cpp:(.text+0x379): undefined reference to `CRYPTO_set_dynlock_lock_callback'
gs-locks.cpp:(.text+0x385): undefined reference to `CRYPTO_set_id_callback'
/usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libgsoapssl++.a(libgsoapssl___a-stdsoap2_ssl_cpp.o): In function `frecv':
(.text+0xf976): undefined reference to `SSL_read'

...
...

/usr/lib/gcc/i486-linux-gnu/4.4.1/../../../../lib/libgsoapssl++.a(libgsoapssl___a-stdsoap2_ssl_cpp.o): In function `tcp_connect':
(.text+0x1b23b): undefined reference to `X509_verify_cert_error_string'
collect2: ld returned 1 exit status
make[2]: *** [dss] Fehler 1
make[1]: *** [CMakeFiles/dss.dir/all] Fehler 2
make: *** [all] Fehler 2






More information about the dss-developer mailing list