santa12 4 Posted July 29, 2022 Share Posted July 29, 2022 Hi when i try add -static to my makefile in gcc10 on freebsd 12.3 i have this errors: /usr/local/bin/ld: /usr/lib/liblzma.a(check.o): in function `lzma_sha256_init': /usr/src/contrib/xz/src/liblzma/check/check.h:143: undefined reference to `_libm d_SHA256_Init' /usr/local/bin/ld: /usr/lib/liblzma.a(check.o): in function `lzma_sha256_update' : /usr/src/contrib/xz/src/liblzma/check/check.h:160: undefined reference to `_libm d_SHA256_Update' /usr/local/bin/ld: /usr/lib/liblzma.a(check.o): in function `lzma_sha256_finish' : /usr/src/contrib/xz/src/liblzma/check/check.h:167: undefined reference to `_libm d_SHA256_Final' collect2: error: ld returned 1 exit status gmake: *** [Makefile:196: ../game_r] Error 1 Any idea? My makefile: https://pastebin.com/Uwsq6Pyk Link to comment Share on other sites More sharing options...
SamuraiHUN 1548 Posted August 3, 2022 Share Posted August 3, 2022 first time before u build game, you need to rebuild the all cryptopp and other things. Link to comment Share on other sites More sharing options...
tudorel96 0 Posted August 13, 2023 Share Posted August 13, 2023 (edited) On 8/4/2022 at 1:51 AM, SamuraiHUN said: first time before u build game, you need to rebuild the all cryptopp and other things. And how can he do this? Edited August 13, 2023 by tudorel96 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now