[Gdal-dev] install error on Solaris odbcinst.h: No such file or directory

Doc Robinson doc.robinson at utoronto.ca
Thu May 3 05:59:28 EDT 2007


we are attempting to install gdal 1.4.1 on a Sun Fire running Solaris 9
it seemed to go well with one error that has us puzzled.

it says:  cpl_odbc.h:43:22: error: odbcinst.h: No such file or directory
    yet odbcinst.h   is in fact in a file in the same directory as sql.h 
which is on the include line just before the include for odbcinst.h in 
cpl_odbc.h   ... this has us stumped

here is the full listing of the configure that was used


./configure --with-includes=/opt/sfw/include                       \
             --with-libs=/opt/sfw/lib                                \
             --with-postgres-includes=/opt/pgsql/include             \
             --with-postgres-libs=/opt/pgsql/lib                     \
             --with-proj=yes                                          \
             --with-mysql-includes=/opt/sfw/www/mysql-4.0.21/include  \
             --with-mysql-libs=/opt/sfw/www/mysql-4.0.21/lib          \



and log from the make attempt that failed



checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a sed that does not truncate output... /opt/sfw/bin/gsed
checking for egrep... grep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/ccs/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/ccs/bin/nm -p output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.9 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... solaris2.9 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... solaris2.9 ld.so
checking how to hardcode library paths into programs... immediate
checking for dlopen in -ldl... yes
checking for nanosleep in -lrt... yes
checking for sin in -lm... yes
checking for ANSI C header files... (cached) yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking dbmalloc.h usability... no
checking dbmalloc.h presence... no
checking for dbmalloc.h... no
checking for dlfcn.h... (cached) yes
checking for stdint.h... (cached) no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking whether byte ordering is bigendian... yes
checking for 64bit integer type... long long
checking for 64bit file io... yes
checking for stat64... yes
checking for fopen64... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for void*... yes
checking size of void*... 4
checking for int8... no
checking for int16... no
checking for int32... no
checking native cpu bit order... msb2lsb
checking for vprintf... yes
checking for _doprnt... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for atoll... yes
checking for copysign... yes
checking for copysignf... no
checking for strtof... no
checking for nan... no
checking for nanf... no
checking for getcwd... yes
checking whether nan is declared... no
checking whether nanf is declared... no
checking for gmtime_r... yes
checking for localtime_r... yes
checking for setlocale... yes
checking for local include/lib path... none
configure: checking whether we should include thread/mutex support......
         thread safe support disabled.
checking for deflateInit_ in -lz... yes
using pre-installed libz
checking for pg_config... no
checking for PostgreSQL... no
checking for G_gisinit_2 in -lgrass5... no
checking for ffopen in -lcfitsio... no
libcfitsio not found - FITS support disabled
checking for Mopen in -lcsf... no
checking csf.h usability... no
checking csf.h presence... no
checking for csf.h... no
using internal csf code.
checking for nc_open in -lnetcdf... no
libnetcdf not found - netCDF support disabled
checking for png_set_IHDR in -lpng... yes
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
using internal png code.
checking for TIFFGetTagListCount in -ltiff... yes
checking for _TIFFsetDoubleArray in -ltiff... yes
using pre-installed libtiff.
checking for XTIFFClientOpen in -lgeotiff... no
using internal GeoTIFF code.
checking for jpeg_read_scanlines in -ljpeg... yes
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
using internal jpeg code.
checking for DGifOpenFileName in -lgif... no
using internal gif code.
checking for cln_GetLayerCapabilities in -logdi31... no
checking for FMEObjects... no
checking for SDreaddata in -lmfhdf... no
checking for H5Fopen in -lhdf5... no
checking for jpc_decode in -ljasper... no
checking for jp2_decode in -ljasper... no
checking for pgx_decode in -ljasper... no
checking for NCScbmOpenFileView in -lNCSEcw... no
checking for NCScbmOpenFileView in -lecwj2... no
checking for Kakadu JPEG2000 support... not requested.
configure: MrSID support disabled.
checking for BSB ... enabled
checking for OGR ... enabled
checking for MySQL... no
checking for Xerces C++... disabled
checking for SQLConnect in -lodbc... yes
checking for SQLInstallDriverEx in -lodbcinst... yes
checking if Oracle support is enabled... no
checking Checking for DODS... disabled
checking for curl-config... /usr/local/bin/curl-config
         found libcurl version 7.12.1
