Trying to compile OpenSP 1.5.2 with gcc 4.3 results in
XmlOutputEventHandler.o: In function `OpenSP::XmlOutputEventHandler::fsiToUrl(OpenSP::String<unsigned int> const&, OpenSP::Location const&, OpenSP::String<unsigned int>&)':
XmlOutputEventHandler.cxx:(.text+0x15bf): undefined reference to `OpenSP::InputSource::get(OpenSP::Messenger&)'
XmlOutputEventHandler.o: In function `OpenSP::XmlOutputEventHandler::outputAttribute(OpenSP::AttributeList const&, unsigned int)':
XmlOutputEventHandler.cxx:(.text+0x23f9): undefined reference to `OpenSP::AttributeDefinition::getOrigTokens() const'
collect2: ld returned 1 exit status
While it is a beta compiler, its error messages are correct:
AttributeDefiniton::getOrigTokens() and InputSource::get() are defined in the headers, but not implemented anywhere.
Logged In: YES
user_id=15538
Originator: YES
Ok, just found the definitions -- the culprit is the -fvisibility-inlines-hidden compiler flag