Re: [HACKERS] Problems compiling latest CVS sources.

Lists: pgsql-bugspgsql-hackers
From: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
To: pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Problems compiling latest CVS sources.
Date: 2000-02-13 05:52:36
Message-ID: 200002130552.AAA07279@bajor.mug.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

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

Your name : Billy G. Allie
Your email address : Bill(dot)Allie(at)mug(dot)org

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

Operating System (example: Linux 2.0.26 ELF) : UnixWare 7.0.1

PostgreSQL version (example: PostgreSQL-6.5.1): PostgreSQL-6.6

Compiler used (example: gcc 2.8.0) : SCO UDK

Please enter a FULL description of your problem:
------------------------------------------------
1. ecpg fails to link. The error message is:

Undefined first referenced
symbol in file
nocachegetattr pgc.o

2. trigger.c fails to compile due to a syntax error. It contains
a switch statement that has an empty default label. A label of a
switch statement must be followed by a statement (or a label which
is followed by a statement (or a label which ...)).

3. Files include stringinfo.h failed to compile. The macro,
'appendStringInfoCharMacro' is implemented with a '?:' operation
that returns a void expression for the true part and a char expresion
for the false part. Both the true and false parts of the '?:' oper-
ator must return the same type.

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
1. Compile ecpg.

2. Compile with a ANSI C compiler that enforces the standard :->

3. Compile with an ANSI C compiler that enforces the standard :->

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------
1. Don't know.

2. Apply the attached patch.

3. Apply the attached patch.

Attachment Content-Type Size
uw720000213.patch application/x-patch 1.0 KB
unknown_filename text/plain 223 bytes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Billy G(dot) Allie" <Bill(dot)Allie(at)mug(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Problems compiling latest CVS sources.
Date: 2000-02-13 13:20:33
Message-ID: 200002131320.IAA11508@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs pgsql-hackers

Applied.

-- Start of PGP signed section.
> ============================================================================
> POSTGRESQL BUG REPORT TEMPLATE
> ============================================================================
>
>
> Your name : Billy G. Allie
> Your email address : Bill(dot)Allie(at)mug(dot)org
>
>
> System Configuration
> ---------------------
> Architecture (example: Intel Pentium) : Intel Pentium
>
> Operating System (example: Linux 2.0.26 ELF) : UnixWare 7.0.1
>
> PostgreSQL version (example: PostgreSQL-6.5.1): PostgreSQL-6.6
>
> Compiler used (example: gcc 2.8.0) : SCO UDK
>
>
> Please enter a FULL description of your problem:
> ------------------------------------------------
> 1. ecpg fails to link. The error message is:
>
> Undefined first referenced
> symbol in file
> nocachegetattr pgc.o
>
> 2. trigger.c fails to compile due to a syntax error. It contains
> a switch statement that has an empty default label. A label of a
> switch statement must be followed by a statement (or a label which
> is followed by a statement (or a label which ...)).
>
> 3. Files include stringinfo.h failed to compile. The macro,
> 'appendStringInfoCharMacro' is implemented with a '?:' operation
> that returns a void expression for the true part and a char expresion
> for the false part. Both the true and false parts of the '?:' oper-
> ator must return the same type.
>
> Please describe a way to repeat the problem. Please try to provide a
> concise reproducible example, if at all possible:
> ----------------------------------------------------------------------
> 1. Compile ecpg.
>
> 2. Compile with a ANSI C compiler that enforces the standard :->
>
> 3. Compile with an ANSI C compiler that enforces the standard :->
>
> If you know how this problem might be fixed, list the solution below:
> ---------------------------------------------------------------------
> 1. Don't know.
>
> 2. Apply the attached patch.
>
> 3. Apply the attached patch.
>
>
Content-Description: uw720000213.patch

[Attachment, skipping...]

> ____ | Billy G. Allie | Domain....: Bill(dot)Allie(at)mug(dot)org
> | /| | 7436 Hartwell | Compuserve: 76337,2061
> |-/-|----- | Dearborn, MI 48126| MSN.......: B_G_Allie(at)email(dot)msn(dot)com
> |/ |LLIE | (313) 582-1540 |
-- End of PGP section, PGP failed!

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026