[mapguide-trac] #506: Mapguide 2.0 won't compile on Ubuntu?

MapGuide Open Source trac_mapguide at osgeo.org
Tue Mar 18 22:48:57 EDT 2008


#506: Mapguide 2.0 won't compile on Ubuntu?
--------------------------+-------------------------------------------------
 Reporter:  Rothgar       |         Owner:  ronnielouie
     Type:  defect        |        Status:  new        
 Priority:  high          |     Milestone:             
Component:  Build System  |       Version:  2.0.0      
 Severity:  critical      |    Resolution:             
 Keywords:                |   External_id:             
--------------------------+-------------------------------------------------
Comment (by Rothgar):

 Seems to be with the CgiAgent:

 make[3]: Entering directory `/home/mapguide-svn/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 -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/
 mapguide-svn/Oem/ACE/ACE_wrappers/ace -L/home/mapguide-
 svn/Oem/dbxml-2.3.10/install/lib -L/home/mapguide-
 svn/Common/CoordinateSystem -L/home/mapguide-svn/Common/MdfModel -L/home/
 mapguide-svn/Common/MdfParser -L/home/mapguide-svn/Common/Foundation
 -L/home/mapguide-svn/Common/Geometry -L/home/mapguide-
 svn/Common/PlatformBase -L/home/mapguide-svn/Common/MapGuideCommon
 -L/home/mapguide-svn/Web/src/HttpHandler -lACE -lxerces-c /home/mapguide-
 svn/Common/Foundation/.libs/libMgFoundation.so /home/mapguide-
 svn/Common/Geometry/.libs/libMgGeometry.so /home/mapguide-
 svn/Common/PlatformBase/.libs/libMgPlatformBase.so /home/mapguide-
 svn/Common/MdfModel/.libs/libMgMdfModel.so /home/mapguide-
 svn/Common/MdfParser/.libs/libMgMdfParser.so /home/mapguide-
 svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so  -Wl,--rpath
 -Wl,/home/mapguide/lib -Wl,--rpath
 -Wl,/home/mapguide/webserverextensions/lib
 /usr/bin/ld: warning: liblib_json.so, needed by /home/mapguide-
 svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so, not found (try using
 -rpath or -rpath-link)
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::Value(bool)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::Value(Json::StaticString const&)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::resize(int)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::operator[](Json::StaticString
 const&)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::~Value()'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::operator[](int)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::Value(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::FastWriter::write(Json::Value const&)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::Value(Json::Value const&)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::operator=(Json::Value const&)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::append(Json::Value const&)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::Value(Json::ValueType)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Writer::~Writer()'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::FastWriter::FastWriter()'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `Json::Value::operator[](std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&)'
 /home/mapguide-svn/Web/src/HttpHandler/.libs/libMgHttpHandler.so:
 undefined reference to `vtable for Json::FastWriter'
 collect2: ld returned 1 exit status
 make[3]: *** [mapagent] Error 1
 make[3]: Leaving directory `/home/mapguide-svn/Web/src/CgiAgent'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/mapguide-svn/Web/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/mapguide-svn/Web'
 make: *** [all-recursive] Error 1

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/506#comment:16>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list