Re: Compiling 5.4.1 on AIX 6.1

"Brian A. Seklecki" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <1203709111.3648.15.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com>
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


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.