#53 gpsdrive-2.11 fails to compile with mapnik-0.7.1

gpsdrive-2.11
closed-duplicate
nobody
Mapnik (7)
5
2012-05-19
2010-10-18
Juergen Rose
No

Compiling gpsdrive fails with:
...
/usr/bin/x86_64-pc-linux-gnu-g++ -march=nocona -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed CMakeFiles/gpsdrive.dir/battery.o CMakeFiles/gpsdrive.dir/database.o CMakeFiles/gpsdrive.dir/database_sqlite.o CMakeFiles/gpsdrive.dir/draw_grid.o CMakeFiles/gpsdrive.dir/friends.o CMakeFiles/gpsdrive.dir/geometry.o CMakeFiles/gpsdrive.dir/gpsdrive.o CMakeFiles/gpsdrive.dir/gpsdrive_config.o CMakeFiles/gpsdrive.dir/gps_handler.o CMakeFiles/gpsdrive.dir/gpsmisc.o CMakeFiles/gpsdrive.dir/gpsnasamap.o CMakeFiles/gpsdrive.dir/gui.o CMakeFiles/gpsdrive.dir/gpx.o CMakeFiles/gpsdrive.dir/icons.o CMakeFiles/gpsdrive.dir/import_map.o CMakeFiles/gpsdrive.dir/LatLong-UTMconversion.o CMakeFiles/gpsdrive.dir/main_gui.o CMakeFiles/gpsdrive.dir/map_download.o CMakeFiles/gpsdrive.dir/map_handler.o CMakeFiles/gpsdrive.dir/map_projection.o CMakeFiles/gpsdrive.dir/os_specific.o CMakeFiles/gpsdrive.dir/poi.o CMakeFiles/gpsdrive.dir/poi_gui.o CMakeFiles/gpsdrive.dir/routes.o CMakeFiles/gpsdrive.dir/screenshot.o CMakeFiles/gpsdrive.dir/settings.o CMakeFiles/gpsdrive.dir/settings_gui.o CMakeFiles/gpsdrive.dir/speech.o CMakeFiles/gpsdrive.dir/splash.o CMakeFiles/gpsdrive.dir/track.o CMakeFiles/gpsdrive.dir/unit_test.o CMakeFiles/gpsdrive.dir/waypoint.o CMakeFiles/gpsdrive.dir/database_postgis.o CMakeFiles/gpsdrive.dir/mapnik.o -o gpsdrive -rdynamic -lcrypt -lgtk-x11-2.0 -lgdk-x11-2.0 -lglib-2.0 -lxml2 -lsqlite3 -lcurl -lgps -lgdal -lpq -lboost_filesystem-mt-1_39 -lmapnik -ldbus-glib-1 -ldbus-1 -lpthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0
CMakeFiles/gpsdrive.dir/mapnik.o: In function `boost::thread::thread<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> >(boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>&, boost::detail::thread_move_t<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> > >, boost::thread::dummy*>::type)':
mapnik.cpp:(.text._ZN5boost6threadC1INS_3_bi6bind_tIvPFvvENS2_5list0EEEEET_NS_10disable_ifINS_14is_convertibleIRS8_NS_6detail13thread_move_tIS8_EEEEPNS0_5dummyEE4typeE[boost::thread::thread<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> >(boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>&, boost::detail::thread_move_t<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> > >, boost::thread::dummy*>::type)]+0x1c4): undefined reference to `boost::thread_resource_error::thread_resource_error()'
mapnik.cpp:(.text._ZN5boost6threadC1INS_3_bi6bind_tIvPFvvENS2_5list0EEEEET_NS_10disable_ifINS_14is_convertibleIRS8_NS_6detail13thread_move_tIS8_EEEEPNS0_5dummyEE4typeE[boost::thread::thread<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> >(boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>&, boost::detail::thread_move_t<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> > >, boost::thread::dummy*>::type)]+0x1ef): undefined reference to `boost::thread_resource_error::thread_resource_error()'
mapnik.cpp:(.text._ZN5boost6threadC1INS_3_bi6bind_tIvPFvvENS2_5list0EEEEET_NS_10disable_ifINS_14is_convertibleIRS8_NS_6detail13thread_move_tIS8_EEEEPNS0_5dummyEE4typeE[boost::thread::thread<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> >(boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>&, boost::detail::thread_move_t<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> > >, boost::thread::dummy*>::type)]+0x21a): undefined reference to `boost::thread_resource_error::thread_resource_error()'
mapnik.cpp:(.text._ZN5boost6threadC1INS_3_bi6bind_tIvPFvvENS2_5list0EEEEET_NS_10disable_ifINS_14is_convertibleIRS8_NS_6detail13thread_move_tIS8_EEEEPNS0_5dummyEE4typeE[boost::thread::thread<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> >(boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>&, boost::detail::thread_move_t<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> > >, boost::thread::dummy*>::type)]+0x245): undefined reference to `boost::thread_resource_error::thread_resource_error()'
mapnik.cpp:(.text._ZN5boost6threadC1INS_3_bi6bind_tIvPFvvENS2_5list0EEEEET_NS_10disable_ifINS_14is_convertibleIRS8_NS_6detail13thread_move_tIS8_EEEEPNS0_5dummyEE4typeE[boost::thread::thread<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> >(boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0>&, boost::detail::thread_move_t<boost::_bi::bind_t<void, void (*)(), boost::_bi::list0> > >, boost::thread::dummy*>::type)]+0x270): undefined reference to `boost::thread_resource_error::thread_resource_error()'
collect2: ld returned 1 exit status

Discussion

  • Juergen Rose
    Juergen Rose
    2011-08-03

    Compiling gpsdrive-2.11-r3 from Gentoo with boost-1.46.1 works for me now.

     
  • Hamish B
    Hamish B
    2012-05-19

    • labels: --> Mapnik
    • milestone: --> gpsdrive-2.11
    • status: open --> closed-duplicate