[mapserver-users] 5.6.5 not compiling, some weird linker error
Gregor at HostGIS
gregor at hostgis.com
Thu Aug 19 16:40:20 PDT 2010
Hey guys. Still no luck on this one, thought maybe I'd ask again.
The compile gets as far as linking, then bombs. The error seems to be
related to AGG, and if I give --with-agg=no the compiles finished
successfully. Though, of course we do want AGG!
The system does not have AGG installed at present; 5.6 would be using
its own bundled version.
g++ -O2 -fPIC -Wall -DHAVE_VSNPRINTF -DNEED_STRLCAT -DNEED_STRRSTR
-DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_SOS_SVR -DUSE_LIBXML2
-DUSE_CURL -DUSE_WCS_SVR -DUSE_WFS_SVR -DUSE_WMS_SVR -DUSE_MYGIS
-DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL -DUSE_OGR
-DUSE_GEOS -DGEOS_HAS_SIMPLIFY -DUSE_THREAD -DUSE_PROJ -DUSE_EPPL
-DUSE_AGG -DUSE_PDF -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR
-DGD_HAS_GETBITMAPFONTS -DUSE_ICONV -DUSE_ZLIB -I/usr/include
-I/usr/include/freetype2 -I/usr/include -I/usr/include
-I/usr/include -I/usr/include/mysql -I/usr/include
-I/usr/include/libxml2 shp2img.o -L. -lmapserver -L/usr/lib -lgd
-ljpeg -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz -lpng -lz
-lXpm -lX11 -L/usr/lib -lpdf -ljpeg -L/usr/lib64 -Wl,--rpath
-Wl,/usr/lib64 -lfreetype -lz -lpng -lz -lXpm -lX11 -lproj -ljpeg -lpng
-L/usr/lib -lgdal -L/usr/lib -lgeos_c -L/usr/lib -lexpat -L/usr/lib
-lxerces-c -lpthread -L/usr/lib -lNCSEcw -lNCSCnet -lNCSUtil -L/usr
-L/usr/lib -lnetcdf -lpq -L/usr/lib -lpq -lz -L/usr -L/usr/lib -pthread
-lm -lrt -ldl -L/usr/lib64 -lcurl -lidn -lssl -lcrypto -ldl -lssl
-lcrypto -ldl -lz -L/usr/lib -lpq -lpgport -lssl -lcrypto -lz
-lreadline -ltermcap -lcrypt -ldl -lm -L/usr/lib/mysql -lmysqlclient
-lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -lmysqlclient
-L/usr/lib64 -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz
-L/usr/lib -lgeos_c -lpthread -lc -lz -lxml2 -lz -lm -lm -lstdc++
-o shp2img
`.gnu.linkonce.t._ZN9mapserver18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii'
referenced in section `.rodata' of
./libmapserver.a(agg_font_freetype.o): defined in discarded section
`.gnu.linkonce.t._ZN9mapserver18rasterizer_sl_clipINS_12ras_conv_intEE7line_toINS_19rasterizer_cells_aaINS_7cell_aaEEEEEvRT_ii'
of ./libmapserver.a(agg_font_freetype.o)
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
Any ideas as to what this means? I can't find any of it in Google.
--
HostGIS, Open Source solutions for the global GIS community
Greg Allensworth - SysAdmin, Programmer, GIS Person, Security
Network+ Server+ A+ Security+ Linux+
PHP PostgreSQL MySQL DHTML/JavaScript/AJAX
"No one cares if you can back up — only if you can recover."
More information about the MapServer-users
mailing list