|
Boost : |
From: Michel Decima (michel_decima_at_[hidden])
Date: 2004-08-29 17:51:01
>The latest package can be found at the following
>> locations:
>>
>>http://home.comcast.net/~jturkanis/iostreams/
The package avalaible on this page doesn't build with
gcc-3.3 on linux and darwin. There are some
compilation-time warnings and errors:
boost/libs/io/src/file_descriptor.cpp: In member
function `void
boost::io::file_descriptor_resource::open(const
std::string&,
std::_Ios_Openmode, std::_Ios_Openmode)':
boost/libs/io/src/file_descriptor.cpp:91: error: no
matching function for call to
`boost::io::file_descriptor_resource::open(
const char*, int&, mode_t&)'
boost/libs/io/src/file_descriptor.cpp:47: error:
candidates
are: void
boost::io::file_descriptor_resource::open(const
std::string&,
std::_Ios_Openmode =
std::operator|(std::_Ios_Openmode,
std::_Ios_Openmode)((std::_Ios_Openmode)8,
(std::_Ios_Openmode)16),
std::_Ios_Openmode =
std::operator|(std::_Ios_Openmode,
std::_Ios_Openmode)((std::_Ios_Openmode)8,
(std::_Ios_Openmode)16))
boost/libs/io/src/file_descriptor.cpp:68: warning:
enumeration
value `_M_ios_openmode_end' not handled in switch
boost/libs/io/src/file_descriptor.cpp:68: warning:
case
value `8' not in enumerated type `_Ios_Openmode'
/boost/libs/io/src/file_descriptor.cpp:68: warning:
case
value `16' not in enumerated type `_Ios_Openmode'
boost/libs/io/src/file_descriptor.cpp:68: warning:
case
value `24' not in enumerated type `_Ios_Openmode'
...
you may apply the patch file_descriptor-cpp.patch to
solve the problem.
The link of the shared libraries fails too, because
the gzip and bzip2 libraries names are wrong in the
file compression.jam (the common names are libz.so and
libbz2.so on unix/darwin/solaris...):
darwin-Link-DyLib-action
bin/boost/libs/io/build/libboost_io.dylib/darwin/debug/shared-linkable-true/libboost_io-d-1_32.dylib
ld: can't locate file for: -lzlib
ld: can't locate file for: -llibbz2
The patch compression-jam.patch solves the problem,
but it may break your build system on other platforms
(I'm not a jam file expert yet ;)
MD.
Vous manquez despace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk