Jump to content

Error while linking game


Go to solution Solved by ѕeмa™,

Recommended Posts

Hi , yesterday i compiled my game successfully, but today i did reboot my machine and when i try compile the game, all work fine but when say:

linking ../game_r40250_x32....

start give me errors.

 

2e5a58cc90990829c64a40ab97c4a53f.png

someone know what happend? or how can i fix it?
I think dont read the externals variables but i dont know how to fix it.

I did gmake-clean and compile all again, but the same error.

 

Thanks.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
https://metin2.dev/topic/6104-error-while-linking-game/
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Did you change the Makefile?

Tell us please every information you can share. What changes did you commit at all?

 

Undefined references appear when you define a variable/function but without it's proper initialization. For example:

g_bShutdown

marriage.cpp refers to this. The compiler does not err because he knows what type the variable is. But the linker indeed does because there's no real link (the target initialization is missing). I guess it's normally in config.h if I'm not missed.

Hope this helps you to find the error source ;)

Link to comment
https://metin2.dev/topic/6104-error-while-linking-game/#findComment-38916
Share on other sites

No, i dont change the makefile :/

 

but i go to try put other makefile in backup thanks.

 

*EDIT: with my old makefile same error :/

 

and the edits was in exchange.cpp but i put the old file and i have the errors too.

Link to comment
https://metin2.dev/topic/6104-error-while-linking-game/#findComment-38917
Share on other sites

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.