On Tue, Dec 21, 2004, Doug Summers wrote:

> [...]
> >PS: The fts.c is obvious to fail because it always needed adjustments
> >    due to some highly non-portable code.
> [...]
> Ralf, here's the text from the latest compile I've tried. I used the
> latest release of the openpkg source, but the errors are consistent on
> any version 2.2.0 and above. I'm still working on getting an AIX 5.1
> machine for you to run tests on:
>
> /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt
> -DOPENPKG -DOPENPKG_AIX -I/tmp/openpkg-20041220/zlib-1.2.1
> -I/tmp/openpkg-20041220/bzip2-1.0.2
> -I/tmp/openpkg-20041220/beecrypt-4.1.1 -DOPENPKG -DOPENPKG_AIX
> -I/tmp/openpkg-20041220/zlib-1.2.1 -I/tmp/openpkg-20041220/bzip2-1.0.2
> -I/tmp/openpkg-20041220/beecrypt-4.1.1 -O2 -D_GNU_SOURCE -D_REENTRANT
> -MT fts.lo -MD -MP -MF .deps/fts.Tpo -c fts.c -o fts.o
> In file included from ../system.h:401,
>                  from fts.c:86:
> ../misc/glob.h:53: warning: redefinition of `size_t'
> /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/include/sys/types.h:145:
> 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 `/tmp/openpkg-20041220/rpm-4.2.1/rpmio'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/openpkg-20041220/rpm-4.2.1'
> make: *** [all] Error 2
> + exit 2
> ./openpkg.boot:ERROR: script returned non-null value
>
> Is is possible that I need the latest GCC?

No, see my PS above. fts.c needs manual adjustment for every additional OS...

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to