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 <willem.hild...@sara.nl>:

> 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: willem.hild...@sara.nl
> 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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to