Help! I can't seem to compile Postgresql 6.4.2 under Solaris 2.5.1. The compilation fails around the backend/bootstrap compilation (excerpt below). I had a search in the archives and found a similar error with the suggested fix of adding #include <stdlib.h> to bootstrap.c, but that didn't help. Does anyone have any ideas? - Si make[2]: Entering directory `/export/home/postgres/postgresql-6.4.2/src/backend/bootstrap' /usr/bin/bison -y -d bootparse.y grep -v "^#" boot.sed > sedfile sed -f sedfile < y.tab.c > bootparse.c mv y.tab.h bootstrap_tokens.h rm -f y.tab.c sedfile gcc -I../../include -I../../backend -Wall -Wmissing-prototypes -I.. -Wno-error -c bootparse.c -o bootparse.o /usr/local/share/bison.simple: In function `Int_yyparse': /usr/local/share/bison.simple:327: warning: implicit declaration of function `Int_yyerror' /usr/local/share/bison.simple:387: warning: implicit declaration of function `Int_yylex' flex bootscanner.l grep -v "^#" boot.sed > sedfile sed -f sedfile < lex.yy.c > bootscanner.c rm -f lex.yy.c sedfile gcc -I../../include -I../../backend -Wall -Wmissing-prototypes -I.. -Wno-error -c bootscanner.c -o bootscanner.o lex.Int_yy.c:683: warning: no previous prototype for `Int_yylex' lex.Int_yy.c: In function `Int_yy_init_buffer': lex.Int_yy.c:1523: warning: implicit declaration of function `fileno' bootscanner.l: At top level: bootscanner.l:137: warning: no previous prototype for `Int_yyerror' gcc -I../../include -I../../backend -Wall -Wmissing-prototypes -I.. -Wno-error -c bootstrap.c -o bootstrap.o bootstrap.c:199: parse error before `Warn_restart' bootstrap.c:199: warning: data definition has no type or storage class bootstrap.c: In function `BootstrapMain': bootstrap.c:321: warning: implicit declaration of function `getopt' bootstrap.c:413: warning: implicit declaration of function `sigsetjmp' make[2]: *** [bootstrap.o] Error 1 make[2]: Leaving directory `/export/home/postgres/postgresql-6.4.2/src/backend/bootstrap' make[1]: *** [bootstrap.dir] Error 2 make[1]: Leaving directory `/export/home/postgres/postgresql-6.4.2/src/backend' make: *** [all] Error 2