Jump to content
×
×
  • Create New...
  • 0

compile source server error title system


Iηfιηιт²⁴ᵏ

Question

  • 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
[email protected]:/usr/sursa/game/src #
 

 

How solve?

Link to comment
Share on other sites

  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


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.