On Tue, Nov 21, 2006, Doug Summers wrote:

> For whatever reason I can't get tar-1.16 or openpkg (anything later than
> 10.18) to build on AIX 5.2 or newer.
>
> Here are the errors (identical for both builds):
> In file included from ./stdint.h:55,
>                  from ///usr/include/inttypes.h:51,
>                  from ./inttypes.h:24,
>                  from xstrtol.h:25,
>                  from xstrtoumax.c:23:
> /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:188:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'daddr_t'
> /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:194:
> [...]

The include file which breaks is part of GCC's local overrides/variants
of <sys/types.h>. The reason for such a break usually is because a
dependent header file has to be included first. With the available
information I cannot identify how to actually solve the problem,
so you have to dig deeper yourself or at least show me the context
(or even the while file) around the lines 188 and 194 in the
/opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/typ
es.h files. Perhaps this way we see what the problem is.

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

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

Reply via email to