[Mapserver-users] CPL Conv - GDAL Error

FABIO COELHO qoelhex at cttmar.univali.br
Mon May 24 13:45:41 EDT 2004


Hi dears

I'm compiling GDAL on HP-UX and I got this error:

bash-2.05$ gmake
GNUmakefile:43: warning: overriding commands for target `libgdal.la'
GNUmakefile:39: warning: ignoring old commands for target `libgdal.la'
(cd port; gmake)
gmake[1]: Entering directory `/usr/desen/cunivali/Tar/gdal-1.2.0/port'
/bin/sh ../libtool --mode=compile g++ -Wall  -O2   -I/opt/univali/include  
-I../port  -c -o cpl_conv.o cpl_conv.cpp
 g++ -Wall -O2 -I/opt/univali/include -I../port -c cpl_conv.cpp  -fPIC -DPIC -o
.libs/cpl_conv.o
cpl_conv.cpp: In function `char* CPLPrintDouble(char*, const char*, double,
   char*)':
cpl_conv.cpp:904: error: invalid conversion from `const char*' to `char*'
gmake[1]: *** [cpl_conv.o] Error 1
gmake[1]: Leaving directory `/usr/desen/cunivali/Tar/gdal-1.2.0/port'
gmake: *** [port-target] Error 2

Anyone knows something about? Can be a configuration error ( I use a clean
./configure ) or I'll must to debug the code?

Regards

-- 
by qoelheX

------------------------------------------------
Este e-mail foi enviado pelo webmail do curso de
       Ciência da Computação - UNIVALI



More information about the mapserver-users mailing list