[mapguide-users] FDO error building

Dorin did_1414 at yahoo.com
Sun Jan 15 04:12:23 EST 2012


I have linux kernel 2.6.24-30 and I had the foloowing error on FDO compiling

compile fdocore

configuring fdocore
.......

Making all in Common
make[1]: Entering directory `/usr/src/OpenSource/Utilities/Common'
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DPACKAGE_NAME=\"FDO\" -DPACKAGE_TARNAME=\"fdo\" -DPACKAGE_VERSION=\"3.7.0\" -DPACKAGE_STRING=\"FDO\ 3.7.0\" -DPACKAGE_BUGREPORT=\"http://fdo.osgeo.org\" -DPACKAGE=\"fdo\" -DVERSION=\"3.7.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 -I. -I/usr/src/OpenSource/Fdo/Unmanaged/Inc -I./Inc -I/usr/src/OpenSource/Fdo/Unmanaged/Src/Common    -O2 -MMD -MT  -D__USE_GNU -DLINUX -DLINUX_IA32 -pthread -DHAVE_GEOM_INFO_TYPE -MT yyConstraint.lo -MD -MP -MF .deps/yyConstraint.Tpo -c -o yyConstraint.lo `test -f 'Src/Parse/yyConstraint.cpp' || echo './'`Src/Parse/yyConstraint.cpp
 g++ -DPACKAGE_NAME=\"FDO\" -DPACKAGE_TARNAME=\"fdo\" -DPACKAGE_VERSION=\"3.7.0\" "-DPACKAGE_STRING=\"FDO 3.7.0\"" -DPACKAGE_BUGREPORT=\"http://fdo.osgeo.org\" -DPACKAGE=\"fdo\" -DVERSION=\"3.7.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 -I. -I/usr/src/OpenSource/Fdo/Unmanaged/Inc -I./Inc -I/usr/src/OpenSource/Fdo/Unmanaged/Src/Common -O2 -MMD -MT -D__USE_GNU -DLINUX -DLINUX_IA32 -pthread -DHAVE_GEOM_INFO_TYPE -MT yyConstraint.lo -MD -MP -MF .deps/yyConstraint.Tpo -c Src/Parse/yyConstraint.cpp  -fPIC -DPIC -o .libs/yyConstraint.o
In file included from ./Inc/Parse/Lex.h:38,
                 from ./Inc/Parse/Parse.h:33,
                 from Utilities/Common/Src/Parse/yyConstraint.y:48:
./Inc/Parse/yyConstraint.h:5:1: warning: "FdoToken_NULL" redefined
Src/Parse/yyConstraint.cpp:127:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:6:1: warning: "FdoToken_TRUE" redefined
Src/Parse/yyConstraint.cpp:128:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:7:1: warning: "FdoToken_FALSE" redefined
Src/Parse/yyConstraint.cpp:129:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:8:1: warning: "FdoToken_DATE" redefined
Src/Parse/yyConstraint.cpp:130:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:9:1: warning: "FdoToken_TIME" redefined
Src/Parse/yyConstraint.cpp:131:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:10:1: warning: "FdoToken_TIMESTAMP" redefined
Src/Parse/yyConstraint.cpp:132:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:11:1: warning: "FdoToken_GEOMFROMTEXT" redefined
Src/Parse/yyConstraint.cpp:133:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:12:1: warning: "FdoToken_AND" redefined
Src/Parse/yyConstraint.cpp:134:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:13:1: warning: "FdoToken_OR" redefined
Src/Parse/yyConstraint.cpp:135:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:14:1: warning: "FdoToken_NOT" redefined
Src/Parse/yyConstraint.cpp:136:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:15:1: warning: "FdoToken_LIKE" redefined
Src/Parse/yyConstraint.cpp:137:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:16:1: warning: "FdoToken_IN" redefined
Src/Parse/yyConstraint.cpp:138:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:17:1: warning: "FdoToken_BEYOND" redefined
Src/Parse/yyConstraint.cpp:139:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:18:1: warning: "FdoToken_WITHINDISTANCE" redefined
Src/Parse/yyConstraint.cpp:140:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:19:1: warning: "FdoToken_CONTAINS" redefined
Src/Parse/yyConstraint.cpp:141:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:20:1: warning: "FdoToken_COVEREDBY" redefined
Src/Parse/yyConstraint.cpp:142:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:21:1: warning: "FdoToken_CROSSES" redefined
Src/Parse/yyConstraint.cpp:143:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:22:1: warning: "FdoToken_DISJOINT" redefined
Src/Parse/yyConstraint.cpp:144:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:23:1: warning: "FdoToken_ENVELOPEINTERSECTS" redefined
Src/Parse/yyConstraint.cpp:145:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:24:1: warning: "FdoToken_EQUALS" redefined
Src/Parse/yyConstraint.cpp:146:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:25:1: warning: "FdoToken_INTERSECTS" redefined
Src/Parse/yyConstraint.cpp:147:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:26:1: warning: "FdoToken_INSIDE" redefined
Src/Parse/yyConstraint.cpp:148:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:27:1: warning: "FdoToken_OVERLAPS" redefined
Src/Parse/yyConstraint.cpp:149:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:28:1: warning: "FdoToken_TOUCHES" redefined
Src/Parse/yyConstraint.cpp:150:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:29:1: warning: "FdoToken_WITHIN" redefined
Src/Parse/yyConstraint.cpp:151:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:30:1: warning: "FdoToken_RELATE" redefined
Src/Parse/yyConstraint.cpp:152:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:31:1: warning: "FdoToken_IDENTIFIER" redefined
Src/Parse/yyConstraint.cpp:153:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:32:1: warning: "FdoToken_PARAMETER" redefined
Src/Parse/yyConstraint.cpp:154:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:33:1: warning: "FdoToken_STRING" redefined
Src/Parse/yyConstraint.cpp:155:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:34:1: warning: "FdoToken_INTEGER" redefined
Src/Parse/yyConstraint.cpp:156:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:35:1: warning: "FdoToken_INT64" redefined
Src/Parse/yyConstraint.cpp:157:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:36:1: warning: "FdoToken_DOUBLE" redefined
Src/Parse/yyConstraint.cpp:158:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:37:1: warning: "FdoToken_DATETIME" redefined
Src/Parse/yyConstraint.cpp:159:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:38:1: warning: "FdoToken_BLOB" redefined
Src/Parse/yyConstraint.cpp:160:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:39:1: warning: "FdoToken_CLOB" redefined
Src/Parse/yyConstraint.cpp:161:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:40:1: warning: "FdoToken_Add" redefined
Src/Parse/yyConstraint.cpp:162:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:41:1: warning: "FdoToken_Subtract" redefined
Src/Parse/yyConstraint.cpp:163:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:42:1: warning: "FdoToken_Multiply" redefined
Src/Parse/yyConstraint.cpp:164:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:43:1: warning: "FdoToken_Divide" redefined
Src/Parse/yyConstraint.cpp:165:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:44:1: warning: "FdoToken_Negate" redefined
Src/Parse/yyConstraint.cpp:166:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:45:1: warning: "FdoToken_EQ" redefined
Src/Parse/yyConstraint.cpp:167:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:46:1: warning: "FdoToken_NE" redefined
Src/Parse/yyConstraint.cpp:168:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:47:1: warning: "FdoToken_GT" redefined
Src/Parse/yyConstraint.cpp:169:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:48:1: warning: "FdoToken_GE" redefined
Src/Parse/yyConstraint.cpp:170:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:49:1: warning: "FdoToken_LT" redefined
Src/Parse/yyConstraint.cpp:171:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:50:1: warning: "FdoToken_LE" redefined
Src/Parse/yyConstraint.cpp:172:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:51:1: warning: "FdoToken_LeftParenthesis" redefined
Src/Parse/yyConstraint.cpp:173:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:52:1: warning: "FdoToken_RightParenthesis" redefined
Src/Parse/yyConstraint.cpp:174:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:53:1: warning: "FdoToken_LeftSquareBrackets" redefined
Src/Parse/yyConstraint.cpp:175:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:54:1: warning: "FdoToken_RightSquareBrackets" redefined
Src/Parse/yyConstraint.cpp:176:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:55:1: warning: "FdoToken_Comma" redefined
Src/Parse/yyConstraint.cpp:177:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:56:1: warning: "FdoToken_Dot" redefined
Src/Parse/yyConstraint.cpp:178:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:57:1: warning: "FdoToken_Colon" redefined
Src/Parse/yyConstraint.cpp:179:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:58:1: warning: "FdoToken_AS" redefined
Src/Parse/yyConstraint.cpp:180:1: warning: this is the location of the previous definition
./Inc/Parse/yyConstraint.h:59:1: warning: "FdoToken_BETWEEN" redefined
Src/Parse/yyConstraint.cpp:181:1: warning: this is the location of the previous definition
Utilities/Common/Src/Parse/yyConstraint.y:73: error: using typedef-name 'FDO_CONSTRAINT_YYSTYPE' after 'union'
./Inc/Parse/yyConstraint.h:69: error: 'FDO_CONSTRAINT_YYSTYPE' has a previous declaration here
Utilities/Common/Src/Parse/yyConstraint.y:54: error: function definition does not declare parameters
yyConstraint.cpp:240: error: declaration does not declare anything
yyConstraint.cpp:415: error: expected ';' before '->' token
yyConstraint.cpp:416: error: expected ';' before '->' token
yyConstraint.cpp:1222: error: expected ',' or '...' before '->' token
yyConstraint.cpp: In function 'void fdo_constraint_yydestruct(const char*, int, FDO_CONSTRAINT_YYSTYPE*)':
yyConstraint.cpp:1231: error: 'union _FDO_CONSTRAINT_YYSTYPE' has no member named 'fdo_constraint_yyvaluep'
yyConstraint.cpp: In function 'int fdo_constraint_yyparse()':
yyConstraint.cpp:1323: error: expected initializer before '->' token
yyConstraint.cpp:1324: error: expected initializer before '->' token
yyConstraint.cpp:1328: error: expected initializer before '->' token
yyConstraint.cpp:1334: error: expected initializer before '->' token
yyConstraint.cpp:1348: error: 'pParse' was not declared in this scope
yyConstraint.cpp:1416: error: 'union fdo_constraint_yyalloc' has no member named 'pParse'
yyConstraint.cpp:1416: error: 'union fdo_constraint_yyalloc' has no member named 'pParse'
yyConstraint.cpp:1417: error: 'union fdo_constraint_yyalloc' has no member named 'fdo_constraint_yyvs'
yyConstraint.cpp:1417: error: 'fdo_constraint_yyvs' was not declared in this scope
yyConstraint.cpp:1417: error: 'union fdo_constraint_yyalloc' has no member named 'fdo_constraint_yyvs'
./Inc/Parse/Parse.h:118: error: too few arguments to function 'FdoInt32 fdo_constraint_yylex(FdoCommonParse*)'
yyConstraint.cpp:1460: error: at this point in file
yyConstraint.cpp:2016: error: cannot convert 'const char*' to 'FdoCommonParse*' for argument '1' to 'FdoInt32 fdo_constraint_yyerror(FdoCommonParse*, char*)'
yyConstraint.cpp:2162: error: cannot convert 'const char*' to 'FdoCommonParse*' for argument '1' to 'FdoInt32 fdo_constraint_yyerror(FdoCommonParse*, char*)'
make[1]: *** [yyConstraint.lo] Error 1
make[1]: Leaving directory `/usr/src/OpenSource/Utilities/Common'
make: *** [all-recursive] Error 1

Please help me to go further.
Dorin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20120115/23dce9d6/attachment.html


More information about the mapguide-users mailing list