[MacPorts] #36733: boost @1.51.0_1+no_single+no_static+universal filesystem tut3.cpp compile fail

MacPorts noreply at macports.org
Thu Oct 25 14:11:30 PDT 2012


#36733: boost @1.51.0_1+no_single+no_static+universal filesystem tut3.cpp compile
fail
----------------------------+---------------------------
  Reporter:  danielmlord@…  |      Owner:  adfernandes@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.1.2
Resolution:                 |   Keywords:
      Port:  boost          |
----------------------------+---------------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => adfernandes@…
 * keywords:  boost_filesystem =>
 * port:  boost @1.51.0_1 => boost


Old description:

> System: OS X 10.7.5 Version 4.5.1 (4G1004)
> Error message:
>
> Ld "/Users/daniello/Library/Developer/Xcode/DerivedData
> /Boost_Filesystem_TEST-
> brflaiistunrfdfxrfsupcorguru/Build/Products/Debug/Boost Filesystem TEST"
> normal x86_64
>     cd "/Volumes/SDDEXT/Dev-New/Boost/Filesystem/Boost Filesystem TEST"
>     setenv MACOSX_DEPLOYMENT_TARGET 10.7
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
> -arch x86_64 -isysroot
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
> -L/Users/daniello/Library/Developer/Xcode/DerivedData
> /Boost_Filesystem_TEST-brflaiistunrfdfxrfsupcorguru/Build/Products/Debug
> -L/opt/local/lib -F/Users/daniello/Library/Developer/Xcode/DerivedData
> /Boost_Filesystem_TEST-brflaiistunrfdfxrfsupcorguru/Build/Products/Debug
> -filelist "/Users/daniello/Library/Developer/Xcode/DerivedData
> /Boost_Filesystem_TEST-
> brflaiistunrfdfxrfsupcorguru/Build/Intermediates/Boost Filesystem
> TEST.build/Debug/Boost Filesystem TEST.build/Objects-normal/x86_64/Boost
> Filesystem TEST.LinkFileList" -mmacosx-version-min=10.7 -lboost_chrono-mt
> -lboost_math_c99l-mt -lboost_signals-mt -lboost_context-mt
> -lboost_math_tr1-mt -lboost_system-mt -lboost_date_time-mt
> -lboost_math_tr1f-mt -lboost_test_exec_monitor-mt -lboost_exception-mt
> -lboost_thread-mt -lboost_filesystem-mt -lboost_math_tr1l-mt
> -lboost_timer-mt -lboost_graph-mt -lboost_prg_exec_monitor-mt
> -lboost_unit_test_framework-mt -lboost_iostreams-mt
> -lboost_program_options-mt -lboost_wave-mt -lboost_locale-mt
> -lboost_random-mt -lboost_wserialization-mt -lboost_math_c99-mt
> -lboost_regex-mt -lboost_math_c99f-mt -lboost_serialization-mt
> -stdlib=libc++ -o "/Users/daniello/Library/Developer/Xcode/DerivedData
> /Boost_Filesystem_TEST-
> brflaiistunrfdfxrfsupcorguru/Build/Products/Debug/Boost Filesystem TEST"
>
> Undefined symbols for architecture x86_64:
> "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry
> const&, std::__1::basic_string<char, std::__1::char_traits<char>,
> std::__1::allocator<char> >&, std::__1::codecvt<wchar_t, char,
> __mbstate_t> const&)", referenced from:
> boost::filesystem::path::path<boost::filesystem::directory_entry>(boost::filesystem::directory_entry
> const&,
> boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<boost::filesystem::directory_entry>::type>,
> void>::type*) in main.o
> ld: symbol(s) not found for architecture x86_64

New description:

 System: OS X 10.7.5 Version 4.5.1 (4G1004)

 Error message:

 {{{
 Ld "/Users/daniello/Library/Developer/Xcode/DerivedData
 /Boost_Filesystem_TEST-
 brflaiistunrfdfxrfsupcorguru/Build/Products/Debug/Boost Filesystem TEST"
 normal x86_64
     cd "/Volumes/SDDEXT/Dev-New/Boost/Filesystem/Boost Filesystem TEST"
     setenv MACOSX_DEPLOYMENT_TARGET 10.7
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -arch x86_64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
 -L/Users/daniello/Library/Developer/Xcode/DerivedData
 /Boost_Filesystem_TEST-brflaiistunrfdfxrfsupcorguru/Build/Products/Debug
 -L/opt/local/lib -F/Users/daniello/Library/Developer/Xcode/DerivedData
 /Boost_Filesystem_TEST-brflaiistunrfdfxrfsupcorguru/Build/Products/Debug
 -filelist "/Users/daniello/Library/Developer/Xcode/DerivedData
 /Boost_Filesystem_TEST-
 brflaiistunrfdfxrfsupcorguru/Build/Intermediates/Boost Filesystem
 TEST.build/Debug/Boost Filesystem TEST.build/Objects-normal/x86_64/Boost
 Filesystem TEST.LinkFileList" -mmacosx-version-min=10.7 -lboost_chrono-mt
 -lboost_math_c99l-mt -lboost_signals-mt -lboost_context-mt
 -lboost_math_tr1-mt -lboost_system-mt -lboost_date_time-mt
 -lboost_math_tr1f-mt -lboost_test_exec_monitor-mt -lboost_exception-mt
 -lboost_thread-mt -lboost_filesystem-mt -lboost_math_tr1l-mt
 -lboost_timer-mt -lboost_graph-mt -lboost_prg_exec_monitor-mt
 -lboost_unit_test_framework-mt -lboost_iostreams-mt
 -lboost_program_options-mt -lboost_wave-mt -lboost_locale-mt
 -lboost_random-mt -lboost_wserialization-mt -lboost_math_c99-mt
 -lboost_regex-mt -lboost_math_c99f-mt -lboost_serialization-mt
 -stdlib=libc++ -o "/Users/daniello/Library/Developer/Xcode/DerivedData
 /Boost_Filesystem_TEST-
 brflaiistunrfdfxrfsupcorguru/Build/Products/Debug/Boost Filesystem TEST"

 Undefined symbols for architecture x86_64:
 "boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry
 const&, std::__1::basic_string<char, std::__1::char_traits<char>,
 std::__1::allocator<char> >&, std::__1::codecvt<wchar_t, char,
 __mbstate_t> const&)", referenced from:
 boost::filesystem::path::path<boost::filesystem::directory_entry>(boost::filesystem::directory_entry
 const&,
 boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<boost::filesystem::directory_entry>::type>,
 void>::type*) in main.o
 ld: symbol(s) not found for architecture x86_64
 }}}

--

Comment:

 Please attach the main.log file.

 Remember to use WikiFormatting when writing in Trac in the future.

-- 
Ticket URL: <https://trac.macports.org/ticket/36733#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list