[Mapserver-users] UNDEFINED REFERENCE ERRORS COMPILING MAPSERVER
Norman Vine
nhv at cape.com
Wed May 14 13:09:23 PDT 2003
>
> i had many problems installing the support libraries and
> programmes for UMN
> mapserver (using Cygwin under a WINNT Server). Now i finished this
> pre-installing and the final compiling of the mapserver edits the
> following
> error
> message:
>
> ....
> /usr/src/projects/gdal-1.1.8/ogr/ogr.a (or something else)...:...
> cpp: undefined reference to '.....'
try changing your Makefile to reflect the following
# Optional OGR Support. OGC Simple Feature inspired interface for vector
# formats. See http://gdal.velocet.ca/projects/opengis/
OGR= -DUSE_OGR
OGR_LIB= /usr/local/lib/ogr.a -L/usr/local/lib -lgdal.1.1
/usr/local/lib/ogr.a
OGR_INC= -I/usr/local/include
OGR_STATIC=
# Optional GDAL Support (provides read access to a variety of raster
formats)
# See http://www.remotesensing.org/gdal
GDAL= -DUSE_GDAL
GDAL_LIB=
GDAL_INC= -I/usr/local/include
HTH
Norman
More information about the MapServer-users
mailing list