Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#121 unresolved symbols in libstage.so.0.0.0

closed
stage (111)
5
2007-07-16
2005-04-22
Anonymous
No

When trying to build stage with LDFLAGS="-Wl,-z,now"
running "player simple.cfg" gives this and dies:

[...]
trying to load /usr/lib/libstage...failed
(/usr/lib/libstage.so.0: undefined symbol:
_ZN9StgDriver21RefreshDataSimulationEP15device_record_t)
[...]

WIth lazy binding turned ON (empty LDFLAGS) the
simulator starts and runs.

nm libstage.so.0.0.0 | grep _Z[...]device_record_t
U _Z[...]device_record_t // --undefined :(

The running OS is gentoo on amd64.

Discussion

  • Logged In: NO

    # grep -nR RefreshDataSimulation *
    src/stg_driver.cc:236: private: void RefreshDataSimulation(
    device_record_t* device );
    src/stg_driver.cc:1414: this->RefreshDataSimulation( device );

    the function is declared (236) but not defined (hopefully never gets called
    at (1414) ) :)

     
  • Logged In: YES
    user_id=139639

    OK, thanks for the report. Is there something I should do to the Stage tree
    that can avoid this problem? I'm not a libtool expert, so I'm open to
    suggestions on how to make the Player plugin code as robust as possible.

     
  • Toby Collett
    Toby Collett
    2007-07-16

    • status: open --> closed
     
  • Toby Collett
    Toby Collett
    2007-07-16

    Logged In: YES
    user_id=974361
    Originator: NO

    closing as unresolved symbol is no longer in source tree.