make[1]: Entering directory `/var/tmp/portage/postgresql-7.3.15/work/postgresql-7.3.15/contrib/cube' sed 's,MODULE_PATHNAME,$libdir/cube,g' cube.sql.in >cube.sql alpha-unknown-linux-gnu-gcc -mieee -pipe -O2 -mcpu=ev56 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../src/include -c -o cube.o cube.c -MMD bison -y -d -p cube_yy cubeparse.y sed -e 's/"syntax error/"parse error/' < y.tab.c > cubeparse.c mv -f y.tab.h cubeparse.h rm -f y.tab.c /usr/bin/flex -Pcube_yy -o'cubescan.c' cubescan.l alpha-unknown-linux-gnu-gcc -mieee -pipe -O2 -mcpu=ev56 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I. -I../../src/include -c -o cubeparse.o cubeparse.c -MMD In file included from cubeparse.y:279: cubescan.c:641: error: syntax error before "YY_PROTO" cubescan.c:641: error: syntax error before "YY_PROTO" cubescan.c:652: error: syntax error before "if" cubescan.c:671: warning: type defaults to `int' in declaration of `yy_buffer_stack' cubescan.c:671: error: variable-size type declared outside of any function cubescan.c:671: error: variable-sized object may not be initialized cubescan.c:671: error: conflicting types for 'yy_buffer_stack' cubescan.c:259: error: previous definition of 'yy_buffer_stack' was here cubescan.c:672: warning: data definition has no type or storage class cubescan.c:673: error: syntax error before '}' token cubescan.c:675: warning: type defaults to `int' in declaration of `cube_yy_load_buffer_state' cubescan.c:675: error: conflicting types for 'cube_yy_load_buffer_state' cubescan.c:300: error: previous declaration of 'cube_yy_load_buffer_state' was here cubescan.c:675: error: conflicting types for 'cube_yy_load_buffer_state' cubescan.c:300: error: previous declaration of 'cube_yy_load_buffer_state' was here cubescan.c:675: warning: data definition has no type or storage class cubescan.c:676: error: syntax error before '}' token cubescan.c:683: warning: type defaults to `int' in declaration of `yy_cp' cubescan.c:683: error: conflicting types for 'yy_cp' cubescan.c:644: error: previous declaration of 'yy_cp' was here cubescan.c:683: warning: initialization makes pointer from integer without a cast cubescan.c:683: error: initializer element is not constant cubescan.c:683: warning: data definition has no type or storage class cubescan.c:688: warning: type defaults to `int' in declaration of `yy_bp' cubescan.c:688: error: conflicting types for 'yy_bp' cubescan.c:644: error: previous declaration of 'yy_bp' was here cubescan.c:688: warning: initialization makes integer from pointer without a cast cubescan.c:688: error: initializer element is not constant cubescan.c:688: warning: data definition has no type or storage class cubescan.c:690: warning: type defaults to `int' in declaration of `yy_current_state' cubescan.c:690: error: initializer element is not constant cubescan.c:690: warning: data definition has no type or storage class cubescan.c:691: error: syntax error before ':' token cubescan.c:698: warning: type defaults to `int' in declaration of `yy_last_accepting_cpos' cubescan.c:698: error: conflicting types for 'yy_last_accepting_cpos' cubescan.c:457: error: previous declaration of 'yy_last_accepting_cpos' was herecubescan.c:698: warning: initialization makes integer from pointer without a cast cubescan.c:698: error: initializer element is not constant cubescan.c:698: warning: data definition has no type or storage class cubescan.c:699: error: syntax error before '}' token cubescan.c:706: warning: type defaults to `int' in declaration of `yy_current_state' cubescan.c:706: error: redefinition of 'yy_current_state' cubescan.c:690: error: previous definition of 'yy_current_state' was here cubescan.c:706: error: `yy_c' undeclared here (not in a function) cubescan.c:706: warning: data definition has no type or storage class cubescan.c:707: error: syntax error before '++' token cubescan.c:710: warning: type defaults to `int' in declaration of `yy_cp' cubescan.c:710: error: conflicting types for 'yy_cp' cubescan.c:683: error: previous definition of 'yy_cp' was here cubescan.c:710: error: conflicting types for 'yy_cp' cubescan.c:683: error: previous definition of 'yy_cp' was here cubescan.c:710: error: initializer element is not constant cubescan.c:710: warning: data definition has no type or storage class cubescan.c:711: warning: type defaults to `int' in declaration of `yy_current_state' cubescan.c:711: error: redefinition of 'yy_current_state' cubescan.c:706: error: previous definition of 'yy_current_state' was here cubescan.c:711: error: redefinition of 'yy_current_state' cubescan.c:706: error: previous definition of 'yy_current_state' was here cubescan.c:711: error: initializer element is not constant cubescan.c:711: warning: data definition has no type or storage class cubescan.c:713: error: syntax error before ':' token cubescan.c:716: warning: type defaults to `int' in declaration of `cube_yytext' cubescan.c:716: error: conflicting types for 'cube_yytext' cubescan.c:469: error: previous declaration of 'cube_yytext' was here cubescan.c:716: error: initializer element is not constant cubescan.c:716: warning: data definition has no type or storage class cubescan.c:716: warning: type defaults to `int' in declaration of `cube_yyleng' cubescan.c:716: error: initializer element is not constant cubescan.c:716: warning: data definition has no type or storage class cubescan.c:716: warning: type defaults to `int' in declaration of `yy_hold_char'cubescan.c:716: error: conflicting types for 'yy_hold_char' cubescan.c:277: error: previous declaration of 'yy_hold_char' was here cubescan.c:716: error: invalid type argument of `unary *' cubescan.c:716: warning: data definition has no type or storage class cubescan.c:716: warning: type defaults to `int' in declaration of `yy_cp' cubescan.c:716: error: conflicting types for 'yy_cp' cubescan.c:710: error: previous definition of 'yy_cp' was here cubescan.c:716: error: redefinition of 'yy_cp' cubescan.c:683: error: previous definition of 'yy_cp' was here cubescan.c:716: warning: data definition has no type or storage class cubescan.c:716: warning: type defaults to `int' in declaration of `yy_c_buf_p' cubescan.c:716: error: conflicting types for 'yy_c_buf_p' cubescan.c:282: error: previous definition of 'yy_c_buf_p' was here cubescan.c:716: warning: initialization makes integer from pointer without a cast cubescan.c:716: error: initializer element is not constant cubescan.c:716: warning: data definition has no type or storage class cubescan.c:718: error: syntax error before ':' token cubescan.c:725: warning: type defaults to `int' in declaration of `yy_cp' cubescan.c:725: error: conflicting types for 'yy_cp' cubescan.c:716: error: previous definition of 'yy_cp' was here cubescan.c:725: error: conflicting types for 'yy_cp' cubescan.c:683: error: previous definition of 'yy_cp' was here cubescan.c:725: error: initializer element is not constant cubescan.c:725: warning: data definition has no type or storage class cubescan.c:726: warning: type defaults to `int' in declaration of `yy_current_state' cubescan.c:726: error: redefinition of 'yy_current_state' cubescan.c:711: error: previous definition of 'yy_current_state' was here cubescan.c:726: error: redefinition of 'yy_current_state' cubescan.c:706: error: previous definition of 'yy_current_state' was here cubescan.c:726: error: initializer element is not constant cubescan.c:726: warning: data definition has no type or storage class cubescan.c:727: error: syntax error before "goto" cubescan.c:784: warning: type defaults to `int' in declaration of `yy_cp' cubescan.c:784: error: conflicting types for 'yy_cp' cubescan.c:725: error: previous definition of 'yy_cp' was here cubescan.c:784: error: redefinition of 'yy_cp' cubescan.c:683: error: previous definition of 'yy_cp' was here cubescan.c:784: warning: initialization makes pointer from integer without a cast cubescan.c:784: error: initializer element is not constant cubescan.c:784: warning: data definition has no type or storage class cubescan.c:787: error: syntax error before "if" cubescan.c:799: error: syntax error before '->' token cubescan.c:800: error: syntax error before '->' token cubescan.c:814: warning: type defaults to `int' in declaration of `yy_c_buf_p' cubescan.c:814: error: redefinition of 'yy_c_buf_p' cubescan.c:716: error: previous definition of 'yy_c_buf_p' was here cubescan.c:814: error: redefinition of 'yy_c_buf_p' cubescan.c:716: error: previous definition of 'yy_c_buf_p' was here cubescan.c:814: error: `yy_amount_of_matched_text' undeclared here (not in a function) cubescan.c:814: warning: data definition has no type or storage class cubescan.c:816: warning: type defaults to `int' in declaration of `yy_current_state' cubescan.c:816: error: redefinition of 'yy_current_state' cubescan.c:726: error: previous definition of 'yy_current_state' was here cubescan.c:816: error: redefinition of 'yy_current_state' cubescan.c:706: error: previous definition of 'yy_current_state' was here cubescan.c:816: error: initializer element is not constant cubescan.c:816: warning: data definition has no type or storage class cubescan.c:827: warning: type defaults to `int' in declaration of `yy_next_state' cubescan.c:827: error: initializer element is not constant cubescan.c:827: warning: data definition has no type or storage class cubescan.c:829: warning: type defaults to `int' in declaration of `yy_bp' cubescan.c:829: error: redefinition of 'yy_bp' cubescan.c:688: error: previous definition of 'yy_bp' was here cubescan.c:829: error: redefinition of 'yy_bp' cubescan.c:688: error: previous definition of 'yy_bp' was here cubescan.c:829: error: initializer element is not constant cubescan.c:829: warning: data definition has no type or storage class cubescan.c:831: error: syntax error before "if" cubescan.c:835: warning: type defaults to `int' in declaration of `yy_current_state' cubescan.c:835: error: redefinition of 'yy_current_state' cubescan.c:816: error: previous definition of 'yy_current_state' was here cubescan.c:835: error: redefinition of 'yy_current_state' cubescan.c:706: error: previous definition of 'yy_current_state' was here cubescan.c:835: error: initializer element is not constant cubescan.c:835: warning: data definition has no type or storage class cubescan.c:836: error: syntax error before "goto" cubescan.c:842: warning: type defaults to `int' in declaration of `yy_current_state' cubescan.c:842: error: redefinition of 'yy_current_state' cubescan.c:835: error: previous definition of 'yy_current_state' was here cubescan.c:842: error: redefinition of 'yy_current_state' cubescan.c:706: error: previous definition of 'yy_current_state' was here cubescan.c:842: error: initializer element is not constant cubescan.c:842: warning: data definition has no type or storage class cubescan.c:843: error: syntax error before "goto" cubescan.c:866: warning: type defaults to `int' in declaration of `yy_act' cubescan.c:866: error: non-static declaration of 'yy_act' follows static declaration cubescan.c:645: error: previous declaration of 'yy_act' was here cubescan.c:866: error: initializer element is not constant cubescan.c:866: warning: data definition has no type or storage class cubescan.c:867: error: syntax error before "goto" cubescan.c:882: warning: type defaults to `int' in declaration of `yy_current_state' cubescan.c:882: error: redefinition of 'yy_current_state' cubescan.c:842: error: previous definition of 'yy_current_state' was here cubescan.c:882: error: redefinition of 'yy_current_state' cubescan.c:706: error: previous definition of 'yy_current_state' was here cubescan.c:882: error: initializer element is not constant cubescan.c:882: warning: data definition has no type or storage class cubescan.c:884: warning: type defaults to `int' in declaration of `yy_cp' cubescan.c:884: error: conflicting types for 'yy_cp' cubescan.c:784: error: previous definition of 'yy_cp' was here cubescan.c:884: error: conflicting types for 'yy_cp' cubescan.c:683: error: previous definition of 'yy_cp' was here cubescan.c:884: error: initializer element is not constant cubescan.c:884: warning: data definition has no type or storage class cubescan.c:885: warning: type defaults to `int' in declaration of `yy_bp' cubescan.c:885: error: redefinition of 'yy_bp' cubescan.c:829: error: previous definition of 'yy_bp' was here cubescan.c:885: error: redefinition of 'yy_bp' cubescan.c:688: error: previous definition of 'yy_bp' was here cubescan.c:885: error: initializer element is not constant cubescan.c:885: warning: data definition has no type or storage class cubescan.c:886: error: syntax error before "goto" cubescan.c:892: warning: type defaults to `int' in declaration of `yy_current_state' cubescan.c:892: error: redefinition of 'yy_current_state' cubescan.c:882: error: previous definition of 'yy_current_state' was here cubescan.c:892: error: redefinition of 'yy_current_state' cubescan.c:706: error: previous definition of 'yy_current_state' was here cubescan.c:892: error: initializer element is not constant cubescan.c:892: warning: data definition has no type or storage class cubescan.c:894: warning: type defaults to `int' in declaration of `yy_cp' cubescan.c:894: error: redefinition of 'yy_cp' cubescan.c:884: error: previous definition of 'yy_cp' was here cubescan.c:894: error: conflicting types for 'yy_cp' cubescan.c:683: error: previous definition of 'yy_cp' was here cubescan.c:894: error: initializer element is not constant cubescan.c:894: warning: data definition has no type or storage class cubescan.c:895: warning: type defaults to `int' in declaration of `yy_bp' cubescan.c:895: error: redefinition of 'yy_bp' cubescan.c:885: error: previous definition of 'yy_bp' was here cubescan.c:895: error: redefinition of 'yy_bp' cubescan.c:688: error: previous definition of 'yy_bp' was here cubescan.c:895: error: initializer element is not constant cubescan.c:895: warning: data definition has no type or storage class cubescan.c:896: error: syntax error before "goto" cubescan.c: In function `yy_get_next_buffer': cubescan.c:917: error: invalid type argument of `->' cubescan.c:918: warning: initialization makes pointer from integer without a cast cubescan.c:922: error: invalid type argument of `->' cubescan.c:926: error: invalid type argument of `->' cubescan.c:953: error: invalid type argument of `->' cubescan.c:957: error: invalid type argument of `->' cubescan.c:962: error: invalid type argument of `->' cubescan.c:968: warning: pointer/integer type mismatch in conditional expressioncubescan.c:971: error: invalid operands to binary - cubescan.c:994: warning: assignment makes integer from pointer without a cast cubescan.c:996: error: invalid type argument of `->' cubescan.c:1005: error: invalid type argument of `->' cubescan.c:1005: warning: left-hand operand of comma expression has no effect cubescan.c:1008: error: invalid type argument of `->' cubescan.c:1022: error: invalid type argument of `->' cubescan.c:1031: error: invalid type argument of `->' cubescan.c:1032: error: invalid type argument of `->' cubescan.c:1034: error: invalid type argument of `->' cubescan.c: In function `yy_get_previous_state': cubescan.c:1048: warning: assignment makes pointer from integer without a cast cubescan.c:1048: warning: comparison between pointer and integer cubescan.c:1054: warning: assignment makes integer from pointer without a cast cubescan.c: In function `yy_try_NUL_trans': cubescan.c:1076: warning: initialization makes pointer from integer without a cast cubescan.c:1082: warning: assignment makes integer from pointer without a cast cubescan.c: In function `input': cubescan.c:1106: error: invalid type argument of `unary *' cubescan.c:1108: error: invalid type argument of `unary *' cubescan.c:1114: error: invalid type argument of `->' cubescan.c:1116: error: invalid type argument of `unary *' cubescan.c:1162: warning: cast to pointer from integer of different size cubescan.c:1163: error: invalid type argument of `unary *' cubescan.c:1164: error: invalid type argument of `unary *' cubescan.c: In function `cube_yyrestart': cubescan.c:1178: warning: pointer/integer type mismatch in conditional expression cubescan.c:1181: warning: assignment makes integer from pointer without a cast cubescan.c:1184: warning: pointer/integer type mismatch in conditional expression cubescan.c: In function `cube_yy_switch_to_buffer': cubescan.c:1201: warning: pointer/integer type mismatch in conditional expression cubescan.c:1204: warning: pointer/integer type mismatch in conditional expression cubescan.c:1207: error: invalid type argument of `unary *' cubescan.c:1208: error: invalid type argument of `->' cubescan.c:1209: error: invalid type argument of `->' cubescan.c:1212: warning: assignment makes integer from pointer without a cast cubescan.c: At top level: cubescan.c:1224: warning: 'cube_yy_load_buffer_state' was used with no prototype before its definition cubescan.c:1224: error: conflicting types for 'cube_yy_load_buffer_state' cubescan.c:675: error: previous declaration of 'cube_yy_load_buffer_state' was here cubescan.c:1224: error: conflicting types for 'cube_yy_load_buffer_state' cubescan.c:675: error: previous declaration of 'cube_yy_load_buffer_state' was here cubescan.c: In function `cube_yy_load_buffer_state': cubescan.c:1225: error: invalid type argument of `->' cubescan.c:1226: error: invalid type argument of `->' cubescan.c:1227: error: invalid type argument of `->' cubescan.c:1228: error: invalid type argument of `unary *' cubescan.c: In function `cube_yy_delete_buffer': cubescan.c:1271: warning: pointer/integer type mismatch in conditional expression cubescan.c:1272: warning: assignment makes integer from pointer without a cast cubescan.c: In function `cube_yy_init_buffer': cubescan.c:1298: warning: pointer/integer type mismatch in conditional expression cubescan.c: In function `cube_yy_flush_buffer': cubescan.c:1331: warning: pointer/integer type mismatch in conditional expression cubescan.c: In function `cube_yypush_buffer_state': cubescan.c:1349: warning: pointer/integer type mismatch in conditional expression cubescan.c:1352: error: invalid type argument of `unary *' cubescan.c:1353: error: invalid type argument of `->' cubescan.c:1354: error: invalid type argument of `->' cubescan.c:1358: warning: pointer/integer type mismatch in conditional expression cubescan.c:1360: warning: assignment makes integer from pointer without a cast cubescan.c: In function `cube_yypop_buffer_state': cubescan.c:1373: warning: pointer/integer type mismatch in conditional expression cubescan.c:1376: warning: pointer/integer type mismatch in conditional expression cubescan.c:1377: warning: assignment makes integer from pointer without a cast cubescan.c:1381: warning: pointer/integer type mismatch in conditional expression cubescan.c: In function `cube_yyensure_buffer_stack': cubescan.c:1403: error: incompatible types in assignment cubescan.c:1421: error: incompatible types in assignment cubescan.c: At top level: cubescan.c:1548: warning: no previous prototype for 'cube_yyget_lineno' cubescan.c:1557: warning: no previous prototype for 'cube_yyget_in' cubescan.c:1565: warning: no previous prototype for 'cube_yyget_out' cubescan.c:1573: warning: no previous prototype for 'cube_yyget_leng' cubescan.c:1582: warning: no previous prototype for 'cube_yyget_text' cubescan.c: In function `cube_yyget_text': cubescan.c:1583: warning: return makes pointer from integer without a cast cubescan.c: At top level: cubescan.c:1591: warning: no previous prototype for 'cube_yyset_lineno' cubescan.c:1603: warning: no previous prototype for 'cube_yyset_in' cubescan.c:1608: warning: no previous prototype for 'cube_yyset_out' cubescan.c:1613: warning: no previous prototype for 'cube_yyget_debug' cubescan.c:1618: warning: no previous prototype for 'cube_yyset_debug' cubescan.c: In function `yy_init_globals': cubescan.c:1628: error: incompatible types in assignment cubescan.c:1631: warning: assignment makes integer from pointer without a cast cubescan.c: At top level: cubescan.c:1652: warning: no previous prototype for 'cube_yylex_destroy' cubescan.c: In function `cube_yylex_destroy': cubescan.c:1655: warning: pointer/integer type mismatch in conditional expression cubescan.c:1656: warning: pointer/integer type mismatch in conditional expression cubescan.c:1657: warning: assignment makes integer from pointer without a cast cubescan.c:1663: error: incompatible types in assignment cubescan.l: In function `cube_flush_scanner_buffer': cubescan.l:57: warning: pointer/integer type mismatch in conditional expression cubeparse.y: At top level: cubescan.c:259: warning: 'yy_buffer_stack' defined but not used cubescan.c:282: warning: 'yy_c_buf_p' defined but not used cubescan.c:300: warning: 'cube_yy_load_buffer_state' declared `static' but never defined cubescan.c:457: warning: 'yy_last_accepting_cpos' defined but not used make[1]: *** [cubeparse.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/postgresql-7.3.15/work/postgresql-7.3.15/contrib/cube' make: *** [all] Error 2