Jump to content

duplicate symbol: MD5_* after gmake


Recommended Posts

cd /src/game/src && gmake dep && gmake clean && gmake -j2 -error-limit=0 default

give me

linking ../game....
ld: error: duplicate symbol: MD5_Round
>>> defined at MD5.c
>>>            MD5.o:(MD5_Round) in archive ../../libhackshield/lib/libanticpxsvr.a
>>> defined at MD5.c
>>>            MD5.o:(.text+0x0) in archive ../../libhackshield/lib/libanticpxsvr.a

ld: error: duplicate symbol: E_MD5_Init
>>> defined at MD5.c
>>>            MD5.o:(E_MD5_Init) in archive ../../libhackshield/lib/libanticpxsvr.a
>>> defined at MD5.c
>>>            MD5.o:(.text+0x6D0) in archive ../../libhackshield/lib/libanticpxsvr.a

ld: error: duplicate symbol: E_MD5_Update
>>> defined at MD5.c
>>>            MD5.o:(E_MD5_Update) in archive ../../libhackshield/lib/libanticpxsvr.a
>>> defined at MD5.c
>>>            MD5.o:(.text+0x710) in archive ../../libhackshield/lib/libanticpxsvr.a

ld: error: duplicate symbol: E_MD5_Final
>>> defined at MD5.c
>>>            MD5.o:(E_MD5_Final) in archive ../../libhackshield/lib/libanticpxsvr.a
>>> defined at MD5.c
>>>            MD5.o:(.text+0x810) in archive ../../libhackshield/lib/libanticpxsvr.a

ld: error: duplicate symbol: E_MD5
>>> defined at MD5.c
>>>            MD5.o:(E_MD5) in archive ../../libhackshield/lib/libanticpxsvr.a
>>> defined at MD5.c
>>>            MD5.o:(.text+0x910) in archive ../../libhackshield/lib/libanticpxsvr.a
clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:129: ../game] Error 1

 

I no have no ideea how to solve this, or step for remove hackshield or exact solution for duplicate symbol: MD5_* , or realy right direction.

Im on x86 bsd 13 machine, [40250] Reference Serverfile + Client + Src [15 Available Languages]

Thanks for any idea

Link to comment
Share on other sites

  • Contributor

Hi,

Thank you for the prepared FreeBSD13 vm what you provided for me in DM.

After I removed hackshield the game compiled just fine: 

This is the hidden content, please

You can owerwrite it because I did not change other things just commented out hackshield lines, but you can use notepad++ compare plugin or similar.
I couldn't solve it without removing the hackshield, but since we are not using that, it is okey to remove.

  • Metin2 Dev 12
  • Confused 1
  • Good 1
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.