[Gdal-dev] building gdal on solaris

Frank Warmerdam warmerdam at pobox.com
Fri Apr 21 11:02:31 EDT 2006


Peter.Rushforth at statcan.ca wrote:
> Hi Frank,
> 
> I did previously try with 1.3.2b1, here's what I get:
> 
> bilbo{rushpet}53: pwd
> /bilbo05/rushpet/gdal/gdal-1.3.2b1
> bilbo{rushpet}54: make
> (cd port; make)
> make[1]: Entering directory `/bilbo05/rushpet/gdal/gdal-1.3.2b1/port'
> g++ -Wall -fPIC -O2   -DOGR_ENABLED -I/bilbo05/rushpet/gdal/gdal-1.3.2b1/port  -c -o cpl_strtod.o cpl_strtod.cpp
> cpl_strtod.cpp: In function `float CPLStrtofDelim(const char*, char**, char)':
> cpl_strtod.cpp:719: error: `copysignf' undeclared (first use this function)
> cpl_strtod.cpp:719: error: (Each undeclared identifier is reported only once for each function it appears in.)
> make[1]: *** [cpl_strtod.o] Error 1
> make[1]: Leaving directory `/bilbo05/rushpet/gdal/gdal-1.3.2b1/port'
> make: *** [port-target] Error 2
> 
> I'm still determined to get it running - it seems others have done
> so!

Peter,

If you edit cpl_strtod.cpp to change copysignf to copysign it should work.
We will fix this for the next beta.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org




More information about the Gdal-dev mailing list