[mapserver-dev] Compile problem on mapserver trunk and branch-6-2

Stephen Woodbridge woodbri at swoodbridge.com
Mon Jul 2 07:11:11 PDT 2012


Hi Umberto,

Thanks! It looks like trunk is resolved, but I'm still having problems 
with branch-6-2, this is probably because I'm still struggling with git :(

Basically in git I'm in my clone of master and then do the following

git branch --track branch-6-2 origin/branch-6-2
git checkout branch-6-2
git pull
./configure ....
make

and I still get the same loader errors. Did I do something wrong with 
creating the local branch in git, or is there still a problem in the branch?

Thanks,
   -Steve

On 7/2/2012 6:32 AM, Umberto Nicoletti wrote:
> 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 <mailto: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 <http://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 <http://libcroco-0.6.so>
>     /usr/lib/libglib-2.0.so <http://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 <mailto:mapserver-dev at lists.osgeo.org>
>     http://lists.osgeo.org/ mailman/listinfo/mapserver-dev
>     <http://lists.osgeo.org/mailman/listinfo/mapserver-dev>
>
>




More information about the mapserver-dev mailing list