Changes between Initial Version and Version 1 of Ticket #18894
- Timestamp:
- Mar 18, 2009, 8:54:37 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18894 – Description
initial v1 1 1 The following error occurs when trying to link openvrml to libboost: 2 2 3 {{{ 3 4 g++ -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 4 5 /usr/bin/ld: Undefined symbols: … … 10 11 make[1]: *** [check-am] Error 2 11 12 make[1]: Leaving directory `/Users/frank/FirefoxDownloads/openvrml-0.17.12/tests' 13 }}} 12 14 13 15 The 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: