Bug in make (informix?) - Mailing list pgsql-bugs

From Oli Sennhauser
Subject Bug in make (informix?)
Date
Msg-id 3FE07961.6020205@bluewin.ch
Whole thread Raw
Responses Re: Bug in make (informix?)  (Michael Meskes <meskes@postgresql.org>)
List pgsql-bugs
See attachment.

Regards Oli

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

Oli Sennhauser
Database-Engineer (Oracle & PostgreSQL)
Rebenweg 6
CH - 8610 Uster / Switzerland

Phone (+41) 1 940 24 82 or Mobile (+41) 79 450 49 14
e-Mail oli.sennhauser@bluewin.ch
Website http://mypage.bluewin.ch/shinguz/PostgreSQL/

Secure (signed/encrypted) e-Mail with a Free Personal SwissSign ID: http://www.swisssign.ch

Import the SwissSign Root Certificate: http://swisssign.net/cgi-bin/trust/import

If PostgreSQL failed to compile on your computer or you found a bug that
is likely to be specific to one platform then please fill out this form
and e-mail it to pgsql-ports@postgresql.org.

To report any other bug, fill out the form below and e-mail it to
pgsql-bugs@postgresql.org.

If you not only found the problem but solved it and generated a patch
then e-mail it to pgsql-patches@postgresql.org instead.  Please use the
command "diff -c" to generate the patch.

You may also enter a bug report at http://www.postgresql.org/ instead of
e-mail-ing this form.

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


Your name        : Oli Sennhauser
Your email address    : oli.sennhauser@bluewin.ch


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

  Operating System (example: Linux 2.0.26 ELF)     : Linux 2.4.21 SuSE 9.0

  PostgreSQL version (example: PostgreSQL-7.4)  : PostgreSQL-7.4

  Compiler used (example:  gcc 2.95.2)        : gcc (GCC) 3.3.1 (SuSE Linux)


Please enter a FULL description of your problem:
------------------------------------------------

The make with the follwing flag causes an error. Without flag runs without problems.
This seems to be a bug of 7.4 because 7.3.5 was running fine with this flag.

make CPPFLAGS=-DALLOW_ABSOLUTE_DBPATHS allo

gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -fpic
-I../../../../src/interfaces/ecpg/include-I../../../../src/interfaces/libpq -I../../../../src/include
-DALLOW_ABSOLUTE_DBPATHS   -c -o misc.o misc.c 
misc.c: In function `ECPGset_informix_null':
misc.c:288: error: `LONGLONG_MIN' undeclared (first use in this function)
misc.c:288: error: (Each undeclared identifier is reported only once
misc.c:288: error: for each function it appears in.)
misc.c: In function `ECPGis_informix_null':
misc.c:357: error: `LONGLONG_MIN' undeclared (first use in this function)
make[4]: *** [misc.o] Error 1
make[4]: Leaving directory `/u00/app/postgres/products/7.4.0/src/postgresql-7.4/src/interfaces/ecpg/ecpglib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/u00/app/postgres/products/7.4.0/src/postgresql-7.4/src/interfaces/ecpg'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/u00/app/postgres/products/7.4.0/src/postgresql-7.4/src/interfaces'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/u00/app/postgres/products/7.4.0/src/postgresql-7.4/src'
make: *** [all] Error 2

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

See above.

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

I am a bad C-programer and was not looking into the code.


Attachment

pgsql-bugs by date:

Previous
From: "Gustavo Scotti"
Date:
Subject: Bugs in bigint indexes
Next
From: "Lewis Foti"
Date:
Subject: Jdbc connection pooling and PG 7.4 consistently fails