[gdal-dev] Compiling gdal-1.4.2 with ODBC

Tran, Toan (MCYS) Toan.Tran at ontario.ca
Mon Dec 3 09:34:47 EST 2007


Skipped content of type multipart/alternative-------------- next part --------------

1. Configuring gdal-1.4.2
# ./configure --with-odbc=/usr/local 

Configure Log:
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
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... /usr/bin/sed
checking for egrep... egrep
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... yes
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... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
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... no
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.10 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
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... no
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.10 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
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) yes
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 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... yes
checking for strtof... yes
checking for nan... yes
checking for nanf... yes
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... /usr/bin/pg_config
checking for PostgreSQL... yes
checking for PQconnectdb in -lpq... yes
checking for PQputCopyData in -lpq... yes
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... yes
checking png.h presence... yes
checking for png.h... yes
using pre-installed libpng.
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... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
using pre-installed libjpeg.
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
using odbc library from /usr/local.
checking if Oracle support is enabled... no
checking Checking for DODS... disabled
checking for curl-config... no
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.4.2
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... no
checking for python1.5... no
checking for python1.4... no
checking for python1.3... no
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.10

  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:            external
  LIBTIFF support:           external
  LIBGEOTIFF support:        internal
  LIBJPEG support:           external
  LIBGIF support:            internal
  OGDI support:              no
  HDF4 support:              no
  HDF5 support:              no
  KAKADU support:            no
  JASPER support:            no
  ECW support:               no
  MrSID support:             no
  CURL support (wcs):        no
  POSTGRESQL support:        yes
  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:        no
  NG SWIG Bindings:          no

  enable OGR building:       yes


2. Execute: make
# make
(cd port; make)
make[1]: Entering directory `/export/home/weblogic/GIS/gdal-1.4.2/port'
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_conv.o cpl_conv.cpp
mkdir .libs
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_conv.cpp  -fPIC -DPIC -o .libs/cpl_conv.o
cpl_conv.cpp: In function `void* CPLScanPointer(const char*, int)':
cpl_conv.cpp:850: warning: cast to pointer from integer of different size
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_conv.cpp -o cpl_conv.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_error.o cpl_error.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_error.cpp  -fPIC -DPIC -o .libs/cpl_error.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_error.cpp -o cpl_error.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_string.o cpl_string.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_string.cpp  -fPIC -DPIC -o .libs/cpl_string.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_string.cpp -o cpl_string.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cplgetsymbol.o cplgetsymbol.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cplgetsymbol.cpp  -fPIC -DPIC -o .libs/cplgetsymbol.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cplgetsymbol.cpp -o cplgetsymbol.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_dir.o cpl_dir.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_dir.cpp  -fPIC -DPIC -o .libs/cpl_dir.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_dir.cpp -o cpl_dir.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_strtod.o cpl_strtod.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_strtod.cpp  -fPIC -DPIC -o .libs/cpl_strtod.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_strtod.cpp -o cpl_strtod.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_path.o cpl_path.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_path.cpp  -fPIC -DPIC -o .libs/cpl_path.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_path.cpp -o cpl_path.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_csv.o cpl_csv.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_csv.cpp  -fPIC -DPIC -o .libs/cpl_csv.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_csv.cpp -o cpl_csv.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_findfile.o cpl_findfile.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_findfile.cpp  -fPIC -DPIC -o .libs/cpl_findfile.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_findfile.cpp -o cpl_findfile.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_minixml.o cpl_minixml.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_minixml.cpp  -fPIC -DPIC -o .libs/cpl_minixml.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_minixml.cpp -o cpl_minixml.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_multiproc.o cpl_multiproc.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_multiproc.cpp  -fPIC -DPIC -o .libs/cpl_multiproc.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_multiproc.cpp -o cpl_multiproc.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_list.o cpl_list.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_list.cpp  -fPIC -DPIC -o .libs/cpl_list.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_list.cpp -o cpl_list.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_getexecpath.o cpl_getexecpath.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_getexecpath.cpp  -fPIC -DPIC -o .libs/cpl_getexecpath.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_getexecpath.cpp -o cpl_getexecpath.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cplstring.o cplstring.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cplstring.cpp  -fPIC -DPIC -o .libs/cplstring.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cplstring.cpp -o cplstring.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_vsil_win32.o cpl_vsil_win32.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsil_win32.cpp  -fPIC -DPIC -o .libs/cpl_vsil_win32.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsil_win32.cpp -o cpl_vsil_win32.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_vsisimple.o cpl_vsisimple.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsisimple.cpp  -fPIC -DPIC -o .libs/cpl_vsisimple.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsisimple.cpp -o cpl_vsisimple.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_vsil.o cpl_vsil.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsil.cpp  -fPIC -DPIC -o .libs/cpl_vsil.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsil.cpp -o cpl_vsil.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_vsi_mem.o cpl_vsi_mem.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsi_mem.cpp  -fPIC -DPIC -o .libs/cpl_vsi_mem.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsi_mem.cpp -o cpl_vsi_mem.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_vsil_unix_stdio_64.o cpl_vsil_unix_stdio_64.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsil_unix_stdio_64.cpp  -fPIC -DPIC -o .libs/cpl_vsil_unix_stdio_64.o
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_vsil_unix_stdio_64.cpp -o cpl_vsil_unix_stdio_64.o >/dev/null 2>&1
/bin/sh /export/home/weblogic/GIS/gdal-1.4.2/libtool --mode=compile g++ -Wall  -O2   -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include  -c -o cpl_odbc.o cpl_odbc.cpp
 g++ -Wall -O2 -DOGR_ENABLED -I/export/home/weblogic/GIS/gdal-1.4.2/port -I/usr/local -I/usr/local/include -c cpl_odbc.cpp  -fPIC -DPIC -o .libs/cpl_odbc.o
cpl_odbc.cpp: In static member function `static SQLSMALLINT CPLODBCStatement::GetTypeMapping(SQLSMALLINT)':
cpl_odbc.cpp:1512: error: `SQL_WCHAR' undeclared (first use this function)
cpl_odbc.cpp:1512: error: (Each undeclared identifier is reported only once for each function it appears in.)
cpl_odbc.cpp:1513: error: `SQL_WVARCHAR' undeclared (first use this function)
cpl_odbc.cpp:1514: error: `SQL_WLONGVARCHAR' undeclared (first use this function)
make[1]: *** [cpl_odbc.o] Error 1
make[1]: Leaving directory `/export/home/weblogic/GIS/gdal-1.4.2/port'
make: *** [port-target] Error 2
# 


More information about the gdal-dev mailing list