Re: [HACKERS] Valid ports for v6.3 -- NetBSD/i386 compile errors

From: Brook Milligan <brook(at)trillium(dot)NMSU(dot)Edu>
To: lockhart(at)alumni(dot)caltech(dot)edu
Cc: ports(at)postgreSQL(dot)org, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Valid ports for v6.3 -- NetBSD/i386 compile errors
Date: 1998-02-14 23:10:12
Message-ID: 199802142310.QAA01217@trillium.nmsu.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

? NetBSD/i386 version? - not yet tested but should work?

I'm trying to compile 6.3 on NetBSD/i386 v1.3. A couple of problems
crop up with the compile. I get the following warnings/errors:

... (lots of stuff deleted from compilation output) ...

gmake[2]: Entering directory `/usr/local/NetBSD/pkgsrc/databases/postgresql/work/pgsql/src/backend/bootstrap'
/usr/bin/yacc -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 -I/usr/local/include -O2 -pipe -Wall -Wmissing-prototypes -I.. -Wno-error -c bootparse.c -o bootparse.o
y.tab.c: In function `Int_yyparse':
y.tab.c:378: warning: implicit declaration of function `Int_yylex'
y.tab.c:417: warning: implicit declaration of function `Int_yyerror'
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 -I/usr/local/include -O2 -pipe -Wall -Wmissing-prototypes -I.. -Wno-error -c bootscanner.c -o bootscanner.o
lex.Int_yy.c:683: warning: no previous prototype for `Int_yylex'
bootscanner.l:137: warning: no previous prototype for `Int_yyerror'

... (lots of stuff deleted) ...

gmake[2]: Entering directory `/usr/local/NetBSD/pkgsrc/databases/postgresql/work/pgsql/src/backend/parser'
/usr/bin/yacc -d gram.y
/usr/bin/yacc: f - maximum table size exceeded
gmake[2]: *** [parse.h] Error 2
/usr/bin/yacc -d gram.y
/usr/bin/yacc: f - maximum table size exceeded
gmake[2]: *** [gram.c] Error 2

Both sets of problems seem to relate to processing parsers with yacc.
Do I need bison instead? If so, perhaps this should be listed as a
requirement in the INSTALL docs.

Thanks for your help. I'll verify this port as soon as I resolve the
parser problems.

Cheers,
Brook

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-02-15 00:48:34 Re: [PORTS] Re: [HACKERS] Valid ports for v6.3 -- NetBSD/i386 compile errors
Previous Message Billy G. Allie 1998-02-14 21:55:40 Re: [HACKERS] Valid ports for v6.3