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

Поиск
Список
Период
Сортировка
От John Liu
Тема Re: 7.3.2 make failed on AIX4.3 using native c compiler
Дата
Msg-id NDBBKKKHILOHGHNKGOCEGELPEPAA.johnl@emrx.com
обсуждение исходный текст
Ответ на Re: 7.3.2 make failed on AIX4.3 using native c compiler  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: 7.3.2 make failed on AIX4.3 using native c compiler  ("John Liu" <johnl@emrx.com>)
Список 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@candle.pha.pa.us]
> Sent: Monday, March 31, 2003 11:15 AM
> To: John Liu
> Cc: pgsql-hackers@postgresql.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@postgresql.org
> >
>
> --
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square,
> Pennsylvania 19073



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: 7.3.2 make failed on AIX4.3 using native c compiler
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: UltraSQL Win32 source code/patches?