Doug Summers wrote:
I know it's old but I still have a few to support...

Using GCC 3.4.3 from UCLA's archives. I believe this error was similar to what I first got trying to build OpenPKG 2.3 on AIX 5.1:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -DOPENPKG -DOPENPKG_AIX -I/tmp/openpkg-2.5.1/zlib-1.2.3 -I/tmp/openpkg-2.5.1/bzip2-1.0.3 -I/tmp/openpkg-2.5.1/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX -I/tmp/openpkg-2.5.1/zlib-1.2.3 -I/tmp/openpkg-2.5.1/bzip2-1.0.3 -I/tmp/openpkg-2.5.1/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT -MT rpmrpc.lo -MD -MP -MF .deps/rpmrpc.Tpo -c rpmrpc.c -o rpmrpc.o
In file included from /usr/include/sys/pri.h:29,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:52,
                 from /usr/include/pthread.h:43,
                 from rpmrpc.c:8:
/usr/include/sys/proc.h:203: error: parse error before "crid_t"
/usr/include/sys/proc.h:212: error: parse error before "p_class"
/usr/include/sys/proc.h:355: error: parse error before '}' token
rpmrpc.c: In function `ftpOpendir':
rpmrpc.c:1249: warning: assignment makes pointer from integer without a cast
rpmrpc.c: In function `Glob':
rpmrpc.c:1457: warning: assignment from incompatible pointer type
rpmrpc.c:1458: warning: assignment from incompatible pointer type
rpmrpc.c:1459: warning: assignment from incompatible pointer type
make[2]: *** [rpmrpc.lo] Error 1
make[2]: Leaving directory `/tmp/openpkg-2.5.1/rpm-4.2.1/rpmio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/openpkg-2.5.1/rpm-4.2.1'
make: *** [all] Error 2
+ exit 2
./openpkg.boot:ERROR: script returned non-null value

Doug

I removed the old GCC 2.95 rpm's, removed the GCC 3.4.3 (doesn't work), and installed GCC 3.3.0 from Bull's site. I'm getting farther but it still dies:

/opt/freeware/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.5.1/zlib-1.2.3 -I/tmp/openpkg-2.5.1/bzip2-1.0.3 -I/tmp/openpkg-2.5.1/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX -I/tmp/openpkg-2.5.1/zlib-1.2.3 -I/tmp/openpkg-2.5.1/bzip2-1.0.3 -I/tmp/openpkg-2.5.1/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT -MT rpmfi.lo -MD -MP -MF .deps/rpmfi.Tpo -c rpmfi.c -o rpmfi.o
In file included from ../system.h:401,
                 from rpmfi.c:6:
../misc/glob.h:53: warning: redefinition of `size_t'
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/3.3/include/sys/types.h:137: warning: `size_t' previously declared here
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: error: 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
make[3]: Leaving directory `/tmp/openpkg-2.5.1/rpm-4.2.1/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/openpkg-2.5.1/rpm-4.2.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/openpkg-2.5.1/rpm-4.2.1'
make: *** [all] Error 2
+ exit 2
./openpkg.boot:ERROR: script returned non-null value

I'm going to try now to debug the /usr/vac/bin/cc compile.

Doug
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to