I've made it through almost to the end, but now I'm stuck on these errors (scroll down). I don't know if they're related to the warnings that occur first:
g++411 -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/Geometry -I../../../Common/PlatformBase -I../../../Common/MapGuideCommon -I../../../Common/MdfModel -I../../../Oem/ACE/ACE_wrappers -I../../../Oem/LinuxApt/httpd-2.2.4/include -I../../../Oem/LinuxApt/httpd-2.2.4/srclib/apr/include -I../../../Oem/LinuxApt/httpd-2.2.4/srclib/apr-util/include -I../../../Oem/LinuxApt/httpd-2.2.4/os/unix -I/usr/local/mapguideopensource/webserverextensions/apache2/include -I../HttpHandler -I../WebSupport -I../MapAgentCommon -O2 -g -pipe -march=i386 -mcpu=i686 -fno-use-cxa-atexit -fexceptions -MT ApacheAgent.lo -MD -MP -MF .deps/ApacheAgent.Tpo -c ApacheAgent.cpp -fPIC -DPIC -o .libs/ApacheAgent.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. In file included from /usr/local/mapguideopensource/webserverextensions/apache2/include/ap_con fig.h:231, from /usr/local/mapguideopensource/webserverextensions/apache2/include/httpd. h:30, from ApacheAgent.cpp:19: /usr/local/mapguideopensource/webserverextensions/apache2/include/ap_con fig_auto.h:173:1: warning: "PACKAGE_BUGREPORT" redefined <command line>:1:1: warning: this is the location of the previous definition /usr/local/mapguideopensource/webserverextensions/apache2/include/ap_con fig_auto.h:176:1: warning: "PACKAGE_NAME" redefined <command line>:1:1: warning: this is the location of the previous definition /usr/local/mapguideopensource/webserverextensions/apache2/include/ap_con fig_auto.h:179:1: warning: "PACKAGE_STRING" redefined <command line>:1:1: warning: this is the location of the previous definition /usr/local/mapguideopensource/webserverextensions/apache2/include/ap_con fig_auto.h:182:1: warning: "PACKAGE_TARNAME" redefined <command line>:1:1: warning: this is the location of the previous definition /usr/local/mapguideopensource/webserverextensions/apache2/include/ap_con fig_auto.h:185:1: warning: "PACKAGE_VERSION" redefined <command line>:1:1: warning: this is the location of the previous definition In file included from /usr/local/mapguideopensource/webserverextensions/apache2/include/httpd. h:44, from ApacheAgent.cpp:19: /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:26:1: warning: "REG_ICASE" redefined In file included from ../../../Oem/ACE/ACE_wrappers/ace/os_include/os_regex.h:30, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.inl:5, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.h:56, from ../../../Oem/ACE/ACE_wrappers/ace/OS.h:40, from ../../../Common/Foundation/Foundation.h:51, from ../../../Common/Geometry/GeometryCommon.h:25, from ../../../Common/PlatformBase/PlatformBase.h:21, from ../../../Common/MapGuideCommon/MapGuideCommon.h:21, from ApacheAgent.cpp:17: /usr/include/regex.h:272:1: warning: this is the location of the previous definition In file included from /usr/local/mapguideopensource/webserverextensions/apache2/include/httpd. h:44, from ApacheAgent.cpp:19: /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:27:1: warning: "REG_NEWLINE" redefined In file included from ../../../Oem/ACE/ACE_wrappers/ace/os_include/os_regex.h:30, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.inl:5, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.h:56, from ../../../Oem/ACE/ACE_wrappers/ace/OS.h:40, from ../../../Common/Foundation/Foundation.h:51, from ../../../Common/Geometry/GeometryCommon.h:25, from ../../../Common/PlatformBase/PlatformBase.h:21, from ../../../Common/MapGuideCommon/MapGuideCommon.h:21, from ApacheAgent.cpp:17: /usr/include/regex.h:277:1: warning: this is the location of the previous definition In file included from /usr/local/mapguideopensource/webserverextensions/apache2/include/httpd. h:44, from ApacheAgent.cpp:19: /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:28:1: warning: "REG_NOTBOL" redefined In file included from ../../../Oem/ACE/ACE_wrappers/ace/os_include/os_regex.h:30, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.inl:5, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.h:56, from ../../../Oem/ACE/ACE_wrappers/ace/OS.h:40, from ../../../Common/Foundation/Foundation.h:51, from ../../../Common/Geometry/GeometryCommon.h:25, from ../../../Common/PlatformBase/PlatformBase.h:21, from ../../../Common/MapGuideCommon/MapGuideCommon.h:21, from ApacheAgent.cpp:17: /usr/include/regex.h:291:1: warning: this is the location of the previous definition In file included from /usr/local/mapguideopensource/webserverextensions/apache2/include/httpd. h:44, from ApacheAgent.cpp:19: /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:29:1: warning: "REG_NOTEOL" redefined In file included from ../../../Oem/ACE/ACE_wrappers/ace/os_include/os_regex.h:30, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.inl:5, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.h:56, from ../../../Oem/ACE/ACE_wrappers/ace/OS.h:40, from ../../../Common/Foundation/Foundation.h:51, from ../../../Common/Geometry/GeometryCommon.h:25, from ../../../Common/PlatformBase/PlatformBase.h:21, from ../../../Common/MapGuideCommon/MapGuideCommon.h:21, from ApacheAgent.cpp:17: /usr/include/regex.h:294:1: warning: this is the location of the previous definition In file included from /usr/local/mapguideopensource/webserverextensions/apache2/include/httpd. h:44, from ApacheAgent.cpp:19: /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:34:1: warning: "REG_EXTENDED" redefined In file included from ../../../Oem/ACE/ACE_wrappers/ace/os_include/os_regex.h:30, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.inl:5, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.h:56, from ../../../Oem/ACE/ACE_wrappers/ace/OS.h:40, from ../../../Common/Foundation/Foundation.h:51, from ../../../Common/Geometry/GeometryCommon.h:25, from ../../../Common/PlatformBase/PlatformBase.h:21, from ../../../Common/MapGuideCommon/MapGuideCommon.h:21, from ApacheAgent.cpp:17: /usr/include/regex.h:268:1: warning: this is the location of the previous definition In file included from /usr/local/mapguideopensource/webserverextensions/apache2/include/httpd. h:44, from ApacheAgent.cpp:19: /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:35:1: warning: "REG_NOSUB" redefined In file included from ../../../Oem/ACE/ACE_wrappers/ace/os_include/os_regex.h:30, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.inl:5, from ../../../Oem/ACE/ACE_wrappers/ace/OS_NS_regex.h:56, from ../../../Oem/ACE/ACE_wrappers/ace/OS.h:40, from ../../../Common/Foundation/Foundation.h:51, from ../../../Common/Geometry/GeometryCommon.h:25, from ../../../Common/PlatformBase/PlatformBase.h:21, from ../../../Common/MapGuideCommon/MapGuideCommon.h:21, from ApacheAgent.cpp:17: /usr/include/regex.h:281:1: warning: this is the location of the previous definition /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:41: error: conflicting declaration 'REG_BADBR' /usr/include/regex.h:322: error: 'REG_BADBR' has a previous declaration as 'reg_errcode_t REG_BADBR' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:42: error: conflicting declaration 'REG_BADPAT' /usr/include/regex.h:314: error: 'REG_BADPAT' has a previous declaration as 'reg_errcode_t REG_BADPAT' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:43: error: conflicting declaration 'REG_BADRPT' /usr/include/regex.h:325: error: 'REG_BADRPT' has a previous declaration as 'reg_errcode_t REG_BADRPT' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:44: error: conflicting declaration 'REG_EBRACE' /usr/include/regex.h:321: error: 'REG_EBRACE' has a previous declaration as 'reg_errcode_t REG_EBRACE' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:45: error: conflicting declaration 'REG_EBRACK' /usr/include/regex.h:319: error: 'REG_EBRACK' has a previous declaration as 'reg_errcode_t REG_EBRACK' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:46: error: conflicting declaration 'REG_ECOLLATE' /usr/include/regex.h:315: error: 'REG_ECOLLATE' has a previous declaration as 'reg_errcode_t REG_ECOLLATE' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:47: error: conflicting declaration 'REG_ECTYPE' /usr/include/regex.h:316: error: 'REG_ECTYPE' has a previous declaration as 'reg_errcode_t REG_ECTYPE' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:48: error: conflicting declaration 'REG_EESCAPE' /usr/include/regex.h:317: error: 'REG_EESCAPE' has a previous declaration as 'reg_errcode_t REG_EESCAPE' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:50: error: conflicting declaration 'REG_EPAREN' /usr/include/regex.h:320: error: 'REG_EPAREN' has a previous declaration as 'reg_errcode_t REG_EPAREN' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:51: error: conflicting declaration 'REG_ERANGE' /usr/include/regex.h:323: error: 'REG_ERANGE' has a previous declaration as 'reg_errcode_t REG_ERANGE' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:52: error: conflicting declaration 'REG_ESIZE' /usr/include/regex.h:329: error: 'REG_ESIZE' has a previous declaration as 'reg_errcode_t REG_ESIZE' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:53: error: conflicting declaration 'REG_ESPACE' /usr/include/regex.h:324: error: 'REG_ESPACE' has a previous declaration as 'reg_errcode_t REG_ESPACE' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:54: error: conflicting declaration 'REG_ESUBREG' /usr/include/regex.h:318: error: 'REG_ESUBREG' has a previous declaration as 'reg_errcode_t REG_ESUBREG' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:56: error: conflicting declaration 'REG_NOMATCH' /usr/include/regex.h:310: error: 'REG_NOMATCH' has a previous declaration as 'reg_errcode_t REG_NOMATCH' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:66: error: conflicting declaration 'typedef struct regex_t regex_t' /usr/include/regex.h:407: error: 'regex_t' has a previous declaration as 'typedef struct re_pattern_buffer regex_t' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:75: error: conflicting declaration 'typedef struct regmatch_t regmatch_t' /usr/include/regex.h:438: error: 'regmatch_t' has a previous declaration as 'typedef struct regmatch_t regmatch_t' /usr/local/mapguideopensource/webserverextensions/apache2/include/pcrepo six.h:80: error: declaration of C function 'int regexec(regex_t*, const char*, size_t, regmatch_t*, int)' conflicts with /usr/include/regex.h:544: error: previous declaration 'int regexec(const regex_t*, const char*, size_t, regmatch_t*, int)' here make[3]: *** [ApacheAgent.lo] Error 1 make[3]: Leaving directory `/root/mapguide/Web/src/ApacheAgent' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/mapguide/Web/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/mapguide/Web' make: *** [all-recursive] Error 1 I'd most appreciate any advice on how to get past this one. System is Fedora Core 6, and in this case I'm using GCC 4.1.1. Thanks, Marc n Marc Pfister Geospatial Data Manager ENPLAN [EMAIL PROTECTED] 530/221-0440 x108 530/221-6963 Fax
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
