[cairo] Unable to compile cairomm 1.7.0 (OS X fink)

Asko Kauppi askok at dnainternet.net
Tue Oct 28 12:45:06 PDT 2008


Another issue on Cairo 1.7.0 and OS X 10.5.5 PowerPC & fink libraries.

I think '-llboost_unit_test_framework' should have been there in the g+ 
+ line.

Even with that added, 'main' is not found.

Are the unit tests expected to be functional in 1.7.0?

-asko


$./configure --enable-tests=yes --with-boost=/sw/
	...
$make
	...
g++ -g -O2 -o .libs/test-context test-context.o -Wl,-framework - 
Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,- 
bind_at_load  ../cairomm/.libs/libcairomm-1.0.dylib -L/sw/lib -L/sw/ 
lib/freetype219/lib -L/usr/X11/lib -L/sw/lib/fontconfig2/lib /sw/lib/ 
libsigc-2.0.dylib /usr/X11/lib/libfontconfig.dylib /usr/X11/lib/ 
libfreetype.dylib /usr/lib/libexpat.dylib /sw/lib/libcairo.dylib /sw/ 
lib/libpixman-1.dylib /sw/lib/fontconfig2/lib/libfontconfig.dylib /usr/ 
lib/libiconv.dylib /sw/lib/freetype219/lib/libfreetype.dylib /sw/lib/ 
libexpat.dylib /sw/lib/libglitz.dylib -lm /sw/lib/libpng12.dylib /usr/ 
X11/lib/libXrender.1.3.0.dylib /usr/X11/lib/libX11.6.2.0.dylib /usr/ 
X11/lib/libXau.6.0.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib -lz
Undefined symbols:
   "boost::unit_test::test_suite::add(boost::unit_test::test_unit*,  
unsigned long, unsigned int)", referenced from:
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
       init_unit_test_suite(int, char**)in test-context.o
    
"boost 
::test_tools 
::tt_detail::check_impl(boost::test_tools::predicate_result const&,  
boost::basic_wrap_stringstream<char>&,  
boost::unit_test::basic_cstring<char const>, unsigned long,  
boost::test_tools::tt_detail::tool_level,  
boost::test_tools::tt_detail::check_type, unsigned long, ...)",  
referenced from:
       test_font_options()     in test-context.o
       test_target()     in test-context.o
       test_target()     in test-context.o
       test_target()     in test-context.o
       test_target()     in test-context.o
       test_clip()    in test-context.o
       test_clip()    in test-context.o
       test_clip()    in test-context.o
       test_clip()    in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_dashes()     in test-context.o
       test_current_point()     in test-context.o
       test_current_point()     in test-context.o
       test_scaled_font()     in test-context.o
       test_scaled_font()     in test-context.o
       test_scaled_font()     in test-context.o
       void  
boost 
::test_tools 
::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd,  
Cairo::Operator,  
Cairo::Operator>(boost::test_tools::tt_detail::equal_impl_frwd,  
boost::basic_wrap_stringstream<char>&,  
boost::unit_test::basic_cstring<char const>, unsigned long,  
boost::test_tools::tt_detail::tool_level,  
boost::test_tools::tt_detail::check_type, Cairo::Operator const&, char  
const*, Cairo::Operator const&, char const*)in test-context.o
       void  
boost 
::test_tools 
::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd,  
Cairo::Antialias,  
Cairo::Antialias>(boost::test_tools::tt_detail::equal_impl_frwd,  
boost::basic_wrap_stringstream<char>&,  
boost::unit_test::basic_cstring<char const>, unsigned long,  
boost::test_tools::tt_detail::tool_level,  
boost::test_tools::tt_detail::check_type, Cairo::Antialias const&,  
char const*, Cairo::Antialias const&, char const*)in test-context.o
       void  
boost 
::test_tools 
::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd,  
Cairo::FillRule,  
Cairo::FillRule>(boost::test_tools::tt_detail::equal_impl_frwd,  
boost::basic_wrap_stringstream<char>&,  
boost::unit_test::basic_cstring<char const>, unsigned long,  
boost::test_tools::tt_detail::tool_level,  
boost::test_tools::tt_detail::check_type, Cairo::FillRule const&, char  
const*, Cairo::FillRule const&, char const*)in test-context.o
       void  
boost 
::test_tools 
::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd,  
Cairo::LineCap,  
Cairo::LineCap>(boost::test_tools::tt_detail::equal_impl_frwd,  
boost::basic_wrap_stringstream<char>&,  
boost::unit_test::basic_cstring<char const>, unsigned long,  
boost::test_tools::tt_detail::tool_level,  
boost::test_tools::tt_detail::check_type, Cairo::LineCap const&, char  
const*, Cairo::LineCap const&, char const*)in test-context.o
       void  
