Boost logo

Boost Users :

From: PAASILA RISTO (risto.paasila_at_[hidden])
Date: 2008-07-06 18:33:07


Hello,

 

I am trying to build the filesystem and regex libraries, but have a
problem with the filesystem library. Refer to the log below.

In short, I get errors like

"libs/filesystem/src/operations.cpp", line 1034: Error: Cannot use
std::pair<boost::system::error_code, int> to initialize
std::pair<boost::system::error_code, unsigned long long>.

and

"libs/filesystem/src/path.cpp", line 46: Error: Could not find a match
for std::use_facet<std::Facet>(std::locale) needed in::converter().

 

Is there any configure option, or setting in user-config.jam which will
solve the compilation problems?

 

My configuration is SunOS aals176 5.9 Generic_122300-13 sun4u sparc
SUNW,Sun-Fire-V440

The compiler version is CC: Sun C++ 5.8 Patch 121017-07 2006/11/02

 

 

=========== cd boost_dir; ./configure --with-toolset=sun
--with-libraries=filesystem,regex --prefix=$OLDPWD

cd "/extdisk1/customer/sdeaptr2/lib/opensource/boost/"

#HOST_P#cd boost_dir; ./configure --with-toolset=sun
--with-libraries=filesystem,regex --prefix=$OLDPWD

-n Building Boost.Jam with toolset sun...

tools/jam/src/bin.solaris/bjam

-n Unicode/ICU support for Boost.Regex?...

not found.

Backing up existing Boost.Build configuration in user-config.jam.1

Generating Boost.Build configuration in user-config.jam...

Generating Makefile...

=========== gmake -C boost_dir install ======

cd "/extdisk1/customer/sdeaptr2/lib/opensource/boost/" 2>/dev/null ||
mkdir -p "/extdisk1/customer/sdeaptr2/lib/opensource/boost/"; cd
"/extdisk1/customer/sdeaptr2/lib/opensource/boost/"

#HOST_P#gmake -C boost_dir install

./tools/jam/src/bin.solaris/bjam --user-config=user-config.jam
--prefix=/extdisk1/customer/sdeaptr2/lib/opensource/boost
--exec-prefix=/extdisk1/customer/sdeaptr2/lib/opensource/boost
--libdir=/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib
--includedir=/extdisk1/customer/sdeaptr2/lib/opensource/boost/include
--with-filesystem --with-regex install

Building Boost.Regex with the optional Unicode/ICU support disabled.

Please refer to the Boost.Regex documentation for more information

