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

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: Brook Milligan <brook(at)trillium(dot)NMSU(dot)Edu>
Cc: lockhart(at)alumni(dot)caltech(dot)edu, ports(at)postgreSQL(dot)org, hackers(at)postgreSQL(dot)org
Subject: Re: [PORTS] Re: [HACKERS] Valid ports for v6.3 -- NetBSD/i386 compile errors
Date: 1998-02-15 00:48:34
Message-ID: Pine.BSF.3.96.980214204742.261u-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 14 Feb 1998, Brook Milligan wrote:

> ? 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'

These "prototype" errors are normal and can safely be ignored...

> ... (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

Requires bison to be installed instead of yacc...

> 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.

It doesn't appear to be a seperate requirement on all systems...

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-02-15 01:12:22 Re: [HACKERS] Declaration glitch in arrayfuncs.c
Previous Message Brook Milligan 1998-02-14 23:10:12 Re: [HACKERS] Valid ports for v6.3 -- NetBSD/i386 compile errors