make -C src all make[1]: Entering directory `/usr/src/pgsql/postgresql-6.5/src/pl/plpgsql/src' gcc -I../../../include -I../../../backend -O2 -Wall -Wmissing-prototypes -I../../../interfaces/libpq -I../../../include -I../../../backend -fpic -c -o pl_parse.o pl_gram.c In file included from gram.y:43: lex.plpgsql_yy.c:830: warning: no previous prototype for `plpgsql_yylex' scan.l: In function `plpgsql_yylex': scan.l:85: `K_ASSIGN' undeclared (first use in this function) scan.l:85: (Each undeclared identifier is reported only once scan.l:85: for each function it appears in.) scan.l:87: `K_DOTDOT' undeclared (first use in this function) scan.l:88: `K_ALIAS' undeclared (first use in this function) scan.l:89: `K_BEGIN' undeclared (first use in this function) scan.l:90: `T_BPCHAR' undeclared (first use in this function) scan.l:91: `T_CHAR' undeclared (first use in this function) scan.l:92: `K_CONSTANT' undeclared (first use in this function) scan.l:93: `K_DEBUG' undeclared (first use in this function) scan.l:94: `K_DECLARE' undeclared (first use in this function) scan.l:95: `K_DEFAULT' undeclared (first use in this function) scan.l:96: `K_ELSE' undeclared (first use in this function) scan.l:97: `K_END' undeclared (first use in this function) scan.l:98: `K_EXCEPTION' undeclared (first use in this function) scan.l:99: `K_EXIT' undeclared (first use in this function) scan.l:100: `K_FOR' undeclared (first use in this function) scan.l:101: `K_FROM' undeclared (first use in this function) scan.l:102: `K_IF' undeclared (first use in this function) scan.l:103: `K_IN' undeclared (first use in this function) scan.l:104: `K_INTO' undeclared (first use in this function) scan.l:105: `K_LOOP' undeclared (first use in this function) scan.l:106: `K_NOT' undeclared (first use in this function) scan.l:107: `K_NOTICE' undeclared (first use in this function) scan.l:108: `K_NULL' undeclared (first use in this function) scan.l:109: `K_PERFORM' undeclared (first use in this function) scan.l:110: `K_RAISE' undeclared (first use in this function) scan.l:111: `K_RECORD' undeclared (first use in this function) scan.l:112: `K_RENAME' undeclared (first use in this function) scan.l:113: `K_RETURN' undeclared (first use in this function) scan.l:114: `K_REVERSE' undeclared (first use in this function) scan.l:115: `K_SELECT' undeclared (first use in this function) scan.l:116: `K_THEN' undeclared (first use in this function) scan.l:117: `K_TO' undeclared (first use in this function) scan.l:118: `K_TYPE' undeclared (first use in this function) scan.l:119: `T_VARCHAR' undeclared (first use in this function) scan.l:120: `K_WHEN' undeclared (first use in this function) scan.l:121: `K_WHILE' undeclared (first use in this function) scan.l:123: `O_OPTION' undeclared (first use in this function) scan.l:124: `O_DUMP' undeclared (first use in this function) scan.l:139: `T_NUMBER' undeclared (first use in this function) scan.l:174: `T_STRING' undeclared (first use in this function) lex.plpgsql_yy.c:926: warning: label `find_rule' defined but not used y.tab.c: At top level: y.tab.c:845: warning: no previous prototype for `plpgsql_yyparse' y.tab.c: In function `plpgsql_yyparse': y.tab.c:908: warning: implicit declaration of function `plpgsql_yyerror' y.tab.c:912: warning: label `plpgsql_yyerrlab' defined but not used pl_gram.c: At top level: pl_gram.c:3: warning: `plpgsql_yyrcsid' defined but not used lex.plpgsql_yy.c:2153: warning: `plpgsql_yy_flex_realloc' defined but not used lex.plpgsql_yy.c:1635: warning: `plpgsql_yyunput' defined but not used make[1]: *** [pl_parse.o] Error 1 make[1]: Leaving directory `/usr/src/pgsql/postgresql-6.5/src/pl/plpgsql/src' make: [all] Error 2 (ignored)