Me too. I find this bz :
http://www.redhat.com/archives/rpm-list/2003-April/msg00122.html Same thing as True64 ? Need to find the corrects defines ? Black magic for me ;( I added in fts.c (just a try) #if defined(OPENPKG_AIX) # define __errno_location() (&errno) # define dirfd(dirp) -1 # define _STAT_VER 0 # define __fxstat64(_stat_ver, _fd, _sbp) fstat((_fd), (_sbp)) # define _D_EXACT_NAMLEN(d) ((d)->d_namlen) #endif but build failed later ;( /usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -DOPENPKG -DOPENPKG_AIX -I/QOpenSys/tmp/openpkg-2.3.1/zlib-1.2.2 -I/QOpenSys/tmp/openpkg-2.3.1/bzip2-1.0.2 -I/QOpenSys/tmp/openpkg-2.3.1/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX -I/QOpenSys/tmp/openpkg-2.3.1/zlib-1.2.2 -I/QOpenSys/tmp/openpkg-2.3.1/bzip2-1.0.2 -I/QOpenSys/tmp/openpkg-2.3.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 ../system.h:401, from rpmrpc.c:5: ../misc/glob.h:53: warning: redefinition of `size_t' /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/sys/types.h:159: warning: `size_t' previously declared here rpmrpc.c: In function `ftpOpendir': rpmrpc.c:1195: error: structure has no member named `fd' rpmrpc.c: In function `ftpReaddir': rpmrpc.c:1279: error: structure has no member named `fd' rpmrpc.c:1313: error: structure has no member named `d_off' rpmrpc.c:1314: error: structure has no member named `d_type' rpmrpc.c: In function `ftpClosedir': rpmrpc.c:1336: error: structure has no member named `fd' 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 rpmrpc.c: In function `Readdir': rpmrpc.c:1518: error: structure has no member named `fd' rpmrpc.c: In function `Closedir': rpmrpc.c:1527: error: structure has no member named `fd' make[2]: *** [rpmrpc.lo] Error 1 make[2]: Leaving directory `/QOpenSys/tmp/openpkg-2.3.1/rpm-4.2.1/rpmio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/QOpenSys/tmp/openpkg-2.3.1/rpm-4.2.1' make: *** [all] Error 2 2005/5/13, Ralf S. Engelschall <[EMAIL PROTECTED]>: > On Fri, May 13, 2005, Henri Gomez wrote: > > > > My understand was that the options "--with-cpu=none --with-arch=none" we > > > are using during BeeCrypt configure time does already disable assembly > > > stuff. > > > > In 2.3.1 or HEAD/CURRENT ? > > Both should be the same in this corner. > > > BTW, it works now that I removed the gnu GAS from the build pass and > > that AIX as is used instead. > > > > But now it's rpm which fail ;( > > > > /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/sys/types.h:159: > > warning: `size_t' previously declared here > > fts.c: In function `Fts_open': > > fts.c:174: error: invalid type argument of `unary *' > > fts.c:215: error: invalid type argument of `unary *' > > fts.c:224: error: invalid type argument of `unary *' > > fts.c: In function `Fts_close': > > fts.c:364: error: invalid type argument of `unary *' > > fts.c: In function `Fts_read': > > fts.c:538: error: invalid type argument of `unary *' > > fts.c:561: error: invalid type argument of `unary *' > > fts.c: In function `Fts_set': > > fts.c:588: error: invalid type argument of `unary *' > > fts.c: In function `Fts_children': > > fts.c:604: error: invalid type argument of `unary *' > > fts.c:617: error: invalid type argument of `unary *' > > fts.c: In function `fts_build': > > fts.c:818: error: invalid type argument of `unary *' > > fts.c:842: error: invalid type argument of `unary *' > > fts.c: In function `fts_stat': > > fts.c:980: error: invalid type argument of `unary *' > > fts.c: In function `fts_palloc': > > fts.c:1145: error: invalid type argument of `unary *' > > fts.c: In function `fts_safe_changedir': > > fts.c:1214: error: `_STAT_VER' undeclared (first use in this function) > > fts.c:1214: error: (Each undeclared identifier is reported only once > > fts.c:1214: error: for each function it appears in.) > > fts.c:1220: error: invalid type argument of `unary *' > > fts.c:1231: error: invalid type argument of `unary *' > > make[2]: *** [fts.lo] Error 1 > > make[2]: Leaving directory `/QOpenSys/tmp/openpkg-2.3.1/rpm-4.2.1/rpmio' > > make[1]: *** [all-recursive] Error 1 > > Yes, this is where I got stuck recently, too. fts.c is a nasty piece > of source which pokes around in libc structures. One needs an explicit > #ifdef/#endif for AIX there, but I was until now not able to figure out > what we need inside the #ifdef/#endif (it's just 3-4 lines of macros, > but one has to fiddle around with the system libc here)... I appreciate > a solution. > Ralf S. Engelschall > [EMAIL PROTECTED] > www.engelschall.com > > ______________________________________________________________________ > The OpenPKG Project www.openpkg.org > Developer Communication List openpkg-dev@openpkg.org > ______________________________________________________________________ The OpenPKG Project www.openpkg.org Developer Communication List openpkg-dev@openpkg.org