Re: 7.3.2 make failed on AIX4.3 using native c compiler

From: "John Liu" <johnl(at)emrx(dot)com>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 7.3.2 make failed on AIX4.3 using native c compiler
Date: 2003-03-31 17:24:24
Message-ID: NDBBKKKHILOHGHNKGOCEGELPEPAA.johnl@emrx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi, Bruce,
I've tried on two AIX4.3.3 boxes,
both are the same oslevel=4330-09,
both are the same compiler version,

lslpp -l|grep -i xlc
xlC.aix43.rte 4.0.2.1 COMMITTED C Set ++ Runtime for AIX
4.3
xlC.cpp 4.3.0.1 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 4.3.0.1 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 4.0.2.0 COMMITTED C Set ++ Runtime
xlC.rte 4.0.2.0 COMMITTED C Set ++ Runtime

one make works, the other one failed. I'm trying
to figure out what makes the differences.

johnl
> -----Original Message-----
> From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> Sent: Monday, March 31, 2003 11:15 AM
> To: John Liu
> Cc: pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] 7.3.2 make failed on AIX4.3 using native c
> compiler
>
>
>
> I know we have other AIX users using PostgreSQL. What compiler version
> is that?
>
> ------------------------------------------------------------------
> ---------
>
> John Liu wrote:
> > make[4]: Leaving directory
> `/emrxdbs/postgresql-7.3.2/src/backend/parser'
> > cc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong
> -I../../../src/interfaces/libpq -I
> > ../../../src/include -I/usr/local/include
> -DBINDIR=\"/emrxdbs/pgsql/bin\" -
> > c -o pg_dump.o pg_dump.c
> > 2681 | "COMMENT", deps,
> > ....................................................a....
> > a - 1506-280 (W) Function argument assignment between types
> "const unsigned
> > char*(*)[]" and "unsigned char*(*)[]" is not allowed.
> > 2777 | "COMMENT",
> > deps,
> >
> > ............................................................a....
> > a - 1506-280 (W) Function argument assignment between types
> "const unsigned
> > char*(*)[]" and "unsigned char*(*)[]" is not allowed.
> > 2795 | "COMMENT",
> > deps,
> >
> > ............................................................a....
> > a - 1506-280 (W) Function argument assignment between types
> "const unsigned
> > char*(*)[]" and "unsigned char*(*)[]" is not allowed.
> > 3121 | tinfo->usename,
> "TYPE", deps,
> >
> .........................................................a....
> > a - 1506-280 (W) Function argument assignment between types
> "const unsigned
> > char*(*)[]" and "unsigned char*(*)[]" is not allowed.
> > 3226 | tinfo->usename,
> "DOMAIN", deps,
> >
> ...........................................................a....
> > a - 1506-280 (W) Function argument assignment between types
> "const unsigned
> > char*(*)[]" and "unsigned char*(*)[]" is not allowed.
> > 3515 |
> "PROCEDURAL LANGUAGE",
> > deps,
> >
> > ................................................................a....
> > a - 1506-280 (W) Function argument assignment between types
> "const unsigned
> > char*(*)[]" and "unsigned char*(*)[]" is not allowed.
> > 3882 | "CAST", deps,
> > .................................................a....
> > a - 1506-280 (W) Function argument assignment between types
> "const unsigned
> > char*(*)[]" and "unsigned char*(*)[]" is not allowed.
> > cc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong
> -I../../../src/interfaces/libpq -I
> > ../../../src/include -I/usr/local/include
> -DBINDIR=\"/emrxdbs/pgsql/bin\" -
> > c -o common.o common.c
> > cc -O2 -qmaxmem=16384 -qsrcmsg -qlonglong
> -I../../../src/interfaces/libpq -I
> > ../../../src/include -I/usr/local/include
> -DBINDIR=\"/emrxdbs/pgsql/bin\" -
> > c -o pg_backup_archiver.o pg_backup_archiver.c
> > 590 | ArchiveEntry(Archive *AHX, char *oid, char *tag,
> > a.................................................
> > a - 1506-343 (S) Redeclaration of ArchiveEntry differs from previous
> > declaration on line 135 of "pg_backup.h".
> > a - 1506-377 (I) The type "unsigned char*(*)[]" of parameter 7
> differs from
> > the previous type "const unsigned char*(*)[]".
> > make[3]: *** [pg_backup_archiver.o] Error 1
> > make[3]: Leaving directory `/emrxdbs/postgresql-7.3.2/src/bin/pg_dump'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/emrxdbs/postgresql-7.3.2/src/bin'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/emrxdbs/postgresql-7.3.2/src'
> > make: *** [all] Error 2
> > lex:emrx[/emrxdbs/postgresql-7.3.2] lslpp -l bos.adt.libm
> > Fileset Level State Description
> >
> --------------------------------------------------------------------------
> > --
> > Path: /usr/lib/objrepos
> > bos.adt.libm 4.3.3.50 COMMITTED Base Application
> > Development
> > Math Library
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
> >
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square,
> Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2003-03-31 17:45:04 Re: UltraSQL Win32 source code/patches?
Previous Message Bruce Momjian 2003-03-31 17:15:25 Re: 7.3.2 make failed on AIX4.3 using native c compiler