Re: compiling net-snmp 5.5 on AIX 6.1 fails

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
William,

I have had successful compilations on AIX 5.1 and 5.3 with 5.5.  What  
is the configure line you used and gcc version?

John

Quoting Willem Hilders <[email protected]>:

> Hi All
>
> When I compile net-snmp version 5.5 on my AIX 6.1 machine I get the   
> errors underneath when I issue the make statement. Any one any idea   
> how to solve this
> Thanks in advance
>
> In file included from /usr/include/sys/cred.h:49,
>                  from /usr/include/sys/file.h:32,
>                  from system.c:110:
> /usr/include/sys/secattr.h:50: error: parse error before "rid_t"
> /usr/include/sys/secattr.h:65: error: parse error before '}' token
> /usr/include/sys/secattr.h:70: error: parse error before "authnum_t"
> /usr/include/sys/secattr.h:76: error: parse error before "aroles"
> /usr/include/sys/secattr.h:77: error: parse error before '}' token
> /usr/include/sys/secattr.h:119: error: field `sc_attr' has incomplete type
> In file included from /usr/include/sys/file.h:32,
>                  from system.c:110:
> /usr/include/sys/cred.h:335: error: parse error before "rid_t"
> /usr/include/sys/cred.h:350: error: parse error before '}' token
> system.c: In function `get_myaddr':
> system.c:653: error: storage size of `ifc' isn't known
> system.c:669: error: invalid application of `sizeof' to an incomplete type
> system.c:674: error: invalid application of `sizeof' to an incomplete type
> system.c:677: error: invalid application of `sizeof' to an incomplete type
> system.c:705: error: dereferencing pointer to incomplete type
> system.c:706: error: dereferencing pointer to incomplete type
> system.c:711: error: dereferencing pointer to incomplete type
> system.c:714: error: dereferencing pointer to incomplete type
> system.c:716: error: invalid application of `sizeof' to an incomplete type
> system.c:719: error: dereferencing pointer to incomplete type
> system.c:719: error: `IFF_UP' undeclared (first use in this function)
> system.c:719: error: (Each undeclared identifier is reported only once
> system.c:719: error: for each function it appears in.)
> system.c:723: error: dereferencing pointer to incomplete type
> system.c:730: error: invalid application of `sizeof' to an incomplete type
> system.c:734: 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.
>
> Met vriendelijke groet,
> Willem Hilders
>
> SARA ICT Services
> Email: [email protected]
> Telefoon: 036-5238013
> Fax: 036-5238030
>
>




------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
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.