[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

coreutils-{6,7} will not compile on AIX 6.1

From: Jeremy Olexa
Subject: coreutils-{6,7} will not compile on AIX 6.1
Date: Fri, 2 Jan 2009 15:47:35 -0600

Hello list,
New subscriber here and I would like to get some help with this issue
on AIX 6.1.

Here is the relevant code snippet:
depbase=`echo getloadavg.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        powerpc-ibm-aix6.1.0.0-gcc -std=gnu99  -I.      -g -O2 -MT
getloadavg.o -MD -MP -MF $depbase.Tpo -c -o getloadavg.o getloadavg.c
        mv -f $depbase.Tpo $depbase.Po
In file included from /usr/include/sys/corral.h:25,
                 from /usr/include/libperfstat.h:28,
                 from getloadavg.c:410:
/usr/include/netinet/in6_var.h:65: error: array type has incomplete element type
make[4]: *** [getloadavg.o] Error 1

>From my research I have found that the line 65 in in6_var.h is a
invalid type for gcc (maybe as of gcc-4 or newer - not exactly sure).
Line 65 is:
extern  CONST struct protosw inet6sw[];

I have not had any luck tracking down this issue and am slightly
surprised that I have not seen any mention of it while google'ing. Any
help is much appreciated, I don't know if this is something that can
be fixed in coreutils or not? I had the same issue with coreutils-6
and the latest version I found that works is coreutils-5.96.

This was in my config.log:
configure:32456: checking for getloadavg
configure:32512: powerpc-ibm-aix6.1.0.0-gcc -std=gnu99 -o conftest -g
-O2   conftest.c -lperfstat  >&5
ld: 0711-317 ERROR: Undefined symbol: .getloadavg

I also am not so sure why coreutils-6.12 will build on AIX 5.3 with
the relevant part of in6_var.h being the same there. ?

Let me know if you need any additional information.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]