Subject: pkgsrc bootstrap fails on AIX
To: None <pkgsrc-users@NetBSD.org>
From: John Housden <John.Housden@TRW.COM>
List: pkgsrc-users
Date: 12/14/2006 14:39:24
Hi,

This is my first post to this list.

I am having trouble trying to bootstrap pkgsrc on AIX version
4.1.4. After searching the mailing list archives I was unable to find
much of help about using pkgsrc on AIX, so I have created a page on
the wiki at http://wiki.netbsd.se/index.php/How_to_use_pkgsrc_on_AIX 

I suspect my problems are related to the very old version of AIX I am
using, but I don't have any option to upgrade. (It is used on
production systems which have been running in a stable environment for
over 8 years).

The particular error that stops the build is:

<snip>
gcc -g -O2 -I. -I./.. -I. -I.. -I./../libedit  -I./../libnetbsd -c
inet_ntop.c
gcc -g -O2 -I. -I./.. -I. -I.. -I./../libedit  -I./../libnetbsd -c
inet_pton.c
inet_pton.c: In function `inet_pton4':
inet_pton.c:92: `uint32_t' undeclared (first use in this function)
inet_pton.c:92: (Each undeclared identifier is reported only once
inet_pton.c:92: for each function it appears in.)
inet_pton.c:92: parse error before `val'
inet_pton.c:108: `val' undeclared (first use in this function)
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/bootstrap/work/tnftp/libnetbsd
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/bootstrap/work/tnftp
===> exited with status 1
aborted.


I would be grateful of any assistance that will enable me to resolve
this problem.

best regards,

John Housden