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: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:249: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'key_t' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timer_t' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:279: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_t' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:282: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tid_t' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:292: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'blkcnt_t' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'blksize_t' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:320: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'id_t'
In file included from /usr/include/sys/m_types.h:40,
from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:465,
                 from ./stdint.h:55,
                 from ///usr/include/inttypes.h:51,
                 from ./inttypes.h:24,
                 from xstrtol.h:25,
                 from xstrtoumax.c:23:
/usr/include/sys/vm_types.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kvmid_t' /usr/include/sys/vm_types.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kvmhandle_t' /usr/include/sys/vm_types.h:70: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmidx_t' /usr/include/sys/vm_types.h:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmkey_t' /usr/include/sys/vm_types.h:72: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmhwkey_t' /usr/include/sys/vm_types.h:73: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vpn_t' /usr/include/sys/vm_types.h:74: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rpn_t' /usr/include/sys/vm_types.h:79: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'esid_t' /usr/include/sys/vm_types.h:105: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmsize_t' /usr/include/sys/vm_types.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vmm_lock_t' /usr/include/sys/vm_types.h:156: error: expected specifier-qualifier-list before 'ulong32int64_t' In file included from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/types.h:465,
                 from ./stdint.h:55,
                 from ///usr/include/inttypes.h:51,
                 from ./inttypes.h:24,
                 from xstrtol.h:25,
                 from xstrtoumax.c:23:
/usr/include/sys/m_types.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ext_t'
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:618: error: expected specifier-qualifier-list before '__ulong32_t' if /openpkg/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -O2 -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi if /openpkg/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -O2 -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi In file included from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:62, from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/stdlib.h:310,
                 from xstrtol.c:42,
                 from xstrtoumax.c:32:
/usr/include/sys/resource.h:323: error: expected declaration specifiers or '...' before 'id_t' /usr/include/sys/resource.h:324: error: expected declaration specifiers or '...' before 'id_t' In file included from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:66, from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/stdlib.h:310,
                 from xstrtol.c:42,
                 from xstrtoumax.c:32:
/opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/signal.h:284: error: expected specifier-qualifier-list before 'pid_t'
In file included from /usr/include/sys/context.h:40,
from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/signal.h:378, from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:66, from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/stdlib.h:310,
                 from xstrtol.c:42,
                 from xstrtoumax.c:32:
/usr/include/sys/mstsave.h:61: error: expected specifier-qualifier-list before 'pid_t' In file included from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:66, from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/stdlib.h:310,
                 from xstrtol.c:42,
                 from xstrtoumax.c:32:
/opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/signal.h:1149: error: expected ')' before 'int' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/signal.h:1172: error: expected ')' before 'int' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/signal.h:1189: error: expected ')' before 'int' In file included from /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/stdlib.h:310,
                 from xstrtol.c:42,
                 from xstrtoumax.c:32:
/opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:171: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:173: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'waitpid' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:187: error: expected declaration specifiers or '...' before 'id_t' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait3' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:197: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kwaitpid' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'kwaitpid64' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait364' /opt/openpkg/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.1.1/include/sys/wait.h:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wait4'
make[3]: *** [xstrtoumax.o] Error 1


This is getting frustrating...

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

Reply via email to