< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] reSIProcate compilation errors on Fedora 15 & network down notification issue


Hi Scott, building the reSIProcate code gets passed in the terminal, which is good. But I kinda need to debug the code, together with other components being developed on my own, thus, an IDE is essential at this point.
 
I have configured the Makefile with ./configure command in the terminal (to disable the build of reTurn client and other unrelevant components ), and imported the code with the option "Existing Code as Makefile Project" in Eclipse. The build in Eclipse just failed because of undefined references in the open_ssl.hxx. 
 
I am not sure if I am missing any points, but perhaps you can get me some suggestions regarding my problem.
 
Everybody else's comments are also welcomed. Thanks
 
 
Alex

--- 11年9月29日,周四, Scott Godin <sgodin@xxxxxxxxxxxxxxxxx> 写道:

发件人: Scott Godin <sgodin@xxxxxxxxxxxxxxxxx>
主题: RE: [reSIProcate-users] reSIProcate compilation errors on Fedora 15 & network down notification issue
收件人: "he yaxin" <crazyplayer1983@xxxxxxxxxxxx>
日期: 2011年9月29日,周四,下午5:18

I’ve never build from eclipse – so not sure.

 

From: resiprocate-users-bounces@xxxxxxxxxxxxxxx [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxx] On Behalf Of he yaxin
Sent: September-29-11 12:10 PM
To: Scott Godin
Cc: resiprocate-users@xxxxxxxxxxxxxxx
Subject: Re: [reSIProcate-users] reSIProcate compilation errors on Fedora 15 & network down notification issue

 

Hi Scott, the build went through well in Fedora Terminal, using the make command. I got these errors while building the code in Eclipse. Looks like there are some tricks inside the IDE.....Any ideas?

 

Alex

--- 11929日,周四, Scott Godin <sgodin@xxxxxxxxxxxxxxx> 写道:


发件人: Scott Godin <sgodin@xxxxxxxxxxxxxxx>
: Re: [reSIProcate-users] reSIProcate compilation errors on Fedora 15 & network down notification issue
收件人: "he yaxin" <crazyplayer1983@xxxxxxxxxxxx>
抄送: francis.joanis@xxxxxxxxx, resiprocate-users@xxxxxxxxxxxxxxx
日期: 2011929,周四,下午3:59

Not sure offhand about the specific errors - they are obviously OpenSSL related.  However the errors are coming from the reTurn client application.  It appears you did not disable building reTurn client from the configure script - this would be your quickest solution.

 

Scott  

On Thu, Sep 29, 2011 at 10:28 AM, he yaxin <crazyplayer1983@xxxxxxxxxxxx> wrote:

Thanks, Scott and Francis. I’ve checked out the latest version of the reSIProcate and it builds well till I got the following errors:

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:50: undefined reference to `SSL_library_init'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:51: undefined reference to `SSL_load_error_strings'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:52: undefined reference to `SSL_library_init'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:54: undefined reference to `CRYPTO_num_locks'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:57: undefined reference to `CRYPTO_set_locking_callback'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:58: undefined reference to `CRYPTO_set_id_callback'

obj.debug.Linux.i686/TestClient.o: In function `~do_init':

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:66: undefined reference to `CRYPTO_set_id_callback'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:67: undefined reference to `CRYPTO_set_locking_callback'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:68: undefined reference to `ERR_free_strings'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:69: undefined reference to `ERR_remove_state'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:70: undefined reference to `EVP_cleanup'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:71: undefined reference to `CRYPTO_cleanup_all_ex_data'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:72: undefined reference to `CONF_modules_unload'

/home/alex/code/resiprocate/reTurn/client/test/../../../build/../contrib/asio/asio/ssl/detail/openssl_init.hpp:73: undefined reference to `ENGINE_cleanup'

collect2: ld returned 1 exit status

make[1]: *** [bin.debug.Linux.i686/TestClient] Error 1

make: *** [return-client] Error 2

 

I have disabled the compilation of repro, reTurn, recon and TFM on this build. Any idea of how to resolve these errors?

 

Alex