[Boost-bugs] [Boost C++ Libraries] #6328: Mac OSX linker boost::system category referenced from static..

Subject: [Boost-bugs] [Boost C++ Libraries] #6328: Mac OSX linker boost::system category referenced from static..
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-29 03:09:07


#6328: Mac OSX linker boost::system category referenced from static..
------------------------------------+---------------------------------------
 Reporter: noah.whiteis@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.48.0
 Severity: Showstopper | Keywords:
------------------------------------+---------------------------------------
 When I compile Boost.asio or boost.filesystem code (GCC4.3) in mac osx I
 get

 Build boosttesttwo of project boosttesttwo with configuration Debug

 Ld ./boosttesttwo.app/Contents/MacOS/boosttesttwo normal i386
 cd /Users/noahwhiteis/C++/nm/boosttesttwo
 setenv MACOSX_DEPLOYMENT_TARGET 10.6
 /Developer/usr/bin/g++-4.2 -arch i386 -isysroot
 /Developer/SDKs/MacOSX10.6.sdk -L. -L/opt/local/lib -Lcs106
 -L/Users/noahwhiteis/C++/nm/boosttesttwo/cs106 -L/opt/local/lib -F.
 -filelist
 /Users/noahwhiteis/C++/nm/boosttesttwo/build/boosttesttwo.build/Debug/boosttesttwo.build
 /Objects-normal/i386/boosttesttwo.LinkFileList -mmacosx-version-min=10.6
 -framework Cocoa -framework Carbon -lcs106 -o
 ./boosttesttwo.app/Contents/MacOS/boosttesttwo

 Undefined symbols:
   "boost::filesystem3::detail::file_size(boost::filesystem3::path const&,
 boost::system::error_code*)", referenced from:
       boost::filesystem3::file_size(boost::filesystem3::path const&)in
 main.o
   "boost::system::system_category()", referenced from:
       __static_initialization_and_destruction_0(int, int)in main.o
   "boost::filesystem3::path::wchar_t_codecvt_facet()", referenced from:
       boost::filesystem3::path::codecvt() in main.o
   "boost::system::generic_category()", referenced from:
       __static_initialization_and_destruction_0(int, int)in main.o
       __static_initialization_and_destruction_0(int, int)in main.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6328>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC