[DebianGIS-dev] Bug#573930: geographiclib: FTBFS: Constants.hpp:115: error: '::hypotl' has not been declared
Nobuhiro Iwamatsu
iwamatsu at nigauri.org
Mon Mar 15 04:06:44 UTC 2010
Source: geographiclib
Version: 1.1-1
Severity: serious
Tags: patch
Hi,
geographiclib FTBFS on mipsel and sh4.
https://buildd.debian.org/fetch.cgi?pkg=geographiclib;ver=1.1-1;arch=mipsel;stamp=1268455254
http://buildd.debian-ports.org/fetch.php?pkg=geographiclib&arch=sh4&ver=1.1-1&stamp=1268370230&file=log&as=raw
Because these architechture doesn't support long double.
-----
g++ -DGEOID_DEFAULT_PATH=\"/usr/share/geographiclib/geoids\"
-DHAVE_CONFIG_H -I. -I.. -I../include -Wall -funroll-loops
-finline-functions -fomit-frame-pointer -g -O2 -g -Wall -O2 -c
AzimuthalEquidistant.cpp -fPIC -DPIC -o .libs/AzimuthalEquidistant.o
In file included from ../include/GeographicLib/Geodesic.hpp:31,
from ../include/GeographicLib/AzimuthalEquidistant.hpp:13,
from AzimuthalEquidistant.cpp:10:
../include/GeographicLib/Constants.hpp: In static member function
'static long double GeographicLib::Math::hypot(long double, long
double)':
../include/GeographicLib/Constants.hpp:115: error: '::hypotl' has not
been declared
../include/GeographicLib/Constants.hpp: In static member function
'static long double GeographicLib::Math::expm1(long double)':
../include/GeographicLib/Constants.hpp:138: error: '::expm1l' has not
been declared
../include/GeographicLib/Constants.hpp: In static member function
'static long double GeographicLib::Math::log1p(long double)':
../include/GeographicLib/Constants.hpp:164: error: '::log1pl' has not
been declared
../include/GeographicLib/Constants.hpp: In static member function
'static long double GeographicLib::Math::asinh(long double)':
../include/GeographicLib/Constants.hpp:182: error: '::asinhl' has not
been declared
../include/GeographicLib/Constants.hpp: In static member function
'static long double GeographicLib::Math::atanh(long double)':
../include/GeographicLib/Constants.hpp:200: error: '::atanhl' has not
been declared
../include/GeographicLib/Constants.hpp: In static member function
'static long double GeographicLib::Math::cbrt(long double)':
../include/GeographicLib/Constants.hpp:214: error: '::cbrtl' has not
been declared
make[3]: *** [AzimuthalEquidistant.lo] Error 1
-----
I made the patch which didn't use these functions in the case of the
architecture that did not support long double.
Could you apply this patch?
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geographiclib-ftbfs.diff
Type: application/x-empty
Size: 2287 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20100315/80e04f81/attachment.bin>
More information about the Pkg-grass-devel
mailing list