Skip site navigation (1) Skip section navigation (2)

libplpgsql error on Alpha: solved

From: Eugenio Pierno <pierno(at)unina(dot)it>
To: pgsql-bugs(at)postgresql(dot)org
Cc: pgsql-ports(at)postgresql(dot)org
Subject: libplpgsql error on Alpha: solved
Date: 1999-11-08 14:58:58
Message-ID: Pine.LNX.4.05.9911081542440.1060-100000@hypnos.unknown.bogus (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-ports
Hi good people,

I give you my little contribute to this *great* database.

Let's go on wuth the good work...

============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name		: Eugenio Pierno	
Your email address	: pierno(at)unina(dot)it


System Configuration
---------------------
  Architecture (example: Intel Pentium)  	: Alpha EV560

  Operating System (example: Linux 2.0.26 ELF) 	: Digital Unix 4.0d

  PostgreSQL version (example: PostgreSQL-6.5.3):   PostgreSQL-6.5.3 

  Compiler used (example:  gcc 2.8.0)		:  alpha cc


Please enter a FULL description of your problem:
------------------------------------------------
libplpgsql failing to compile with the following error message:
 
cc: Error: pl_comp.c, line 73: The type of the tentatively-defined variable
"plpgsql_yytext" is incomplete at the end of the compilation unit.
char     plpgsql_yytext[];
_________^
gmake: *** [pl_comp.o] Error 1

The backend compiles successfully
NOTE: I installed GNU flex 2.5.4 because supplied flex doesn't support the
-l flag

Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible: 
----------------------------------------------------------------------
configure --with-template=alpha_cc --with-CC=cc --without-CXX

gmake all


If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
FIX: 
replace 
	char plpgsql_yytext[];
with
	extern char plpgsql_yytext[];
in postgresql-6.5.3/src/pl/plpgsql/src/pl_comp.c line 73





                                      -- Eugenio


--
Eugenio Pierno
System & Network Support Group
Computer Centre
Second University of Naples
Voice: +39 081 5667014
Fax: +39 081 5667013


pgsql-ports by date

Next:From: Christopher DyeDate: 1999-11-09 22:31:02
Subject: Postgresql install info
Previous:From: Idar TollefsenDate: 1999-11-07 17:21:44
Subject: PostgreSQL installed

pgsql-bugs by date

Next:From: fredrik chabotDate: 1999-11-08 20:38:46
Subject: Possible bug in postgres || libpq
Previous:From: Chana SlutzkinDate: 1999-11-08 13:01:04
Subject: bug report

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group