Обсуждение: Compiling 6.3.2 under Solaris - pgc.l error

Поиск
Список
Период
Сортировка

Compiling 6.3.2 under Solaris - pgc.l error

От
"Gilley, Charles H."
Дата:
Can anyone give me a hint to resolve this?

gcc -I../../../include -I../../../backend     -Wall -Wmissing-prototypes
-I../include -DMAJOR_VERSION=1 -DMINOR_VERSION=1 -DPATCHLEVEL=0
-DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c pgc.c
In file included from pgc.l:15:
extern.h:5: conflicting types for `yytext'
pgc.c:66: previous declaration of `yytext'
pgc.l:17: parse error before `YY_BUFFER_STATE'
pgc.l:17: warning: no semicolon at end of struct or union
pgc.l:21: parse error before `}'
pgc.l:21: warning: type defaults to `int' in declaration of `yy_buffer'
pgc.l:21: warning: data definition has no type or storage class
gmake[3]: *** [pgc.o] Error 1
gmake[3]: Leaving directory
`/usr/share/src/pgsql/src/interfaces/ecpg/preproc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/share/src/pgsql/src/interfaces/ecpg'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/usr/share/src/pgsql/src/interfaces'
gmake: *** [all] Error 2

If this should be in hackers, please let me know.  I'm not developing code,
just trying to build it.

Charles Gilley