[Gdal-dev] Compiling GDAL with ECW and Solaris10

Shaun Kolomeitz shaun.kolomeitz at epa.qld.gov.au
Tue May 16 01:19:35 EDT 2006


Well I'm completely out of ideas on how to get GDAL going with ECW on Solaris10.
ECW libraries compile and install fine, but when GDAL tries to compile them in it has a hurnia.
Some (any ???) ideas ... anyone ....

Regards,
Shaun

....snip...

make -C ecw install-obj
make[2]: Entering directory `/export/home/kolomes/downloads/gdal-1.3.2/frmts/ecw'
/bin/sh /export/home/kolomes/downloads/gdal-1.3.2/libtool --mode=compile g++ -Wall  -O2   -I/export/home/kolomes/downloads/gdal-1.3.2/port -I/export/home/kolomes/downloads/gdal-1.3.2/gcore -I/export/home/kolomes/downloads/gdal-1.3.2/alg -I/export/home/kolomes/downloads/gdal-1.3.2/ogr -I/export/home/kolomes/downloads/gdal-1.3.2/ogr/ogrsf_frmts -DFRMT_ecw -DOGR_ENABLED -D_REENTRANT  -I/export/home/kolomes/downloads/gdal-1.3.2/port -I/usr/local/include -I/usr/local/include/jasper -I/usr/local/include/jasper/include  -c -o ../o/ecwdataset.o ecwdataset.cpp
 g++ -Wall -O2 -I/export/home/kolomes/downloads/gdal-1.3.2/port -I/export/home/kolomes/downloads/gdal-1.3.2/gcore -I/export/home/kolomes/downloads/gdal-1.3.2/alg -I/export/home/kolomes/downloads/gdal-1.3.2/ogr -I/export/home/kolomes/downloads/gdal-1.3.2/ogr/ogrsf_frmts -DFRMT_ecw -DOGR_ENABLED -D_REENTRANT -I/export/home/kolomes/downloads/gdal-1.3.2/port -I/usr/local/include -I/usr/local/include/jasper -I/usr/local/include/jasper/include -c ecwdataset.cpp  -fPIC -DPIC -o ../o/.libs/ecwdataset.o
In file included from /usr/include/fcntl.h:23,
                 from /usr/local/include/NCSFileIO.h:115,
                 from /usr/local/include/NCSJPCIOStream.h:30,
                 from /usr/local/include/NCSJP2Box.h:27,
                 from /usr/local/include/NCSJP2FileView.h:45,
                 from /usr/local/include/NCSFile.h:27,
                 from vsiiostream.h:79,
                 from ecwdataset.cpp:181:
/usr/include/sys/fcntl.h:125:23: token "=" is not valid in preprocessor expressions
In file included from /usr/local/include/NCSFileIO.h:115,
                 from /usr/local/include/NCSJPCIOStream.h:30,
                 from /usr/local/include/NCSJP2Box.h:27,
                 from /usr/local/include/NCSJP2FileView.h:45,
                 from /usr/local/include/NCSFile.h:27,
                 from vsiiostream.h:79,
                 from ecwdataset.cpp:181:
/usr/include/fcntl.h:48:24: token "=" is not valid in preprocessor expressions
/usr/include/fcntl.h:103:40: token "=" is not valid in preprocessor expressions
make[2]: *** [../o/ecwdataset.o] Error 1
make[2]: Leaving directory `/export/home/kolomes/downloads/gdal-1.3.2/frmts/ecw'
make[1]: *** [ecw-install-obj] Error 2
make[1]: Leaving directory `/export/home/kolomes/downloads/gdal-1.3.2/frmts'
make: *** [frmts-target] Error 2 



___________________________
Disclaimer

This e-mail, including attachments if any, has originated from a Queensland government agency and may contain information that is confidential, or covered by legal professional privilege, and is intended for the named recipient(s) only.  If you have received this message in error, you are asked to inform the sender as quickly as possible and delete this message and any copies of this message from your computer system network.

Any form of disclosure, modification, distribution and/or publication of this e-mail, including attachments is prohibited.  Unless otherwise stated, this e-mail, including attachments represents the views of the sender and not the views of the Environmental Protection Agency.

Although this e-mail has been checked for the presence of computer viruses, the Environmental Protection Agency provides no warranty that all possible viruses have been detected and cleaned.  Any use of this e-mail could harm your computer system.
___________________________





More information about the Gdal-dev mailing list