#129 OpenSP 1.5.2 fails to compile with gcc 4.3

1.5.2
open-fixed
nobody
OpenSP (63)
5
2007-11-07
2007-09-17
No

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.

Discussion

  • Bernhard Rosenkraenzer

    Logged In: YES
    user_id=15538
    Originator: YES

    Ok, just found the definitions -- the culprit is the -fvisibility-inlines-hidden compiler flag

     
  • Bernhard Rosenkraenzer

    • status: open --> open-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks