mapnik-org/mapnik — Issue #710: compile error in svg tests due to missing flags
Author: artemp
Created: 2011-10-11 08:08:53+00:00
State: open
Labels: Core_Library

{{{

ccache g++-4.5 -o tests/cpp_tests/svg_renderer_tests/path_element_test.o -c -DHAVE_JPEG -ansi -Wall -pthread -ftemplate-depth-200 -DLINUX -DBOOST_SPIRIT_THREADSAFE -DMAPNIK_THREADSAFE -O2 -finline-functions -Wno-inline -DNDEBUG -Iagg/include -I. -Iinclude -I/usr/local/include -I/usr/include -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/postgresql tests/cpp_tests/svg_renderer_tests/path_element_test.cpp
ccache g++-4.5 -o tests/cpp_tests/svg_renderer_tests/path_element_test tests/cpp_tests/svg_renderer_tests/path_element_test.o -Lagg -Lsrc -L/usr/local/lib -L/usr/lib -lboost_filesystem -lmapnik2 -lboost_system
/usr/bin/ld: tests/cpp_tests/svg_renderer_tests/path_element_test.o: undefined reference to symbol 'icu_4_2::operator+(icu_4_2::UnicodeString const&, icu_4_2::UnicodeString const&)'
/usr/bin/ld: note: 'icu_4_2::operator+(icu_4_2::UnicodeString const&, icu_4_2::UnicodeString const&)' is defined in DSO //usr/lib64/libicuuc.so.42 so try adding it to the linker command line
//usr/lib64/libicuuc.so.42: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
scons: *** [tests/cpp_tests/svg_renderer_tests/path_element_test] Error 1
scons: building terminated because of errors.
}}}