Ticket #1543 (closed defect: invalid)
Unable to compile mapserver with OGR enabled
| Reported by: | Donald.J.Miller@… | Owned by: | mapserverbugs |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Build Problems | Version: | 4.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Installation of mapserver 4.6.1 unable to complete, error below: gcc -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WFS_SVR -DUSE_WCS_SVR -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV -DUSE_POSTGIS -DUSE_MYGIS -DUSE_ZLIB -I/usr/include -I/usr/local/gdal/include -I/usr/local/pgsql/include -I/usr/local/mysql/include/mysql -I/usr/local/geos/include shp2img.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -lfreetype -lpng -lz -ljpeg -lfreetype -lpng -lz -lproj -ljpeg -L/usr/local/gdal/lib -lgdal -L/usr/local/pgsql/lib -lpq -L/usr/local/mysql/lib/mysql -lmysqlclient -L/usr/lib -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -lmysqlclient -L/usr/local/geos/lib -lgeos -lc -lz -lm -lstdc++ -o shp2img ./libmap.a(mapogr.o)(.text+0x1201): In function `msOGRFileWhichShapes(layer_obj*, rectObj, ms_ogr_file_info_t*)': : undefined reference to `OGRLineString::setPoint(int, double, double)' ./libmap.a(mapogr.o)(.text+0x1218): In function `msOGRFileWhichShapes(layer_obj*, rectObj, ms_ogr_file_info_t*)': : undefined reference to `OGRLineString::setPoint(int, double, double)' ./libmap.a(mapogr.o)(.text+0x122f): In function `msOGRFileWhichShapes(layer_obj*, rectObj, ms_ogr_file_info_t*)': : undefined reference to `OGRLineString::setPoint(int, double, double)' ./libmap.a(mapogr.o)(.text+0x1246): In function `msOGRFileWhichShapes(layer_obj*, rectObj, ms_ogr_file_info_t*)': : undefined reference to `OGRLineString::setPoint(int, double, double)' ./libmap.a(mapogr.o)(.text+0x125d): In function `msOGRFileWhichShapes(layer_obj*, rectObj, ms_ogr_file_info_t*)': : undefined reference to `OGRLineString::setPoint(int, double, double)' collect2: ld returned 1 exit status make: *** [shp2img] Error 1 GDAL 1.3.1 with OGR installed in /usr/local/gdal. System: RedHat FC3. Thank you.
Change History
Note: See
TracTickets for help on using
tickets.
