[mapserver-dev] Compile problem on mapserver trunk and branch-6-2
Umberto Nicoletti
umberto.nicoletti at gmail.com
Mon Jul 2 03:32:17 PDT 2012
Sorry Steve, my bad.
It's now fixed in both master and 6-2 branches.
Umberto
On Sun, Jul 1, 2012 at 8:50 PM, Stephen Woodbridge
<woodbri at swoodbridge.com>wrote:
> Hi All,
>
> I'm getting a compile problem on mapserver truck. It looks like maybe some
> file(s) are missing mapserver.h that defines the macros that appear as
> undefined references.
>
> Any thoughts on this?
>
> -Steve W.
>
> [lots of ok stuff, then]
> libtool: compile: gcc -c -g -Wall -DUSE_PROJ_FASTPATHS
> -DIGNORE_MISSING_DATA -DUSE_SVG_CAIRO -DUSE_CAIRO -DUSE_FRIBIDI
> -DUSE_WMS_LYR -DUSE_LIBXML2 -DUSE_CURL -DUSE_CURLOPT_PROXYAUTH
> -DUSE_WFS_SVR -DUSE_WMS_SVR -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION
> -DUSE_GDAL -DUSE_OGR -DUSE_GEOS -DHAVE_SYNC_FETCH_AND_ADD -DUSE_PROJ
> -DUSE_GD -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_GIF -DUSE_ICONV -DUSE_JPEG
> -DUSE_GIF -DUSE_PNG -DUSE_FREETYPE -DHAVE_VSNPRINTF -DNEED_STRLCPY
> -DNEED_STRLCAT -DNEED_STRRSTR -DDISABLE_CVSID -I/usr/include/freetype2
> -Irenderers/agg/include -I/usr/include -I/usr/local/include/gdal
> -I/usr/include/postgresql -I/usr/include -I/usr/include/libxml2
> -I/usr/local/include -D_REENTRANT -I/usr/include/cairo
> -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
> -I/usr/include/pixman-1 -D_REENTRANT -I/usr/local/include
> -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb
> -I/usr/include/libpng12 -I/usr/include/pixman-1 shp2img.c -fPIC -DPIC -o
> .libs/shp2img.o
> /bin/sh ./libtool --mode=link --tag=CXX g++ -rpath /usr/local/lib
> shp2img.lo libmapserver.la -o shp2img
> libtool: link: g++ .libs/shp2img.o -o .libs/shp2img
> ./.libs/libmapserver.so -L/usr/lib -L/usr/lib64 -L/usr/local/lib
> -L/u/software/Geo_DSDK-7.0.0.**2167/3rd-party/lib/Release
> -L/u/software/Geo_DSDK-7.0.0.**2167/lib/Release
> -L/u/software/FileGDB_API/lib -L/usr/lib/mysql /usr/lib/libgd.so -lXpm
> -lX11 /usr/lib/libproj.so /usr/local/lib/libgdal.so /usr/lib/libsqlite3.so
> /usr/lib/libodbc.so /usr/lib/libodbcinst.so /usr/lib/libltdl.so -lxerces-c
> /usr/local/lib/libNCSEcw.so /usr/local/lib/libNCSEcwC.so
> /usr/local/lib/libNCSCnet.so /usr/local/lib/libNCSUtil.so
> /usr/lib/libjasper.so -lnetcdf -lmfhdf -ldf -logdi /usr/lib/libgif.so -lrt
> -ldl -lltidsdk -lFileGDBAPI -lfgdblinuxrtl /usr/lib/libmysqlclient.so -lm
> -lpthread -lcrypt -lnsl -lpq -lgeos_c /usr/lib/libxml2.so
> /usr/local/lib/libfribidi.so /usr/lib/libfreetype.so -lfontconfig -lpng12
> /usr/local/lib/libsvg-cairo.so /usr/local/lib/libsvg.so /usr/local/lib/
> libcroco-0.6.so /usr/lib/libglib-2.0.so /usr/lib/libexpat.so
> /usr/lib/libcurl.so -luriparser -lpng /usr/lib/libjpeg.so -lz
> /usr/lib/libcairo.so -Wl,-rpath -Wl,/usr/local/lib
> ./.libs/libmapserver.so: undefined reference to `MS_REFCNT_DECR'
> ./.libs/libmapserver.so: undefined reference to
> `MS_REFCNT_DECR_IS_NOT_ZERO'
> ./.libs/libmapserver.so: undefined reference to `MS_REFCNT_INIT'
> ./.libs/libmapserver.so: undefined reference to `MS_REFCNT_INCR'
> ./.libs/libmapserver.so: undefined reference to `MS_IS_VALID_ARRAY_INDEX'
> collect2: ld returned 1 exit status
> make: *** [shp2img] Error 1
> ______________________________**_________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/mapserver-dev<http://lists.osgeo.org/mailman/listinfo/mapserver-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120702/e91fd80a/attachment.html>
More information about the mapserver-dev
mailing list