[vz-users] Compilieren von vzlogger aus dem Volkszaehler-git schlägt fehl

Bernd Gewehr bernd at gewehr.net
Sat Oct 26 19:44:36 CEST 2013


Hier noch der Konsolen-log:

n function `ossl_connect_common':
(.text+0x2f4c): undefined reference to `ERR_error_string'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x2f88): undefined reference to `SSL_CTX_set_srp_password'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x2fb8): undefined reference to `SSL_CTX_set_cipher_list'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x2fdc): undefined reference to `SSL_CTX_check_private_key'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x2ff4): undefined reference to `sk_num'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x3008): undefined reference to `EVP_PKEY_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x3010): undefined reference to `X509_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x301c): undefined reference to `sk_pop_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x3030): undefined reference to `sk_value'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x303c): undefined reference to `SSL_CTX_add_client_CA'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x3050): undefined reference to `sk_num'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x3064): undefined reference to `sk_value'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x3078): undefined reference to `SSL_CTX_ctrl'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x313c): undefined reference to `SSL_ctrl'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `ossl_connect_common':
(.text+0x3218): undefined reference to `X509_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_init':
(.text+0x32f4): undefined reference to `ENGINE_load_builtin_engines'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_init':
(.text+0x32f8): undefined reference to `SSL_load_error_strings'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_init':
(.text+0x32fc): undefined reference to `SSL_library_init'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_init':
(.text+0x3308): undefined reference to `OPENSSL_add_all_algorithms_noconf'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_cleanup':
(.text+0x3318): undefined reference to `EVP_cleanup'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_cleanup':
(.text+0x331c): undefined reference to `ENGINE_cleanup'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_cleanup':
(.text+0x3320): undefined reference to `CRYPTO_cleanup_all_ex_data'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_cleanup':
(.text+0x3324): undefined reference to `ERR_free_strings'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_cleanup':
(.text+0x3330): undefined reference to `ERR_remove_thread_state'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_check_cxn':
(.text+0x3348): undefined reference to `SSL_peek'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine':
(.text+0x3378): undefined reference to `ENGINE_by_id'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine':
(.text+0x3394): undefined reference to `ENGINE_finish'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine':
(.text+0x339c): undefined reference to `ENGINE_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine':
(.text+0x33ac): undefined reference to `ENGINE_init'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine':
(.text+0x33d0): undefined reference to `ENGINE_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine':
(.text+0x33d4): undefined reference to `ERR_get_error'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine':
(.text+0x33e0): undefined reference to `ERR_error_string_n'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine_default':
(.text+0x3440): undefined reference to `ENGINE_set_default'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine_default':
(.text+0x3450): undefined reference to `ENGINE_get_id'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_set_engine_default':
(.text+0x346c): undefined reference to `ENGINE_get_id'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_engines_list':
(.text+0x349c): undefined reference to `ENGINE_get_first'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_engines_list':
(.text+0x34b0): undefined reference to `ENGINE_get_next'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_engines_list':
(.text+0x34c4): undefined reference to `ENGINE_get_id'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_close':
(.text+0x351c): undefined reference to `SSL_shutdown'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_close':
(.text+0x3524): undefined reference to `SSL_set_connect_state'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_close':
(.text+0x352c): undefined reference to `SSL_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_close':
(.text+0x3544): undefined reference to `SSL_CTX_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_shutdown':
(.text+0x35b8): undefined reference to `ERR_clear_error'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_shutdown':
(.text+0x35c8): undefined reference to `SSL_read'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_shutdown':
(.text+0x35d4): undefined reference to `SSL_get_error'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_shutdown':
(.text+0x3620): undefined reference to `SSL_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_shutdown':
(.text+0x3688): undefined reference to `SSL_get_shutdown'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_shutdown':
(.text+0x36bc): undefined reference to `ERR_get_error'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_shutdown':
(.text+0x36c8): undefined reference to `ERR_error_string'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_shutdown':
(.text+0x3724): undefined reference to `SSL_shutdown'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_session_free':
(.text+0x3764): undefined reference to `SSL_SESSION_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_close_all':
(.text+0x3780): undefined reference to `ENGINE_finish'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_close_all':
(.text+0x3788): undefined reference to `ENGINE_free'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_data_pending':
(.text+0x381c): undefined reference to `SSL_pending'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-ssluse.o): 
In function `Curl_ossl_version':
(.text+0x3844): undefined reference to `SSLeay'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-md5.o): 
In function `Curl_md5it':
(.text+0x14): undefined reference to `MD5_Init'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-md5.o): 
In function `Curl_md5it':
(.text+0x30): undefined reference to `MD5_Update'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-md5.o): 
In function `Curl_md5it':
(.text+0x3c): undefined reference to `MD5_Final'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-md5.o):(.rodata+0x0): 
undefined reference to `MD5_Init'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-md5.o):(.rodata+0x4): 
undefined reference to `MD5_Update'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-md5.o):(.rodata+0x8): 
undefined reference to `MD5_Final'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-md5.o):(.rodata+0x14): 
undefined reference to `MD5_Init'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-md5.o):(.rodata+0x18): 
undefined reference to `MD5_Update'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-md5.o):(.rodata+0x1c): 
undefined reference to `MD5_Final'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_msgs.o): 
In function `Curl_ntlm_create_type3_message':
(.text+0x2b8): undefined reference to `RAND_bytes'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_msgs.o): 
In function `Curl_ntlm_create_type3_message':
(.text+0x308): undefined reference to `MD5_Init'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_msgs.o): 
In function `Curl_ntlm_create_type3_message':
(.text+0x320): undefined reference to `MD5_Update'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_msgs.o): 
In function `Curl_ntlm_create_type3_message':
(.text+0x334): undefined reference to `MD5_Final'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `setup_des_key':
(.text+0x80): undefined reference to `DES_set_odd_parity'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `setup_des_key':
(.text+0x8c): undefined reference to `DES_set_key'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `Curl_ntlm_core_lm_resp':
(.text+0xc4): undefined reference to `DES_ecb_encrypt'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `Curl_ntlm_core_lm_resp':
(.text+0xe4): undefined reference to `DES_ecb_encrypt'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `Curl_ntlm_core_lm_resp':
(.text+0x104): undefined reference to `DES_ecb_encrypt'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `Curl_ntlm_core_mk_lm_hash':
(.text+0x17c): undefined reference to `DES_ecb_encrypt'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `Curl_ntlm_core_mk_lm_hash':
(.text+0x19c): undefined reference to `DES_ecb_encrypt'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `Curl_ntlm_core_mk_nt_hash':
(.text+0x234): undefined reference to `MD4_Init'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `Curl_ntlm_core_mk_nt_hash':
(.text+0x244): undefined reference to `MD4_Update'
/usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libcurl.a(libcurl_la-curl_ntlm_core.o): 
In function `Curl_ntlm_core_mk_nt_hash':
(.text+0x250): undefined reference to `MD4_Final'
collect2: ld returned 1 exit status
make[2]: *** [src/vzlogger] Fehler 1
make[1]: *** [src/CMakeFiles/vzlogger.dir/all] Fehler 2
make: *** [all] Fehler 2

Wurde nun ein binary erzeugt und wenn ja - wo?

Am 26.10.2013 19:34, schrieb Bernd Gewehr:
> Hallo,
>
> ich wollte mal den aktuellen vzlogger einsetzen und habe also das 
> bereits geclonte vz-vzlogger-git erneut gepullt und dann zu 
> compilieren versucht. Das Ergebnis ist im log angehängt. Kann mir 
> jemand sagen, was hier schief läuft? Ich erkenne es leider nicht.
>
> cd /usr/local/src/vzlogger/
> git pull
> cmake . -DSML_HOME=/usr/local/src/libsml/sml
> make
> make install
>
> Alle Pakete sind auf dem neuesten Stand und die empfohlenen Pakete aus 
> dem Wiki sind installiert.
>
> BTW:
> - Gibt es vom aktuellen vzlogger immer noch ein debian-Paket im 
> vz-repo oder muss ich immer selbst compilieren?
> - Ist nach dem merge der vzlogger aus dem vz-git funktional gleich mit 
> dem von Peter oder sollte man lieber dort danach suchen, wenn man 
> aggtime usw. nutzen möchte?
>
> Danke!



More information about the volkszaehler-users mailing list