[gdal-dev] make error: a bug report, mailing list Q, or RTFM?

Matt Wilkie maphew at gmail.com
Thu Nov 20 01:35:15 EST 2008


Hello,

I'm trying to compile svn gdal on Ubuntu 8.10 in order to take
advantage of some of the recent things in 1.6. I'm getting an error
with make when " --with-unix-stdio-64=yes" is used , pasted below.
Make is successful when I don't use it. Is this kind of thing a bug
report, a question for the mailing list, or so much noise from someone
who really should be using binaries or RTFMing?

thanks,

-matt

svn r15769

$ export CFLAGS="-mtune=athlon64 -O2"

$ auto-apt run ./configure \
  --with-unix-stdio-64=yes \
  --with-libtiff=internal

...snip
GDAL is now configured for x86_64-unknown-linux-gnu

  Installation directory:    /usr/local
  C compiler:                gcc -mtune=athlon64 -O2
  C++ compiler:              g++ -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:           internal (BigTIFF=yes)
  LIBGEOTIFF support:        internal
  LIBJPEG support:           external
  LIBGIF support:            external
  OGDI support:              no
  HDF4 support:              no
  HDF5 support:              no
  Kakadu support:            no
  JasPer support:            yes (GeoJP2=yes)
  ECW support:               no
  MrSID support:             no
  MSG support:               no
  GRIB support:              yes
  cURL support (wms/wcs/...):no
  PostgreSQL support:        yes
  MySQL support:             no
  Ingres support:            no
  Xerces-C support:          no
  NAS support:               no
  Expat support:             yes
  ODBC support:              no
  PGeo support:              no
  OCI support:               no
  SDE support:               no
  DODS support:              no
  SQLite support:            yes
  DWGdirect support          no
  PANORAMA GIS support:      no
  INFORMIX DataBlade support:no
  GEOS support:              no


  Old-gen python          no
  SWIG Bindings:          no

  Statically link PROJ.4:    no
  enable OGR building:       yes
  enable pthread support:    no
  hide internal symbols:     no

$ make
...snip
(cd port; make)
make[1]: Entering directory `/usr/local/src/gdal/port'
/bin/sh /usr/local/src/gdal/libtool --mode=compile --tag=CXX g++ -g
-O2  -Wall  -DOGR_ENABLED -I/usr/local/src/gdal/port 	 -I../frmts/zlib
-DHAVE_LIBZ -c -o cpl_vsil_unix_stdio_64.o cpl_vsil_unix_stdio_64.cpp
libtool: compile:  g++ -g -O2 -Wall -DOGR_ENABLED
-I/usr/local/src/gdal/port -I../frmts/zlib -DHAVE_LIBZ -c
cpl_vsil_unix_stdio_64.cpp  -fPIC -DPIC -o
.libs/cpl_vsil_unix_stdio_64.o
cpl_vsil_unix_stdio_64.cpp: In member function 'virtual int
VSIUnixStdioHandle::Seek(vsi_l_offset, int)':
cpl_vsil_unix_stdio_64.cpp:149: error: 'fseek64' was not declared in this scope
cpl_vsil_unix_stdio_64.cpp: In member function 'virtual vsi_l_offset
VSIUnixStdioHandle::Tell()':
cpl_vsil_unix_stdio_64.cpp:188: error: 'ftell64' was not declared in this scope
make[1]: *** [cpl_vsil_unix_stdio_64.o] Error 1
make[1]: Leaving directory `/usr/local/src/gdal/port'
make: *** [port-target] Error 2


-- 
-matt


More information about the gdal-dev mailing list