[Gdal-dev] building gdal for OpenZaurus
Yan Seiner
yan at seiner.com
Thu Aug 24 10:08:21 EDT 2006
I am trying to cross-compile gdal for OpenZaurus. I am using the
development toolchain (3.5.4.2-rc2). The build fails with:
| arm-linux-g++ -march=armv5te -mtune=xscale -Wall
-I/home/local/zaurus/tmp/staging/arm-linux/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2
-fpermissive -DOGR_ENABLED
-I/home/local/zaurus/tmp/staging/arm-linux/include
-I/home/local/zaurus/tmp/work/armv5te-linux/gdal-1.3.2-r1/gdal-1.3.2/port
-c cpl_strtod.cpp -fPIC -DPIC -o .libs/cpl_strtod.o
| cpl_strtod.cpp:239: error: declaration of `double nan(const char*)'
throws different exceptions
| /home/local/zaurus/tmp/staging/arm-linux/include/bits/mathcalls.h:225:
error: than previous declaration `double nan(const char*) throw ()'
| cpl_strtod.cpp:249: error: declaration of `float nanf(const char*)'
throws different exceptions
| /home/local/zaurus/tmp/staging/arm-linux/include/bits/mathcalls.h:225:
error: than previous declaration `float nanf(const char*) throw ()'
Can anyone shed some light on this? I am pretty much out of my depth on
these types of errors....
--Yan
More information about the Gdal-dev
mailing list