BUG #2973: Compile Error with MIPSpro compiler

Started by Thomasabout 19 years ago4 messagesbugs
Jump to latest
#1Thomas
tf@tfromm.com

The following bug has been logged online:

Bug reference: 2973
Logged by: Thomas
Email address: tf@tfromm.com
PostgreSQL version: 8.2.2
Operating system: IRIX 6.5
Description: Compile Error with MIPSpro compiler
Details:

During building the project with gmake I got error at informix.c :
"The identifier "CDECIMALTYPE" is undefined."
...

for types which are defined in sqltypes.h

The only solution I found was to copy these defines
into the informix.c.
This problem also happens in earlier versions...

Maybe you can find a solution for this, so that is easier to create a IRIX
package without patching the file :-).

Thanks in adavance...

#2Bruce Momjian
bruce@momjian.us
In reply to: Thomas (#1)
Re: BUG #2973: Compile Error with MIPSpro compiler

I see no one replied to this report. All I can say that many people
compile ecpg, and this is the first report we have seen of this problem.

I see "CDECIMALTYPE" defined in sqltypes.h.

---------------------------------------------------------------------------

Thomas wrote:

The following bug has been logged online:

Bug reference: 2973
Logged by: Thomas
Email address: tf@tfromm.com
PostgreSQL version: 8.2.2
Operating system: IRIX 6.5
Description: Compile Error with MIPSpro compiler
Details:

During building the project with gmake I got error at informix.c :
"The identifier "CDECIMALTYPE" is undefined."
...

for types which are defined in sqltypes.h

The only solution I found was to copy these defines
into the informix.c.
This problem also happens in earlier versions...

Maybe you can find a solution for this, so that is easier to create a IRIX
package without patching the file :-).

Thanks in adavance...

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

#3Michael Meskes
meskes@postgresql.org
In reply to: Bruce Momjian (#2)
Re: BUG #2973: Compile Error with MIPSpro compiler

On Mon, Feb 19, 2007 at 03:46:38PM -0500, Bruce Momjian wrote:

I see no one replied to this report. All I can say that many people

Hmm, seems my filter didn't recognize this was about ecpg.

compile ecpg, and this is the first report we have seen of this problem.

I see "CDECIMALTYPE" defined in sqltypes.h.

Could it be that there is a sqltypes.h file somewhere else on your
system?

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

#4Thomas Fromm
tf@inubit.com
In reply to: Michael Meskes (#3)
Re: BUG #2973: Compile Error with MIPSpro compiler

Micheal,

On Tuesday 20 February 2007 14:09, Michael Meskes wrote:

On Mon, Feb 19, 2007 at 03:46:38PM -0500, Bruce Momjian wrote:

I see no one replied to this report. All I can say that many people

Hmm, seems my filter didn't recognize this was about ecpg.

compile ecpg, and this is the first report we have seen of this problem.

I see "CDECIMALTYPE" defined in sqltypes.h.

Could it be that there is a sqltypes.h file somewhere else on your
system?

Thats a good point. And you're right, I found another sqltypes.h :-|
I had to looked first to this, as I saw <sqltypes.h> and not "sqltypes.h".
As I said to Bruce, its really a long time ago that I worked with c/c++ in
general.

Ok, I'll try rebuild the package today ;-).

kind regards,
tf

--
inubit AG - integrating your business and IT http://www.inubit.com
Lützowstraße 105-106, D-10785 Berlin
Vorstand: Dr. Torsten Schmale (Vorsitzender), Johannes Untiedt
Vorsitzender des Aufsichtsrates: Dr. Wolf-Dieter Klemt
Registergericht: AG Charlottenburg / Registernummer: HRB 80154