I know, it's really old, but I'm now stuck with about 20 of them to
support and would really like to leverage OpenPKG. When trying to build
OpenPKG-stable I get this during the building of RPM:
source='depends.c' object='depends.lo' libtool=yes \
depfile='.deps/depends.Plo' tmpdepfile='.deps/depends.TPlo' \
depmode=aix /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile /bin/cc -DHAVE_CONFIG_H -I.
-I. -I.. -I. -I.. -I../build -I../rpmdb -I../rpmio -I../popt -DOPENPKG
-DOPENPKG_AIX -I/tmp/openpkg-2.20060824/zlib-1.2.3
-I/tmp/openpkg-2.20060824/bzip2-1.0.3
-I/tmp/openpkg-2.20060824/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX
-I/tmp/openpkg-2.20060824/zlib-1.2.3
-I/tmp/openpkg-2.20060824/bzip2-1.0.3
-I/tmp/openpkg-2.20060824/beecrypt-4.1.2 -c -o depends.lo `test -f
'depends.c' || echo './'`depends.c
/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../build -I../rpmdb
-I../rpmio -I../popt -DOPENPKG -DOPENPKG_AIX
-I/tmp/openpkg-2.20060824/zlib-1.2.3
-I/tmp/openpkg-2.20060824/bzip2-1.0.3
-I/tmp/openpkg-2.20060824/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX
-I/tmp/openpkg-2.20060824/zlib-1.2.3
-I/tmp/openpkg-2.20060824/bzip2-1.0.3
-I/tmp/openpkg-2.20060824/beecrypt-4.1.2 -c -M depends.c -o depends.o
"depends.c", line 48.12: 1506-343 (S) Redeclaration of rpmNAME differs
from previous declaration on line 39 of "./rpmlib.h".
"depends.c", line 48.12: 1506-382 (I) The type "unsigned char*" of
identifier rpmNAME differs from previous type "const unsigned char*".
"depends.c", line 51.12: 1506-343 (S) Redeclaration of rpmEVR differs
from previous declaration on line 42 of "./rpmlib.h".
"depends.c", line 51.12: 1506-382 (I) The type "unsigned char*" of
identifier rpmEVR differs from previous type "const unsigned char*".
"depends.c", line 340.15: 1506-196 (W) Initialization between types
"struct __db_dbt*" and "int" is not allowed.
"depends.c", line 341.16: 1506-196 (W) Initialization between types
"struct __db_dbt*" and "int" is not allowed.
"depends.c", line 834.46: 1506-280 (W) Function argument assignment
between types "const unsigned char***" and "unsigned char***" is not
allowed.
"depends.c", line 1162.30: 1506-196 (W) Initialization between types
"unsigned char*" and "int" is not allowed.
"depends.c", line 1194.14: 1506-068 (W) Operation between types "void**"
and "int" is not allowed.
make[3]: *** [depends.lo] Error 1
make[3]: Leaving directory `/tmp/openpkg-2.20060824/rpm-4.2.1/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/openpkg-2.20060824/rpm-4.2.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/openpkg-2.20060824/rpm-4.2.1'
make: *** [all] Error 2
The compiler version is VisualAge 5.0 (can't get anything newer). I
might be able to get a 3.4.x version of gcc built to try that.
Any idea where I should look?
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]