Jump to content

Recommended Posts

  • Premium

compiling minilzo.c
In file included from title.cpp:14:
title.h:23:7: warning: no newline at end of file
title.cpp:598:2: warning: no newline at end of file
compiling main.cpp
In file included from main.cpp:67:
title.h:23:7: warning: no newline at end of file
title.cpp: In member function 'void TitleManager::BuyPotion(CHARACTER*, const char*)':
title.cpp:216: warning: comparison between signed and unsigned integer expressions
title.cpp:247: warning: comparison between signed and unsigned integer expressions
title.cpp:278: warning: comparison between signed and unsigned integer expressions
title.cpp: In member function 'bool TitleManager::SetTitle(CHARACTER*, const char*)':
title.cpp:598: warning: control reaches end of non-void function
title.cpp: In member function 'bool TitleManager::UpdateTitle(CHARACTER*, int, int)':
title.cpp:426: warning: control reaches end of non-void function
title.cpp: In member function 'bool TitleManager::TransformTitle(CHARACTER*)':
title.cpp:195: warning: control reaches end of non-void function
linking ../game_r41059
.obj/input_db.o: In function `CInputDB::PlayerLoad(DESC*, char const*)':
/usr/sursa/game/src/input_db.cpp:431: undefined reference to `CHARACTER::GetTitle() const'
.obj/title.o: In function `GetTitleActual':
/usr/sursa/game/src/title.cpp:399: undefined reference to `CHARACTER::GetRealTitle() const'
.obj/title.o: In function `GetTitlePremium':
/usr/sursa/game/src/title.cpp:380: undefined reference to `CHARACTER::GetRealTitle() const'
.obj/title.o: In function `TitleManager::UpdateTitle(CHARACTER*, int, int)':
/usr/sursa/game/src/title.cpp:419: undefined reference to `CHARACTER::GetTitle() const'
/usr/sursa/game/src/title.cpp:419: undefined reference to `CHARACTER::UpdateTitle(int)'
/usr/sursa/game/src/title.cpp:424: undefined reference to `CHARACTER::GetTitle() const'
/usr/sursa/game/src/title.cpp:424: undefined reference to `CHARACTER::UpdateTitle(int)'
.obj/title.o: In function `TitleManager::TransformTitle(CHARACTER*)':
/usr/sursa/game/src/title.cpp:156: undefined reference to `CHARACTER::GetRealTitle() const'
/usr/sursa/game/src/title.cpp:164: undefined reference to `CHARACTER::GetRealTitle() const'
/usr/sursa/game/src/title.cpp:164: undefined reference to `CHARACTER::UpdateTitle(int)'
/usr/sursa/game/src/title.cpp:188: undefined reference to `CHARACTER::GetRealTitle() const'
/usr/sursa/game/src/title.cpp:188: undefined reference to `CHARACTER::UpdateTitle(int)'
/usr/sursa/game/src/title.cpp:176: undefined reference to `CHARACTER::GetRealTitle() const'
/usr/sursa/game/src/title.cpp:176: undefined reference to `CHARACTER::UpdateTitle(int)'
.obj/title.o: In function `TitleManager::SetTitle(CHARACTER*, char const*)':
/usr/sursa/game/src/title.cpp:498: undefined reference to `CHARACTER::GetTitle() const'
/usr/sursa/game/src/title.cpp:498: undefined reference to `CHARACTER::UpdateTitle(int)'
gmake: *** [../game_r41059] Error 1
root@:/usr/sursa/game/src #
 

 

How solve?

Link to comment
https://metin2.dev/topic/17374-compile-source-server-error-title-system/
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Developer

You have not pasted the definitions of the methods referred to in the error...

for your knowledge the definitions are found (almost always, except for the implicit inline functions) in the ". cpp" (source file) files of the class of belonging. 

My youtube channel  on which you can see my works here

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.