(don't panic: this is a strictly optional feature).

...patience...

...found 11247 targets...

...updating 51 targets...

sun.compile.c++
bin.v2/libs/system/build/sun/release/threading-multi/error_code.o

CC: Warning: -xarch=native has been explicitly specified, or implicitly
specified by a macro option, -xarch=native on this architecture implies
-xarch=v8plusb which generates code that does not run on pre UltraSPARC
III processors

sun.link.dll
bin.v2/libs/system/build/sun/release/threading-multi/libboost_system-sw-
mt-1_35.so.1.35.0

common.copy
/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib/libboost_system-sw-
mt-1_35.so.1.35.0

common.hard-link
/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib/libboost_system-sw-
mt.so

sun.compile.c++
bin.v2/libs/filesystem/build/sun/release/threading-multi/operations.o

CC: Warning: -xarch=native has been explicitly specified, or implicitly
specified by a macro option, -xarch=native on this architecture implies
-xarch=v8plusb which generates code that does not run on pre UltraSPARC
III processors

"libs/filesystem/src/operations.cpp", line 1034: Error: Cannot use
std::pair<boost::system::error_code, int> to initialize
std::pair<boost::system::error_code, unsigned long long>.

"libs/filesystem/src/operations.cpp", line 1036: Error: Cannot use
std::pair<boost::system::error_code, int> to initialize
std::pair<boost::system::error_code, unsigned long long>.

"libs/filesystem/src/operations.cpp", line 1070: Error: Cannot use
std::pair<boost::system::error_code, int> to initialize
std::pair<boost::system::error_code, long>.

3 Error(s) detected.

 

    "CC" -fast -mt -KPIC -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1
-DBOOST_SYSTEM_DYN_LINK=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/filesystem/build/sun/release/threading-multi/operations.o"
"libs/filesystem/src/operations.cpp"

 

...failed sun.compile.c++
bin.v2/libs/filesystem/build/sun/release/threading-multi/operations.o...

sun.compile.c++
bin.v2/libs/filesystem/build/sun/release/threading-multi/path.o

CC: Warning: -xarch=native has been explicitly specified, or implicitly
specified by a macro option, -xarch=native on this architecture implies
-xarch=v8plusb which generates code that does not run on pre UltraSPARC
III processors

"libs/filesystem/src/path.cpp", line 46: Error: Could not find a match
for std::use_facet<std::Facet>(std::locale) needed in::converter().

"libs/filesystem/src/path.cpp", line 63: Error: Could not find a match
for std::use_facet<std::Facet>(std::locale) needed in static
boost::filesystem::wpath_traits::imbue(const std::locale&, const
std::nothrow_t&).

2 Error(s) detected.

 

    "CC" -fast -mt -KPIC -DBOOST_ALL_DYN_LINK=1 -DBOOST_ALL_NO_LIB=1
-DBOOST_SYSTEM_DYN_LINK=1 -DNDEBUG -I"." -c -o
"bin.v2/libs/filesystem/build/sun/release/threading-multi/path.o"
"libs/filesystem/src/path.cpp"

 

...failed sun.compile.c++
bin.v2/libs/filesystem/build/sun/release/threading-multi/path.o...

sun.compile.c++
bin.v2/libs/filesystem/build/sun/release/threading-multi/portability.o

CC: Warning: -xarch=native has been explicitly specified, or implicitly
specified by a macro option, -xarch=native on this architecture implies
-xarch=v8plusb which generates code that does not run on pre UltraSPARC
III processors

sun.compile.c++
bin.v2/libs/filesystem/build/sun/release/threading-multi/utf8_codecvt_fa
cet.o

CC: Warning: -xarch=native has been explicitly specified, or implicitly
specified by a macro option, -xarch=native on this architecture implies
-xarch=v8plusb which generates code that does not run on pre UltraSPARC
III processors

...skipped
<pbin.v2/libs/filesystem/build/sun/release/threading-multi>libboost_file
system-sw-mt-1_35.so.1.35.0 for lack of
<pbin.v2/libs/filesystem/build/sun/release/threading-multi>operations.o.
..

...skipped
<p/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib>libboost_filesyst
em-sw-mt-1_35.so.1.35.0 for lack of
<pbin.v2/libs/filesystem/build/sun/release/threading-multi>libboost_file
system-sw-mt-1_35.so.1.35.0...

...skipped
<p/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib>libboost_filesyst
em-sw-mt.so for lack of
<p/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib>libboost_filesyst
em-sw-mt-1_35.so.1.35.0...

common.copy
/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib/libboost_regex-sw-m
t-1_35.so.1.35.0

common.hard-link
/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib/libboost_regex-sw-m
t.so

ln-UNIX
/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib/libboost_system-sw-
mt-1_35.so

...skipped
<p/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib>libboost_filesyst
em-sw-mt-1_35.so for lack of
<p/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib>libboost_filesyst
em-sw-mt-1_35.so.1.35.0...

ln-UNIX
/extdisk1/customer/sdeaptr2/lib/opensource/boost/lib/libboost_regex-sw-m
t-1_35.so

...failed updating 2 targets...

...skipped 4 targets...

...updated 45 targets...

Not all Boost libraries built properly.

==============================================

 

 

Thanks,

Risto

 

 



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net