checking Checking for SQLite... disabled
checking Checking for DWGdirect... disabled
configure: IBM Informix DataBlade not supported.
configure: checking whether we should include ESRI SDE support...
         ESRI SDE support not requested.
checking for geos-config... no
checking how to link PROJ.4 library... link dynamically.
checking GDAL version information from gdal_version.h: 1.5.0
checking for SWIG perl bindings... disabled
checking for SWIG php bindings... disabled
checking for SWIG ruby bindings... disabled
checking for NG SWIG python bindings... disabled
checking for python... python
checking for location of Python Makefiles... found
checking for top-level Makefile for Python... found
checking where to install Python modules... 
/opt/sfw/lib/python2.2/site-packages
checking for location of Python headers... found
checking definitions from top-level Python Makefile... found
checking for Python.h header... found
checking for special pymod link hacks... default
checking for Python NumPy headers... not found
checking if local/include already standard... no, everything is ok
configure: creating ./config.status
config.status: creating GDALmake.opt
config.status: creating port/cpl_config.h
config.status: port/cpl_config.h is unchanged

GDAL is now configured for sparc-sun-solaris2.9

   Installation directory:    /usr/local
   C compiler:                gcc -O2
   C++ compiler:              g++ -O2

   LIBTOOL support:           yes

   LIBZ support:              external
   GRASS support:             no
   CFITSIO support:           no
   PCRaster support:          internal
   NETCDF support:            no
   LIBPNG support:            internal
   LIBTIFF support:           external
   LIBGEOTIFF support:        internal
   LIBJPEG support:           internal
   LIBGIF support:            internal
   OGDI support:              no
   HDF4 support:              no
   HDF5 support:              no
   KAKADU support:            no
   JASPER support:            no
   ECW support:               no
   MrSID support:             no
   GRIB support:              no
   CURL support (wcs):        yes
   POSTGRESQL support:        no
   MySQL support:             no
   XERCES support:            no
   ODBC support:              yes
   PGEO support:              yes
   OCI support:               no
   SDE support:               no
   DODS support:              no
   SQLite support:            no
   DWGdirect support          no
   PANORAMA GIS support:      no
   INFORMIX DataBlade support:no
   GEOS support:

   Statically link PROJ.4:    no

   Traditional Python:        yes
   NG SWIG Bindings:          no

   enable OGR building:       yes

   enable pthread support:    no

