1
Technical Help: Problems BEFORE entering the game /
« on: May 30, 2003, 01:50:20 am »
Trying to build PlaneShift on a Debian distro. I ran into some oddities:
First, it seems the description on the page does not quite work when it comes to the CVS. I haven\'t toyed around with CVS a lot, but tried going through the build.sh script manually. Doing that, checking out of the CVS worked flawlessly.
Also, \'bison -V\' reports version 1.875a, but building CS still failed. I fetched skinpars.cpp?rev=1.5 (according to the page) and it passed. Still failed building CS tho, was missing skinlex.cpp as well. After downloading skinlex.cpp?rev=1.5 from the same place as skinpars.cpp, CS was built with some warnings (mostly deprecation-warnings I think, didn\'t see all of them).
Cel was built without problems, when following build.sh. Googled to find what package autoheader is in (autoconf), and tried to build PlaneShift. Got tons of deprecation-warnings and warnings about renamed header files. Also, close to the end of the build, jam failed to build a bunch of different object files, error messages below. Not sure how to fix this, any help is appreciated.
I tried editing down what I thought was unnecessary info, I\'ll throw up the entire thing if needed. Sorry about the spam.
Chamooze
psdatabase.o
src/server/psdatabase.cpp: In member function `virtual int
psDatabase::InsertQuestEvent(char*, int)\':
src/server/psdatabase.cpp:2374: error: ambiguous overload for `xmlString& + int&\' operator
src/server/psdatabase.cpp:2374: error: candidates are: operator+(const char*, int)
/home/tommy/prg/molblue/CS/include/csutil/csstring.h:484: error:
const csString& csString::operator+(const csString&) const
/home/tommy/prg/molblue/CS/include/csutil/csstring.h:519: error:
csString operator+(const char*, const csString&)
/home/tommy/prg/molblue/CS/include/csutil/csstring.h:525: error:
csString operator+(const csString&, const char*)
psaws.o
: undefined reference to
`psComponentTextBoxFactory::psComponentTextBoxFactory[in-charge](iAws*)\'
`psComponentCommandInputFactory::psComponentCommandInputFactory[in-charge](iAws*)\'
`psComponentImageFactory::psComponentImageFactory[in-charge](iAws*)\'
`psComponentProgressFactory::psComponentProgressFactory[in-charge](iAws*)\'
`psComponentLabelFactory::psComponentLabelFactory[in-charge](iAws*)\'
`psComponentItemSlotFactory::psComponentItemSlotFactory[in-charge](iAws*)\'
`psComponentTextBox::ScrollChanged(void*, iAwsSource*)\'
pscommwindow.o
: undefined reference to
`psComponentTextBox::AddLine(char const*, int)\'
psinventorywindow.o
: undefined reference to`psComponentTextBox::SetText(char const*, int)\'
psitemdescriptionwindow.o
: undefined reference to `psComponentTextBox::SetText(char const*, int)\'
psobjectview.o
: undefined reference to `psGUIComponent::psGUIComponent[not-in-charge]()\'
`psGUIComponent::~psGUIComponent [not-in-charge]()\'
./out/linuxx86/psobjectview.o(.text+0x44f): more undefined references to `psGUIComponent::~psGUIComponent [not-in-charge]()\' follow
Then there\'s a whole bunch of undefined references to different class methods of psGUIComponent in psobjectview.o.
First, it seems the description on the page does not quite work when it comes to the CVS. I haven\'t toyed around with CVS a lot, but tried going through the build.sh script manually. Doing that, checking out of the CVS worked flawlessly.
Also, \'bison -V\' reports version 1.875a, but building CS still failed. I fetched skinpars.cpp?rev=1.5 (according to the page) and it passed. Still failed building CS tho, was missing skinlex.cpp as well. After downloading skinlex.cpp?rev=1.5 from the same place as skinpars.cpp, CS was built with some warnings (mostly deprecation-warnings I think, didn\'t see all of them).
Cel was built without problems, when following build.sh. Googled to find what package autoheader is in (autoconf), and tried to build PlaneShift. Got tons of deprecation-warnings and warnings about renamed header files. Also, close to the end of the build, jam failed to build a bunch of different object files, error messages below. Not sure how to fix this, any help is appreciated.
I tried editing down what I thought was unnecessary info, I\'ll throw up the entire thing if needed. Sorry about the spam.
Chamooze
psdatabase.o
src/server/psdatabase.cpp: In member function `virtual int
psDatabase::InsertQuestEvent(char*, int)\':
src/server/psdatabase.cpp:2374: error: ambiguous overload for `xmlString& + int&\' operator
src/server/psdatabase.cpp:2374: error: candidates are: operator+(const char*, int)
/home/tommy/prg/molblue/CS/include/csutil/csstring.h:484: error:
const csString& csString::operator+(const csString&) const
/home/tommy/prg/molblue/CS/include/csutil/csstring.h:519: error:
csString operator+(const char*, const csString&)
/home/tommy/prg/molblue/CS/include/csutil/csstring.h:525: error:
csString operator+(const csString&, const char*)
psaws.o
: undefined reference to
`psComponentTextBoxFactory::psComponentTextBoxFactory[in-charge](iAws*)\'
`psComponentCommandInputFactory::psComponentCommandInputFactory[in-charge](iAws*)\'
`psComponentImageFactory::psComponentImageFactory[in-charge](iAws*)\'
`psComponentProgressFactory::psComponentProgressFactory[in-charge](iAws*)\'
`psComponentLabelFactory::psComponentLabelFactory[in-charge](iAws*)\'
`psComponentItemSlotFactory::psComponentItemSlotFactory[in-charge](iAws*)\'
`psComponentTextBox::ScrollChanged(void*, iAwsSource*)\'
pscommwindow.o
: undefined reference to
`psComponentTextBox::AddLine(char const*, int)\'
psinventorywindow.o
: undefined reference to`psComponentTextBox::SetText(char const*, int)\'
psitemdescriptionwindow.o
: undefined reference to `psComponentTextBox::SetText(char const*, int)\'
psobjectview.o
: undefined reference to `psGUIComponent::psGUIComponent[not-in-charge]()\'
`psGUIComponent::~psGUIComponent [not-in-charge]()\'
./out/linuxx86/psobjectview.o(.text+0x44f): more undefined references to `psGUIComponent::~psGUIComponent [not-in-charge]()\' follow
Then there\'s a whole bunch of undefined references to different class methods of psGUIComponent in psobjectview.o.