[vz-dev] Fehler beim kompilieren von vzlogger

Udo1 udo1 at gmx.net
Wed Dec 31 12:10:09 CET 2014


Hallo,

dachte, bring mal wieder das Image auf den neuesten Stand, da ja einige 
Änderungen in vzlogger eingeflossen sind, aber irgendwas scheint wohl 
nicht mehr zu funktionieren:

Linking CXX executable vzlogger
cd /home/pi/vzlogger/src && /usr/bin/cmake -E cmake_link_script 
CMakeFiles/vzlogger.dir/link.txt --verbose=1
/usr/bin/c++    -W -Wall -Wextra -Werror -Wnon-virtual-dtor 
-Wno-system-headers -Winit-self -Wmissing-include-dirs -Wno-pragmas 
-Wredundant-decls -Wno-unused-parameter -std=c++0x -fpermissive 
-Wno-ignored-qualifiers    CMakeFiles/vzlogger.dir/vzlogger.cpp.o 
CMakeFiles/vzlogger.dir/ltqnorm.cpp.o 
CMakeFiles/vzlogger.dir/Meter.cpp.o 
CMakeFiles/vzlogger.dir/__/gitSha1.cpp.o  -o vzlogger -rdynamic 
protocols/libproto.a libvz.a api/libvz-api.a -Wl,-Bstatic -ljson 
-Wl,-Bdynamic -lrt -Wl,-Bstatic -lsml -Wl,-Bdynamic -lrt -Wl,-Bstatic 
-lmicrohttpd -Wl,-Bdynamic -lrt -lgcrypt -lpthread -lm -luuid -ldl 
-Wl,-Bstatic -lcurl -lidn -lssh2 -llber -lldap -lrt -Wl,-Bdynamic 
-lgssapi_krb5 -lkrb5 -lk5crypto -Wl,-Bstatic -lcom_err -lz -lgnutls 
-lgcrypt -lrtmp -lgnutls -lgcrypt -lgpg-error -ltasn1 -lz -Wl,-Bdynamic 
-lp11-kit -lsasl2 -Wl,-Bstatic -lgcrypt -lsml -lmicrohttpd -Wl,-Bdynamic 
-lgcrypt -lpthread -lm -luuid -ldl -Wl,-Bstatic -lcurl -lidn -lssh2 
-llber -lldap -lrt -Wl,-Bdynamic -lgssapi_krb5 -lkrb5 -lk5crypto 
-Wl,-Bstatic -lcom_err -lz -lgnutls -lgcrypt -lrtmp -lgpg-error -ltasn1 
-Wl,-Bdynamic -lp11-kit -lsasl2 -Wl,-Bstatic -lz -lgnutls -lgcrypt 
-lrtmp -lgpg-error -ltasn1 -Wl,-Bdynamic -lp11-kit -lsasl2
api/libvz-api.a(MySmartGrid.cpp.o): In function 
`vz::api::MySmartGrid::hmac_sha1(char*, unsigned char const*, unsigned 
int)':
/home/pi/vzlogger/src/api/MySmartGrid.cpp:576: undefined reference to 
`EVP_sha1'
/home/pi/vzlogger/src/api/MySmartGrid.cpp:576: undefined reference to 
`HMAC_Init'
/home/pi/vzlogger/src/api/MySmartGrid.cpp:577: undefined reference to 
`HMAC_Update'
/home/pi/vzlogger/src/api/MySmartGrid.cpp:581: undefined reference to 
`HMAC_Final'
collect2: ld returned 1 exit status
src/CMakeFiles/vzlogger.dir/build.make:211: recipe for target 
'src/vzlogger' failed
make[2]: *** [src/vzlogger] Error 1
make[2]: Leaving directory '/home/pi/vzlogger'
CMakeFiles/Makefile2:990: recipe for target 
'src/CMakeFiles/vzlogger.dir/all' failed
make[1]: *** [src/CMakeFiles/vzlogger.dir/all] Error 2
make[1]: Leaving directory '/home/pi/vzlogger'
Makefile:146: recipe for target 'all' failed
make: *** [all] Error 2

Gruß
Udo


More information about the volkszaehler-dev mailing list