7.3b5 contrib compile problem

From: Laurette Cisneros <laurette(at)nextbus(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: 7.3b5 contrib compile problem
Date: 2002-11-06 23:36:18
Message-ID: Pine.LNX.4.44.0211061534290.4776-100000@visor.corp.nextbus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


I saw this when compiling 7.3b4 as well and also with 7.3b5

cd contrib
make
...
make[1]: Leaving directory
`/nfs/visor/u/software/postgres/postgresql-7.3b5/contrib/rtree_gist'
make[1]: Entering directory
`/nfs/visor/u/software/postgres/postgresql-7.3b5/contrib/seg'
sed 's,MODULE_PATHNAME,$libdir/seg,g' seg.sql.in >seg.sql
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I.
-I../../src/include -I/usr/local/include -c -o seg.o seg.c
bison -y -d -p seg_yy segparse.y
mv -f y.tab.c segparse.c
mv -f y.tab.h segparse.h
/usr/bin/flex -Pseg_yy -o'segscan.c' segscan.l
gcc -O2 -g -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -I.
-I../../src/include -I/usr/local/include -c -o segparse.o segparse.c
In file included from segscan.l:8,
from segparse.y:182:
segparse.h:2: redefinition of `struct BND'
segparse.h:8: conflicting types for `YYSTYPE'
segparse.y:48: previous declaration of `YYSTYPE'
segparse.h:15: conflicting types for `seg_yylval'
/usr/lib/bison.simple:138: previous declaration of `seg_yylval'
make[1]: *** [segparse.o] Error 1
make[1]: Leaving directory `/nfs/visor/u/software/postgres/postgresql-7.3b5/contrib/seg'
make: *** [all] Error 2

Any ideas?

Thanks,

--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
----------------------------------
My other vehicle is my imagination.
- bumper sticker

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Steve Howe 2002-11-07 00:32:28 Re: Win32 port
Previous Message Bruce Momjian 2002-11-06 23:33:32 Re: Win32 port