Boost logo

Boost Users :

Subject: [Boost-users] [math] boost build error: ::log1pl has not been declared
From: Pfligersdorffer, Christian (Christian.Pfligersdorffer_at_[hidden])
Date: 2008-09-24 04:03:19


Hello all,

cross compiling boost 1.36 for power pc using a gcc-4.0 derivative the
math library ends up with the following error:

./boost/math/special_functions/log1p.hpp: In function 'long double
boost::math::log1p(long double, const Policy&)':
./boost/math/special_functions/log1p.hpp:342: error: '::log1pl' has not
been declared

my gcc configuration is:

Target: powerpc-linux
Configured with:
/opt/eldk/build/ppc-2006-01-11/work/usr/src/denx/BUILD/crosstool-0.35/bu
ild/gcc-4.0.0-glibc-2.3.5-eldk/powerpc-linux/gcc-4.0.0/configure
--target=powerpc-linux --host=i686-host_pc-linux-gnu
--prefix=/var/tmp/eldk.BjN6Wo/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/p
owerpc-linux
--with-headers=/var/tmp/eldk.BjN6Wo/usr/crosstool/gcc-4.0.0-glibc-2.3.5-
eldk/powerpc-linux/powerpc-linux/include
--with-local-prefix=/var/tmp/eldk.BjN6Wo/usr/crosstool/gcc-4.0.0-glibc-2
.3.5-eldk/powerpc-linux/powerpc-linux --disable-nls
--enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)

Does anyone have a solution for this?

Regards,

--
Christian Pfligersdorffer
Dipl.-Ing. Bakk.rer.nat.
Software Engineering
EOS GmbH - Electro Optical Systems
Robert-Stirling-Ring 1
D-82152 Krailling / Munich
Phone +49 89 893 36-229
Fax +49 89 893 36-287
christian.pfligersdorffer_at_[hidden]
http://www.eos.info

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