Jump to content

Recommended Posts

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
https://metin2.dev/topic/29381-gcc10-static-problem/
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.