boost 
::test_tools 
::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd,  
Cairo::LineJoin,  
Cairo::LineJoin>(boost::test_tools::tt_detail::equal_impl_frwd,  
boost::basic_wrap_stringstream<char>&,  
boost::unit_test::basic_cstring<char const>, unsigned long,  
boost::test_tools::tt_detail::tool_level,  
boost::test_tools::tt_detail::check_type, Cairo::LineJoin const&, char  
const*, Cairo::LineJoin const&, char const*)in test-context.o
       void  
boost 
::test_tools 
::tt_detail::check_frwd<boost::test_tools::check_is_close_t, double,  
double, boost::test_tools::percent_tolerance_t<float>  
 >(boost::test_tools::check_is_close_t,  
boost::basic_wrap_stringstream<char>&,  
boost::unit_test::basic_cstring<char const>, unsigned long,  
boost::test_tools::tt_detail::tool_level,  
boost::test_tools::tt_detail::check_type, double const&, char const*,  
double const&, char const*,  
boost::test_tools::percent_tolerance_t<float> const&, char const*)in  
test-context.o
       void  
boost 
::test_tools 
::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd,  
double, double>(boost::test_tools::tt_detail::equal_impl_frwd,  
boost::basic_wrap_stringstream<char>&,  
boost::unit_test::basic_cstring<char const>, unsigned long,  
boost::test_tools::tt_detail::tool_level,  
boost::test_tools::tt_detail::check_type, double const&, char const*,  
double const&, char const*)in test-context.o
   "vtable for boost::unit_test::unit_test_log_t", referenced from:
       __ZTVN5boost9unit_test15unit_test_log_tE$non_lazy_ptr in test- 
context.o
    
"boost 
::unit_test 
::ut_detail 
::normalize_test_case_name(boost::unit_test::basic_cstring<char  
const>)", referenced from:
        
boost 
::unit_test 
::make_test_case 
(boost::unit_test::callback0<boost::unit_test::ut_detail::unused>  
const&, boost::unit_test::basic_cstring<char const>)in test-context.o
    
"boost 
::unit_test::test_case::test_case(boost::unit_test::basic_cstring<char  
const>,  
boost::unit_test::callback0<boost::unit_test::ut_detail::unused>  
const&)", referenced from:
        
boost 
::unit_test 
::make_test_case 
(boost::unit_test::callback0<boost::unit_test::ut_detail::unused>  
const&, boost::unit_test::basic_cstring<char const>)in test-context.o
    
"boost 
::unit_test 
::unit_test_log_t::set_checkpoint(boost::unit_test::basic_cstring<char  
const>, unsigned long, boost::unit_test::basic_cstring<char const>)",  
referenced from:
       test_font_options()     in test-context.o
       test_target()     in test-context.o
       test_target()     in test-context.o
       test_target()     in test-context.o
       test_target()     in test-context.o
       test_clip()    in test-context.o
       test_clip()    in test-context.o
       test_clip()    in test-context.o
       test_clip()    in test-context.o
       test_operator()     in test-context.o
       test_operator()     in test-context.o
       test_antialias()     in test-context.o
       test_antialias()     in test-context.o
       test_fill_rule()     in test-context.o
       test_fill_rule()     in test-context.o
       test_line_cap()     in test-context.o
       test_line_cap()     in test-context.o
       test_line_join()     in test-context.o
       test_line_join()     in test-context.o
       test_miter_limit()     in test-context.o
       test_miter_limit()     in test-context.o
       test_line_width()     in test-context.o
       test_line_width()     in test-context.o
       test_tolerance()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_source()     in test-context.o
       test_save_restore()     in test-context.o
       test_save_restore()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_dashes()     in test-context.o
       test_user_device()     in test-context.o
       test_user_device()     in test-context.o
       test_user_device()     in test-context.o
       test_user_device()     in test-context.o
       test_user_device()     in test-context.o
       test_user_device()     in test-context.o
       test_current_point()     in test-context.o
       test_current_point()     in test-context.o
       test_scaled_font()     in test-context.o
       test_scaled_font()     in test-context.o
       test_scaled_font()     in test-context.o
   "_main", referenced from:
       start in crt1.10.5.o
    
"boost 
::unit_test 
::test_suite::test_suite(boost::unit_test::basic_cstring<char  
const>)", referenced from:
       init_unit_test_suite(int, char**)in test-context.o
ld: symbol(s) not found
collect2: ld returned 1 exit status





More information about the cairo mailing list