514 /opt/grass/gdal-1.4.1 > make
(cd port; make)
make[1]: Entering directory `/opt/grass/gdal-1.4.1/port'
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_conv.o cpl_conv.cpp
mkdir .libs
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_conv.cpp  -fPIC -DPIC -o .libs/cpl_conv.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_conv.cpp -o cpl_conv.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_error.o cpl_error.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_error.cpp  -fPIC -DPIC -o .libs/cpl_error.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_error.cpp -o cpl_error.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_string.o 
cpl_string.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_string.cpp  -fPIC -DPIC -o .libs/cpl_string.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_string.cpp -o cpl_string.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cplgetsymbol.o 
cplgetsymbol.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cplgetsymbol.cpp  -fPIC -DPIC -o .libs/cplgetsymbol.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cplgetsymbol.cpp -o cplgetsymbol.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_dir.o cpl_dir.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_dir.cpp  -fPIC -DPIC -o .libs/cpl_dir.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_dir.cpp -o cpl_dir.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_strtod.o 
cpl_strtod.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_strtod.cpp  -fPIC -DPIC -o .libs/cpl_strtod.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_strtod.cpp -o cpl_strtod.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_path.o cpl_path.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_path.cpp  -fPIC -DPIC -o .libs/cpl_path.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_path.cpp -o cpl_path.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_csv.o cpl_csv.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_csv.cpp  -fPIC -DPIC -o .libs/cpl_csv.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_csv.cpp -o cpl_csv.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_findfile.o 
cpl_findfile.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_findfile.cpp  -fPIC -DPIC -o .libs/cpl_findfile.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_findfile.cpp -o cpl_findfile.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_minixml.o 
cpl_minixml.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_minixml.cpp  -fPIC -DPIC -o .libs/cpl_minixml.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_minixml.cpp -o cpl_minixml.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_multiproc.o 
cpl_multiproc.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_multiproc.cpp  -fPIC -DPIC -o .libs/cpl_multiproc.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_multiproc.cpp -o cpl_multiproc.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_list.o cpl_list.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_list.cpp  -fPIC -DPIC -o .libs/cpl_list.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_list.cpp -o cpl_list.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_getexecpath.o 
cpl_getexecpath.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_getexecpath.cpp  -fPIC -DPIC -o .libs/cpl_getexecpath.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_getexecpath.cpp -o cpl_getexecpath.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cplstring.o cplstring.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cplstring.cpp  -fPIC -DPIC -o .libs/cplstring.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cplstring.cpp -o cplstring.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_vsil_win32.o 
cpl_vsil_win32.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsil_win32.cpp  -fPIC -DPIC -o .libs/cpl_vsil_win32.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsil_win32.cpp -o cpl_vsil_win32.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_vsisimple.o 
cpl_vsisimple.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsisimple.cpp  -fPIC -DPIC -o .libs/cpl_vsisimple.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsisimple.cpp -o cpl_vsisimple.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_vsil.o cpl_vsil.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsil.cpp  -fPIC -DPIC -o .libs/cpl_vsil.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsil.cpp -o cpl_vsil.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_vsi_mem.o 
cpl_vsi_mem.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsi_mem.cpp  -fPIC -DPIC -o .libs/cpl_vsi_mem.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsi_mem.cpp -o cpl_vsi_mem.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o 
cpl_vsil_unix_stdio_64.o cpl_vsil_unix_stdio_64.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsil_unix_stdio_64.cpp  -fPIC -DPIC -o .libs/cpl_vsil_unix_stdio_64.o
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_vsil_unix_stdio_64.cpp -o cpl_vsil_unix_stdio_64.o >/dev/null 2>&1
/bin/sh /opt/grass/gdal-1.4.1/libtool --mode=compile g++ -Wall  -O2 
-DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port  -c -o cpl_odbc.o cpl_odbc.cpp
  g++ -Wall -O2 -DOGR_ENABLED -I/opt/grass/gdal-1.4.1/port -c 
cpl_odbc.cpp  -fPIC -DPIC -o .libs/cpl_odbc.o
In file included from cpl_odbc.cpp:30:
cpl_odbc.h:43:22: error: odbcinst.h: No such file or directory
cpl_odbc.h:93: error: 'ODBC_INSTALL_COMPLETE' was not declared in this scope
cpl_odbc.cpp: In member function 'int 
CPLODBCDriverInstaller::InstallDriver(const char*, const char*, WORD)':
cpl_odbc.cpp:84: error: 'SQLInstallDriverEx' was not declared in this scope
cpl_odbc.cpp:114: error: 'SQLInstallerError' was not declared in this scope
cpl_odbc.cpp: In member function 'int 
CPLODBCDriverInstaller::RemoveDriver(const char*, int)':
cpl_odbc.cpp:134: error: 'SQLRemoveDriver' was not declared in this scope
cpl_odbc.cpp:140: error: 'SQLInstallerError' was not declared in this scope
cpl_odbc.cpp: In static member function 'static SQLSMALLINT 
CPLODBCStatement::GetTypeMapping(SQLSMALLINT)':
cpl_odbc.cpp:1512: error: 'SQL_WCHAR' was not declared in this scope
cpl_odbc.cpp:1513: error: 'SQL_WVARCHAR' was not declared in this scope
cpl_odbc.cpp:1514: error: 'SQL_WLONGVARCHAR' was not declared in this scope
make[1]: *** [cpl_odbc.o] Error 1
make[1]: Leaving directory `/opt/grass/gdal-1.4.1/port'
make: *** [port-target] Error 2




-- 

Regards,
         Doc

--------------------------------------------------------------------
   Vincent B. Robinson       |
  Department of Geography    | E-Mail: doc.robinson at utoronto.ca
   University of Toronto     | Voice: (905)828-5299
      at Mississauga         | Fax:   (905)828-5273
   Mississauga, Ontario      |
   Canada     L5L 1C6        |




More information about the Gdal-dev mailing list