ecpg+AIX 5L compile failure with current

ecpg+AIX 5L compile failure with current

Post by Tatsuo Ish » Thu, 22 Nov 2001 13:10:03



Just a quick news.

gmake[4]: Entering directory `/mnt/t-ishii/pgsql/src/interfaces/ecpg/preproc'
/usr/vac/bin/xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I./../include -I../../../../src/include  -DMAJOR_VERSION=2 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c -o variable.o variable.c
      325 | //              mmerror(ET_FATAL, "No multilevel (more than 2) pointer supported %d",pointer_len);
            a....................................................................................b..........
a - 1506-046 (S) Syntax error.
b - 1506-099 (S) Unexpected argument.
gmake[4]: *** [variable.o] Error 1
--
Tatsuo Ishii

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command

 
 
 

ecpg+AIX 5L compile failure with current

Post by Tom La » Thu, 22 Nov 2001 13:48:52



> Just a quick news.
> gmake[4]: Entering directory `/mnt/t-ishii/pgsql/src/interfaces/ecpg/preproc'
> /usr/vac/bin/xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I./../include -I../../../../src/include  -DMAJOR_VERSION=2 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c -o variable.o variable.c
>       325 | //              mmerror(ET_FATAL, "No multilevel (more than 2) pointer supported %d",pointer_len);
>             a....................................................................................b..........
> a - 1506-046 (S) Syntax error.
> b - 1506-099 (S) Unexpected argument.

Does this compiler not like // comments?  I thought we'd made a pass of
cleaning those out recently, but obviously one's snuck into ecpg ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------


 
 
 

ecpg+AIX 5L compile failure with current

Post by Bruce Momji » Thu, 22 Nov 2001 14:20:13



> > Just a quick news.
> > gmake[4]: Entering directory `/mnt/t-ishii/pgsql/src/interfaces/ecpg/preproc'
> > /usr/vac/bin/xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I./../include -I../../../../src/include  -DMAJOR_VERSION=2 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c -o variable.o variable.c
> >       325 | //              mmerror(ET_FATAL, "No multilevel (more than 2) pointer supported %d",pointer_len);
> >             a....................................................................................b..........
> > a - 1506-046 (S) Syntax error.
> > b - 1506-099 (S) Unexpected argument.

> Does this compiler not like // comments?  I thought we'd made a pass of
> cleaning those out recently, but obviously one's snuck into ecpg ...

Yes, // came in with:

  date: 2001/11/16 08:36:37;  author: meskes;  state: Exp;  lines: +24 -7
  Committed again to add the missing files/patches.

Of course, this was post pgindent.  Fix applied, // -> /* */.

--
  Bruce Momjian                        |  http://candle.pha.pa.us

  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

 
 
 

ecpg+AIX 5L compile failure with current

Post by Tatsuo Ish » Thu, 22 Nov 2001 16:10:28


Quote:> > gmake[4]: Entering directory `/mnt/t-ishii/pgsql/src/interfaces/ecpg/preproc'
> > /usr/vac/bin/xlc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong -I./../include -I../../../../src/include  -DMAJOR_VERSION=2 -DMINOR_VERSION=9 -DPATCHLEVEL=0 -DINCLUDE_PATH=\"/usr/local/pgsql/include\"   -c -o variable.o variable.c
> >       325 | //              mmerror(ET_FATAL, "No multilevel (more than 2) pointer supported %d",pointer_len);
> >             a....................................................................................b..........
> > a - 1506-046 (S) Syntax error.
> > b - 1506-099 (S) Unexpected argument.

> Does this compiler not like // comments?

Right.

Quote:> I thought we'd made a pass of
> cleaning those out recently, but obviously one's snuck into ecpg ...

---------------------------(end of broadcast)---------------------------

 
 
 

ecpg+AIX 5L compile failure with current

Post by Michael Mesk » Thu, 22 Nov 2001 18:35:30



> Yes, // came in with:

>   date: 2001/11/16 08:36:37;  author: meskes;  state: Exp;  lines: +24 -7
>   Committed again to add the missing files/patches.

Sorry, I didn't check the patch I applied carefully enough.

Michael
--
Michael Meskes

Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

 
 
 

1. Compile failure in ecpg/pgtypeslib/numeric.c

It seems someone removed some include files in revision 1.11 from
interfaces/ecpg/pgtypeslib/numeric.c.  One of them was limits.h,
which is needed for INT_MAX and LONG_MAX.

Readding it fixes it.

Kurt

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

2. Info wanted : Oracle Work Group Server versus MS SQLServer

3. compile failure in ecpg

4. function to operate on same fields, different records?

5. 9.30 on AIX-5L, AIX-4.3.3

6. First Invokation of Form displays no data

7. cvs compile failure on AIX 4.3.2

8. DEC UNIX 4.0 and Oracle 7.3

9. make check hang on AIX 5L p690 4way/I have two solutions

10. Is V6.1 supported on AIX 5L?

11. 7.1 vs. 7.2 on AIX 5L

12. 9i DBCA hangs while running on AIX 5L

13. make check hang on AIX 5L p690 4way/I have two solutions