[postgis-users] GDAL compilation with PGCHIP driver

Ricardo ricardoluis at ufs.br
Thu Oct 5 12:57:14 PDT 2006


Hi all,
I'm trying to compile the GDAL library with PGCHIP driver, under Fedora 4, 
so when I execute the " make " command it returns to me the followinh 
menssage;
 
-------------------------------------------------------------
make -C pgchip install-obj
make[2]: Entering directory `/usr/src/gdal-1.3.2/frmts/pgchip'
/bin/sh /usr/src/gdal-1.3.2/libtool --mode=compile g++ -Wall -O2 -I/usr/incl 
ude -I/usr/share/pgsql/contrib/postgis-1.1.2/lwgeom -I/usr/src/gdal-
1.3.2/port -I/usr/src/gdal-1.3.2/gcore -I/usr/src/gdal-1.3.2/alg -
I/usr/src/gdal-1.3.2/ogr -I/usr/src/gdal-1.3.2/ogr/ogrsf_frmts -c -
o ../o/pgchipdataset.o pgchipdataset. cpp
g++ -Wall -O2 -I/usr/include -I/usr/share/pgsql/contrib/postgis-
1.1.2/lwgeom -I /usr/src/gdal-1.3.2/port -I/usr/src/gdal-1.3.2/gcore -
I/usr/src/gdal-1.3.2/alg - I/usr/src/gdal-1.3.2/ogr -I/usr/src/gdal-
1.3.2/ogr/ogrsf_frmts -c pgchipdataset. cpp -fPIC -DPIC -
o ../o/.libs/pgchipdataset.o
pgchipdataset.cpp: In function 'GDALDataset* PGCHIPCreateCopy(const char*, 
GDALD ataset*, int, char**, int (*)(double, const char*, void*), void*)':
pgchipdataset.cpp:957: error: invalid conversion from 'unsigned char*' 
to 'char* '
pgchipdataset.cpp:957: error: initializing argument 2 of 'void deparse_hex
(uch ar, char*)'
pgchipdataset.cpp:964: error: invalid conversion from 'unsigned char*' 
to 'char* '
pgchipdataset.cpp:964: error: initializing argument 2 of 'void deparse_hex
(uch ar, char*)'
pgchipdataset.cpp:971: error: invalid conversion from 'unsigned char*' 
to 'char* '
pgchipdataset.cpp:971: error: initializing argument 2 of 'void deparse_hex
(uch ar, char*)'
make[2]: ** [../o/pgchipdataset.o] Erro 1
make[2]: Leaving directory `/usr/src/gdal-1.3.2/frmts/pgchip'
make[1]: ** [pgchip-install-obj] Erro 2
make[1]: Leaving directory `/usr/src/gdal-1.3.2/frmts'
make: ** [frmts-target] Erro 2
--------------------------------------------------------------------
 
May you help me?
Thank you anyway.
Ricardo Luís



More information about the postgis-users mailing list