Looking at config.log.gz now.  You'll probably need to start with some 
pkgsrc for AIX boostrap binaries.  With a semi-functional toolchain, you 
can recompile it eventually.

I'm looking for a bootstrap binary tarball for you now.

  ftp://ftp.netbsd.org/pub/pkgsrc/pkgsrc-2007Q4/pkgsrc/bootstrap/README.AIX

~BAS

On Fri, 22 Feb 2008, Baird, Josh wrote:

> Unfortuantly, the bootstrap of pkgsrc is also failing.
>
> Here is my config.log.
>
> Thanks,
>
> Josh
>
> -----Original Message-----
> From: Brian A. Seklecki [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 22, 2008 1:39 PM
> To: Baird, Josh
> Cc: [email protected]
> Subject: Re: Compiling 5.4.1 on AIX 6.1
>
>
> On Fri, 2008-02-22 at 13:33 -0600, Baird, Josh wrote:
>> Has anyone been successful at compiling net-snmp on AIX 6.1?  Here is
>> some information and my errors:
>>
>>
>
> Bootstrap pkgsrc[.org] and try again.  Forward me any errors,
> config.log, etc. if it still fails.
>
> ~BAS
>
>>
>> # oslevel -s
>>
>> 6100-00-02-0750
>>
>>
>>
>> # uname -a
>>
>> AIX boxname 1 6 0003338AD300
>>
>>
>>
>> # gcc -v
>>
>> Using built-in specs.
>>
>> Target: powerpc-ibm-aix5.3.0.0
>>
>> Configured with: ../configure --with-as=/usr/bin/as
>> --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++
>> --prefix=/opt/freeware --enable-threads
>> --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.3.0.0
>>
>> Thread model: aix
>>
>> gcc version 4.0.0
>>
>>
>>
>> Configure line:
>>
>> # ./configure --prefix=/opt/freeware --enable-as-needed
>> --without-kmem-usage
>>
>>
>>
>> Errors during configure:
>>
>> hecking libperfstat.h presence... yes
>>
>> configure: WARNING: libperfstat.h: present but cannot be compiled
>>
>> configure: WARNING: libperfstat.h:     check for missing prerequisite
>> headers?
>>
>> configure: WARNING: libperfstat.h: see the Autoconf documentation
>>
>> configure: WARNING: libperfstat.h:     section "Present But Cannot Be
>> Compiled"
>>
>> configure: WARNING: libperfstat.h: proceeding with the preprocessor's
>> result
>>
>> configure: WARNING: libperfstat.h: in the future, the compiler will
>> take precedence
>>
>> configure: WARNING:     ##
>> ---------------------------------------------------- ##
>>
>> configure: WARNING:     ## Report this to
>> [EMAIL PROTECTED] ##
>>
>> configure: WARNING:     ##
>> ---------------------------------------------------- ##
>>
>>
>>
>> and
>>
>>
>>
>> checking sys/stream.h presence... yes
>>
>> configure: WARNING: sys/stream.h: present but cannot be compiled
>>
>> configure: WARNING: sys/stream.h:     check for missing prerequisite
>> headers?
>>
>> configure: WARNING: sys/stream.h: see the Autoconf documentation
>>
>> configure: WARNING: sys/stream.h:     section "Present But Cannot Be
>> Compiled"
>>
>> configure: WARNING: sys/stream.h: proceeding with the preprocessor's
>> result
>>
>> configure: WARNING: sys/stream.h: in the future, the compiler will
>> take precedence
>>
>> configure: WARNING:     ##
>> ---------------------------------------------------- ##
>>
>> configure: WARNING:     ## Report this to
>> [EMAIL PROTECTED] ##
>>
>> configure: WARNING:     ##
>> ---------------------------------------------------- ##
>>
>>
>>
>> Error during make:
>>
>> /usr/include/unistd.h:916: error: parse error before 'rid_t'
>>
>> system.c: In function 'get_myaddr':
>>
>> system.c:589: error: storage size of 'ifc' isn't known
>>
>> system.c:605: error: invalid application of 'sizeof' to incomplete
>> type 'struct ifreq'
>>
>> system.c:610: error: invalid application of 'sizeof' to incomplete
>> type 'struct ifreq'
>>
>> system.c:613: error: invalid application of 'sizeof' to incomplete
>> type 'struct ifconf'
>>
>> system.c:641: error: dereferencing pointer to incomplete type
>>
>> system.c:642: error: dereferencing pointer to incomplete type
>>
>> system.c:647: error: dereferencing pointer to incomplete type
>>
>> system.c:650: error: dereferencing pointer to incomplete type
>>
>> system.c:652: error: invalid application of 'sizeof' to incomplete
>> type 'struct oifreq'
>>
>> system.c:655: error: dereferencing pointer to incomplete type
>>
>> system.c:655: error: 'IFF_UP' undeclared (first use in this function)
>>
>> system.c:655: error: (Each undeclared identifier is reported only once
>>
>> system.c:655: error: for each function it appears in.)
>>
>> system.c:659: error: dereferencing pointer to incomplete type
>>
>> system.c:666: error: invalid application of 'sizeof' to incomplete
>> type 'struct oifreq'
>>
>> system.c:670: error: dereferencing pointer to incomplete type
>>
>> make: 1254-004 The error code from the last command is 1.
>>
>>
>>
>>
>>
>> Stop.
>>
>> make: 1254-004 The error code from the last command is 2.
>>
>>
>>
>>
>>
>> Stop.
>>
>>
>>
>> Anyone have any insight?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Josh Baird
>>
>>
>>
> ------------------------------------------------------------------------
> -
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________ Net-snmp-users mailing
> list [email protected] Please see the following page
> to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>

l8*
        -lava (Brian A. Seklecki - Pittsburgh, PA, USA)
               http://www.spiritual-machines.org/

     "Guilty? Yeah. But he knows it. I mean, you're guilty.
     You just don't know it. So who's really in jail?"
     ~Maynard James Keenan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to