============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Jean-Luc Commeau
Your email address : commeau@ensta.fr
Category : install: compile
Severity : critical
Summary: parse error in "pgtclId.h" file ???
System Configuration
--------------------
Operating System : solaris-2.5.1
PostgreSQL version : 6.4.2
Compiler used : gcc 2.7
Hardware:
---------
SUN sparc4
Versions of other tools:
------------------------
gmake 3.77
flex 2.5.4
--------------------------------------------------------------------------
Problem Description:
--------------------
In "postgresql-6.4.2/src/interfaces/libpgtcl" directory,
during the compilation of "pgtcl.c" with gcc the following
error message appears :
gcc -I../../include -I../../backend -Wall -Wmissing-prototypes -I../../backend -I../../include
-I../../interfaces/libpq-fPIC -c pgtcl.c -o pgtcl.o
In file included from pgtcl.c:22:
pgtclId.h:61: parse error before `Pg_ConnType'
pgtclId.h:61: warning: data definition has no type or storage class
pgtcl.c: In function `Pgtcl_Init':
pgtcl.c:129: warning: implicit declaration of function `Tcl_PkgProvide'
gmake[2]: *** [pgtcl.o] Error 1
....
gmake: *** [all] Error 2
Could you help me ?
Thanks in advance.
--------------------------------------------------------------------------
Test Case:
----------
--------------------------------------------------------------------------
Solution:
---------
no patch included
--------------------------------------------------------------------------