Hi Sergey,

On Sat, 20 Aug 2016 09:15:17 +0500
Sergey Kondakov <virtuous...@gmail.com> wrote:

> I tried to make newer Linphone package for openSUSE but its belle-sip-1.5.0 
> dependency fails strangely with:
> > [  268s]   CC       resolve.o
> > [  268s]   CCLD     belle_sip_object_describe
> > [  268s]   CCLD     belle_sip_parse
> > [  268s]   CCLD     belle_http_get
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_flags_to_string'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_config_set_callback_verify'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_config_new'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_write'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificates_chain_get_pem'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_parse_file'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_strerror'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_config_set_crypto_library_config'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_close_notify'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_config_set_rng'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_config_set_ca_chain'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_get_subject_dn'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_signing_key_parse_file'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_parse_path'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_get_fingerprint'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_context_new'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_signing_key_free'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_parse'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_generate_selfsigned'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_config_set_authmode'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_signing_key_get_pem'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_base64_encode'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_set_io_callbacks'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_session_reset'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_set_hs_own_cert'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_context_setup'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_unset_flag'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_get_der'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_context_free'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_signing_key_new'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_signing_key_parse'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_free'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_get_info_string'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_config_defaults'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_get_der_length'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_config_free'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_x509_certificate_new'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_handshake'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_config_set_callback_cli_cert'
> > [  268s] ../src/.libs/libbellesip.so: undefined reference to 
> > `bctbx_ssl_read'
> > [  268s] collect2: error: ld returned 1 exit status
> > [  268s] Makefile:473: recipe for target 'belle_sip_object_describe' failed
> > [  268s] make[2]: *** [belle_sip_object_describe] Error 1
> > [  268s] make[2]: *** Waiting for unfinished jobs....
> 
> bctoolbox-0.2.0 is build with
> >   -DENABLE_POLARSSL=no \
> >   -DENABLE_MBEDTLS=yes \
> >   -DENABLE_TESTS_COMPONENT=YES \
> >   -DENABLE_TESTS=yes \
> >   -DENABLE_STATIC=no
> 
> Anyone knows what's up ?

There is not enough info. Please run the build again (no clean build
necessary) with:
make VERBOSE=1

It will show the full command used to link, thus you could check, what
bctoolbox library is in use.

Best regards,
Andrey

_______________________________________________
Linphone-users mailing list
Linphone-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/linphone-users

Reply via email to