[mapguide-users] 2.0 rc4 build failing on Ubuntu 7.10

Jack Lee jack.lee at autodesk.com
Thu Feb 28 09:49:54 EST 2008


Hi,

What do you get if you execute

nm -C /home/joc/mgsvn/Web/src/HttpHandler/.libs/libMgHttpHandler.so|grep MgHtmlController::GetMapImage

?


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Jo Cook
Sent: Thursday, February 28, 2008 8:27 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] 2.0 rc4 build failing on Ubuntu 7.10


Hi All,

I had a working build of MGOS from svn that I wanted to upgrade to the
latest and greatest (build 3038 is the one I now have), but the new build is
now failing.

I get all the way through to the final make, but this fails with the
following error:

Making all in CgiAgent
make[3]: Entering directory `/home/joc/mgsvn/Web/src/CgiAgent'
/bin/sh ../../../libtool --tag=CXX --mode=link g++  -O2 -g -pipe -march=i386
-mcpu=i686 -fno-use-cxa-atexit -fexceptions   -o mapagent -version-info
7:0:0 -:0:0 -L../../../Oem/ACE/ACE_wrappers/ace
-L../../../Oem/dbxml-2.3.10/install/lib -L../../../Common/CoordinateSystem
-L../../../Common/MdfModel -L../../../Common/MdfParser
-L../../../Common/Foundation -L../../../Common/Geometry
-L../../../Common/PlatformBase -L../../../Common/MapGuideCommon
-L../HttpHandler MapAgentGetParser.o CgiPostParser.o CgiResponseHandler.o
MapAgentStrings.o EchoTest.o CgiAgent.o InitializeWebTier.o -lACE -lxerces-c
-lMgFoundation -lMgGeometry -lMgPlatformBase -lMgMdfModel -lMgMdfParser
-lMgHttpHandler
libtool: link: warning: `-version-info' is ignored for programs
g++ -O2 -g -pipe -march=i386 -mcpu=i686 -fno-use-cxa-atexit -fexceptions -o
.libs/mapagent MapAgentGetParser.o CgiPostParser.o CgiResponseHandler.o
MapAgentStrings.o EchoTest.o CgiAgent.o InitializeWebTier.o
-L/home/joc/mgsvn/Oem/ACE/ACE_wrappers/ace
-L/home/joc/mgsvn/Oem/dbxml-2.3.10/install/lib
-L/home/joc/mgsvn/Common/CoordinateSystem -L/home/joc/mgsvn/Common/MdfModel
-L/home/joc/mgsvn/Common/MdfParser -L/home/joc/mgsvn/Common/Foundation
-L/home/joc/mgsvn/Common/Geometry -L/home/joc/mgsvn/Common/PlatformBase
-L/home/joc/mgsvn/Common/MapGuideCommon
-L/home/joc/mgsvn/Web/src/HttpHandler -lACE -lxerces-c
/home/joc/mgsvn/Common/Foundation/.libs/libMgFoundation.so
/home/joc/mgsvn/Common/Geometry/.libs/libMgGeometry.so
/home/joc/mgsvn/Common/PlatformBase/.libs/libMgPlatformBase.so
/home/joc/mgsvn/Common/MdfModel/.libs/libMgMdfModel.so
/home/joc/mgsvn/Common/MdfParser/.libs/libMgMdfParser.so
/home/joc/mgsvn/Web/src/HttpHandler/.libs/libMgHttpHandler.so
-Wl,/usr/local/mapguideopensource/lib -Wl,--rpath
-Wl,/usr/local/mapguideopensource/webserverextensions/lib
/home/joc/mgsvn/Web/src/HttpHandler/.libs/libMgHttpHandler.so: undefined
reference to `MgHtmlController::GetMapImage(MgMap*, MgSelection*,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > const&, MgPropertyCollection*, bool, bool)'
collect2: ld returned 1 exit status
make[3]: *** [mapagent] Error 1
make[3]: Leaving directory `/home/joc/mgsvn/Web/src/CgiAgent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/joc/mgsvn/Web/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/joc/mgsvn/Web'
make: *** [all-recursive] Error 1

I remember a similar problem a few months ago to do with a missing reference
to liblibjson, which was resolved by adding some extra libraries to
cgiagent/makefile.am, but I'm not really sure where to go with this.

Can anyone help?

Many thanks

Jo
--
View this message in context: http://www.nabble.com/2.0-rc4-build-failing-on-Ubuntu-7.10-tp15736315s16610p15736315.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list