Changes between Initial Version and Version 1 of Ticket #18894


Ignore:
Timestamp:
Mar 18, 2009, 8:54:37 PM (15 years ago)
Author:
MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Comment:

Change description to use WikiFormatting.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18894 – Description

    initial v1  
    11The following error occurs when trying to link openvrml to libboost:
    22
     3{{{
    34g++ -D_THREAD_SAFE -g -O2 -o .libs/browser browser.o -Wl,-bind_at_load  -L/opt/local/lib ./.libs/libtest-openvrml.a /Users/frank/FirefoxDownloads/openvrml-0.17.12/src/libopenvrml/.libs/libopenvrml.dylib -L/opt/local/lib/firefox-2.0.0.20 /opt/local/lib/libjpeg.dylib /opt/local/lib/libpng12.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libiconv.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libfreetype.dylib -lz -lmozjs -lplds4 -lplc4 -lnspr4 -lboost_thread-mt -lboost_unit_test_framework-mt -lboost_filesystem-mt
    45/usr/bin/ld: Undefined symbols:
     
    1011make[1]: *** [check-am] Error 2
    1112make[1]: Leaving directory `/Users/frank/FirefoxDownloads/openvrml-0.17.12/tests'
     13}}}
    1214
    1315The undefined symbol references get_system_category() and get_generic_category() are in libboost_filesystem-mt and the symbols are defined in libboost_system-mt and not in some unrelated library; yet, libboost_filesystem-mt cannot find libboost_system-mt to resolve the undefines, a library libboost_filesystem-mt is dependent on even though the libboost_system-mt is part of the same set without a supplied reference, ie: