vzlogger
vzlogger copied to clipboard
VZLogger won't compile on Ubuntu 22.04.1 LTS
I have tried to compile vzlogger from the current github source on Ubuntu 22.04.1 LTS on a Raspberry Pi. The build fails with errors due to the code using deprecated OpenSSL calls, i.e.:
/usr/src/vzlogger/src/api/MySmartGrid.cpp:559:45: error: ‘HMAC_CTX* HMAC_CTX_new()’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 559 | HMAC_CTX *hmacContext = HMAC_CTX_new(); |
Just got the same error. Did you found a solution yet?
no. Solution for me was to go back to Ubuntu 20.04 LTS
@tkuehne71 doing a git fetch to PR #530, then you can compile and install on Ubuntu 22.04. Hopefully this will be merged soon.
Right now you need #530 , #541 , #528 for vzlogger to compile and for the tests to pass. Or you can use my branch with all my fixes: https://github.com/maxberger/vzlogger/tree/all