[mapguide-trac] #506: Mapguide 2.0 Apache won't compile on Ubuntu?
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Mar 18 04:50:18 EDT 2008
#506: Mapguide 2.0 Apache won't compile on Ubuntu?
--------------------------+-------------------------------------------------
Reporter: Rothgar | Owner:
Type: defect | Status: new
Priority: high | Milestone:
Component: Build System | Version: 2.0.0
Severity: critical | Resolution:
Keywords: | External_id:
--------------------------+-------------------------------------------------
Comment (by Rothgar):
Now building the MapGuide Server fails with a new error, using the SVN:
make[4]: Entering directory `/home/mapguide-svn/Server/src/Common/Cache'
if /bin/sh ../../../../libtool --tag=CXX --mode=compile g++
-DPACKAGE_NAME=\"mapguide\" -DPACKAGE_TARNAME=\"mapguide\"
-DPACKAGE_VERSION=\"2.0.0\" -DPACKAGE_STRING=\"mapguide\ 2.0.0\"
-DPACKAGE_BUGREPORT=\"http://mapguide.osgeo.org\" -DPACKAGE=\"mapguide\"
-DVERSION=\"2.0.0\" -DPACKAGE=\"mapguide\" -DVERSION=\"2.0.0\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_NETDB_H=1
-DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SOCKET_H=1
-DHAVE_GETHOSTBYNAME=1 -DHAVE_SOCKET=1 -DHAVE_HTONS=1 -DHAVE_CONNECT=1
-DHAVE_SHUTDOWN=1 -I. -I. -I../../../../Common/Foundation
-I../../../../Common/PlatformBase -I../../../../Common/MapGuideCommon
-I../../../../Common/Geometry -I../../../../Common/MdfModel
-I../../../../Oem/ACE/ACE_wrappers -I../../../../Oem/FDO/inc -O2 -g
-pipe -march=i386 -mcpu=i686 -fno-use-cxa-atexit -fexceptions -MT
ServerCacheBuild.lo -MD -MP -MF ".deps/ServerCacheBuild.Tpo" -c -o
ServerCacheBuild.lo ServerCacheBuild.cpp; \
then mv -f ".deps/ServerCacheBuild.Tpo" ".deps/ServerCacheBuild.Plo";
else rm -f ".deps/ServerCacheBuild.Tpo"; exit 1; fi
mkdir .libs
g++ -DPACKAGE_NAME=\"mapguide\" -DPACKAGE_TARNAME=\"mapguide\"
-DPACKAGE_VERSION=\"2.0.0\" "-DPACKAGE_STRING=\"mapguide 2.0.0\""
-DPACKAGE_BUGREPORT=\"http://mapguide.osgeo.org\" -DPACKAGE=\"mapguide\"
-DVERSION=\"2.0.0\" -DPACKAGE=\"mapguide\" -DVERSION=\"2.0.0\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_MATH_H=1 -DHAVE_NETDB_H=1
-DHAVE_NETINET_IN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SOCKET_H=1
-DHAVE_GETHOSTBYNAME=1 -DHAVE_SOCKET=1 -DHAVE_HTONS=1 -DHAVE_CONNECT=1
-DHAVE_SHUTDOWN=1 -I. -I. -I../../../../Common/Foundation
-I../../../../Common/PlatformBase -I../../../../Common/MapGuideCommon
-I../../../../Common/Geometry -I../../../../Common/MdfModel
-I../../../../Oem/ACE/ACE_wrappers -I../../../../Oem/FDO/inc -O2 -g -pipe
-march=i386 -mcpu=i686 -fno-use-cxa-atexit -fexceptions -MT
ServerCacheBuild.lo -MD -MP -MF .deps/ServerCacheBuild.Tpo -c
ServerCacheBuild.cpp -fPIC -DPIC -o .libs/ServerCacheBuild.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from FeatureServiceCache.h:22,
from FeatureServiceCache.cpp:19,
from ServerCacheBuild.cpp:21:
FeatureServiceCacheEntry.h:24:17: error: Fdo.h: No such file or directory
FeatureServiceCacheEntry.h:84: error: ISO C++ forbids declaration of
'FdoFeatureSchemaCollection' with no type
FeatureServiceCacheEntry.h:84: error: expected ';' before '*' token
FeatureServiceCacheEntry.h:85: error: 'FdoFeatureSchemaCollection' has not
been declared
FeatureServiceCacheEntry.h:111: error: ISO C++ forbids declaration of
'FdoPtr' with no type
FeatureServiceCacheEntry.h:111: error: expected ';' before '<' token
FeatureServiceCache.h:83: error: 'FdoFeatureSchemaCollection' has not been
declared
FeatureServiceCache.h:84: error: ISO C++ forbids declaration of
'FdoFeatureSchemaCollection' with no type
FeatureServiceCache.h:84: error: expected ';' before '*' token
FeatureServiceCache.cpp:680: error: 'FdoFeatureSchemaCollection' has not
been declared
FeatureServiceCache.cpp: In member function 'void
MgFeatureServiceCache::SetFdoFeatureSchemaCollection(MgResourceIdentifier*,
const std::wstring&, int*)':
FeatureServiceCache.cpp:688: error: 'FdoPtr' was not declared in this
scope
FeatureServiceCache.cpp:688: error: 'FdoFeatureSchemaCollection' was not
declared in this scope
FeatureServiceCache.cpp:688: error: 'data' was not declared in this scope
FeatureServiceCache.cpp:688: error: 'class
_NoAddRefReleaseOnPtr<MgFeatureServiceCacheEntry>' has no member named
'GetFdoFeatureSchemaCollection'
FeatureServiceCache.cpp: At global scope:
FeatureServiceCache.cpp:706: error: expected constructor, destructor, or
type conversion before '*' token
FeatureServiceCacheEntry.cpp: In member function 'void
MgFeatureServiceCacheEntry::SetFeatureSchemaName(const std::wstring&)':
FeatureServiceCacheEntry.cpp:73: error: 'FdoFeatureSchemaCollection' was
not declared in this scope
FeatureServiceCacheEntry.cpp:73: error: expected primary-expression before
')' token
FeatureServiceCacheEntry.cpp: At global scope:
FeatureServiceCacheEntry.cpp:172: error: variable or field
'SetFdoFeatureSchemaCollection' declared void
FeatureServiceCacheEntry.cpp:172: error: 'int
MgFeatureServiceCacheEntry::SetFdoFeatureSchemaCollection' is not a static
member of 'class MgFeatureServiceCacheEntry'
FeatureServiceCacheEntry.cpp:172: error: 'FdoFeatureSchemaCollection' was
not declared in this scope
FeatureServiceCacheEntry.cpp:172: error: 'featureSchemaCollection' was not
declared in this scope
FeatureServiceCacheEntry.cpp:173: error: expected ',' or ';' before '{'
token
FeatureServiceCacheEntry.cpp:177: error: expected constructor, destructor,
or type conversion before '*' token
make[4]: *** [ServerCacheBuild.lo] Error 1
make[4]: Leaving directory `/home/mapguide-svn/Server/src/Common/Cache'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mapguide-svn/Server/src/Common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mapguide-svn/Server/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mapguide-svn/Server'
make: *** [all-recursive] Error 1
root at mapsrv:/home/mapguide-svn#
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/506#comment:5>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list