vzlogger icon indicating copy to clipboard operation
vzlogger copied to clipboard

VZLogger won't compile on Ubuntu 22.04.1 LTS

Open tkuehne71 opened this issue 1 year ago • 4 comments

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(); |

tkuehne71 avatar Aug 15 '22 04:08 tkuehne71

Just got the same error. Did you found a solution yet?

BoxedBrain avatar Aug 20 '22 16:08 BoxedBrain

no. Solution for me was to go back to Ubuntu 20.04 LTS

tkuehne71 avatar Aug 20 '22 16:08 tkuehne71

@tkuehne71 doing a git fetch to PR #530, then you can compile and install on Ubuntu 22.04. Hopefully this will be merged soon.

BoxedBrain avatar Aug 21 '22 11:08 BoxedBrain

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

maxberger avatar Sep 25 '22 19:09 maxberger