<< SNIP >>
I got a little farther today on the build, using GCC 2.9.5 from IBM's
last known RPM build (I know it's old, but it was specifically built for
AIX 4.3.3):
bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../build -I../rpmdb
-I../rpmio -I../popt -DOPENPKG -DOPENPKG_AIX
-I/tmp/openpkg-2.20060913/zlib-1.2.3
-I/tmp/openpkg-2.20060913/bzip2-1.0.3
-I/tmp/openpkg-2.20060913/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX
-I/tmp/openpkg-2.20060913/zlib-1.2.3
-I/tmp/openpkg-2.20060913/bzip2-1.0.3
-I/tmp/openpkg-2.20060913/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT
-c rpmds.c -Wp,-MD,.deps/rpmds.TPlo -o rpmds.o
rpmds.c: In function `rpmdsNewDNEVR':
rpmds.c:222: warning: assignment makes pointer from integer without a cast
rpmds.c:226: warning: assignment makes pointer from integer without a cast
rpmds.c:237: warning: assignment makes pointer from integer without a cast
rpmds.c: In function `rpmdsThis':
rpmds.c:282: warning: assignment makes pointer from integer without a cast
rpmds.c:294: warning: assignment makes pointer from integer without a cast
rpmds.c: In function `rpmdsDupArgv':
rpmds.c:605: warning: assignment makes pointer from integer without a cast
echo timestamp > rpmds.lo
source='rpmfi.c' object='rpmfi.lo' libtool=yes \
depfile='.deps/rpmfi.Plo' tmpdepfile='.deps/rpmfi.TPlo' \
depmode=gcc /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile /bin/gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I.. -I../build -I../rpmdb -I../rpmio -I../popt -DOPENPKG
-DOPENPKG_AIX -I/tmp/openpkg-2.20060913/zlib-1.2.3
-I/tmp/openpkg-2.20060913/bzip2-1.0.3
-I/tmp/openpkg-2.20060913/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX
-I/tmp/openpkg-2.20060913/zlib-1.2.3
-I/tmp/openpkg-2.20060913/bzip2-1.0.3
-I/tmp/openpkg-2.20060913/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT
-c -o rpmfi.lo `test -f 'rpmfi.c' || echo './'`rpmfi.c
/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../build -I../rpmdb
-I../rpmio -I../popt -DOPENPKG -DOPENPKG_AIX
-I/tmp/openpkg-2.20060913/zlib-1.2.3
-I/tmp/openpkg-2.20060913/bzip2-1.0.3
-I/tmp/openpkg-2.20060913/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX
-I/tmp/openpkg-2.20060913/zlib-1.2.3
-I/tmp/openpkg-2.20060913/bzip2-1.0.3
-I/tmp/openpkg-2.20060913/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT
-c rpmfi.c -Wp,-MD,.deps/rpmfi.TPlo -o rpmfi.o
rpmfi.c: In function `rpmfiFN':
rpmfi.c:145: warning: assignment makes pointer from integer without a cast
rpmfi.c:146: warning: assignment makes pointer from integer without a cast
rpmfi.c: In function `relocateFileList':
rpmfi.c:867: invalid operands to binary -
rpmfi.c: In function `rpmfiBuildFClasses':
rpmfi.c:1455: warning: assignment makes pointer from integer without a cast
rpmfi.c: In function `rpmfiBuildFDeps':
rpmfi.c:1549: warning: assignment makes pointer from integer without a cast
make[3]: *** [rpmfi.lo] Error 1
The warning messages appear in a lot of the .c files during this portion
of the build.
Doug
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]
Ralph - I've narrowed these warnings down to the stpcpy function. For
example, in rpmchecksig.c:
rpmchecksig.c:454: warning: assignment makes pointer from integer
without a cast
t = stpcpy( stpcpy( stpcpy(t, "gpg("), pubp->userid), ")");
rpmchecksig.c:458: warning: assignment makes pointer from integer
without a cast
t = stpcpy(t, (pubp->version == 4 ? "4:" : "3:"));
Doug
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]