Compilation error in Net-SNMP for arm linux

"विशाल नंदनवार " <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I want to compile Net-SNMP-5.1.4 for arm linux, but it is giving me
following error,

mibII/var_route.c: In function `var_ipRouteEntry':
mibII/var_route.c:506: error: dereferencing pointer to incomplete type
mibII/var_route.c:550: error: dereferencing pointer to incomplete type
mibII/var_route.c:556: error: dereferencing pointer to incomplete type
mibII/var_route.c:563: error: dereferencing pointer to incomplete type
mibII/var_route.c:563: error: `RTF_GATEWAY' undeclared (first use in this
function)
mibII/var_route.c:563: error: (Each undeclared identifier is reported only
once
mibII/var_route.c:563: error: for each function it appears in.)
mibII/var_route.c:609: error: dereferencing pointer to incomplete type
mibII/var_route.c:615: error: dereferencing pointer to incomplete type
mibII/var_route.c:615: error: `RTF_UP' undeclared (first use in this
function)
mibII/var_route.c:616: error: dereferencing pointer to incomplete type
mibII/var_route.c:630: error: dereferencing pointer to incomplete type
mibII/var_route.c:630: error: `RTF_DYNAMIC' undeclared (first use in this
function)
mibII/var_route.c:657: error: dereferencing pointer to incomplete type
mibII/var_route.c:676: error: dereferencing pointer to incomplete type
mibII/var_route.c:679: error: dereferencing pointer to incomplete type
mibII/var_route.c: In function `Route_Scan_Reload':
mibII/var_route.c:1318: error: storage size of 'rtent' isn't known
mibII/var_route.c:1324: error: dereferencing pointer to incomplete type
mibII/var_route.c:1325: error: dereferencing pointer to incomplete type
mibII/var_route.c:1333: error: dereferencing pointer to incomplete type
mibII/var_route.c:1346: error: dereferencing pointer to incomplete type
mibII/var_route.c:1349: error: dereferencing pointer to incomplete type
mibII/var_route.c:1349: error: dereferencing pointer to incomplete type
mibII/var_route.c:1350: error: dereferencing pointer to incomplete type
mibII/var_route.c:1350: error: dereferencing pointer to incomplete type
mibII/var_route.c:1352: error: dereferencing pointer to incomplete type
mibII/var_route.c:1367: error: invalid application of `sizeof' to incomplete
type `rtentry'
mibII/var_route.c:1372: error: invalid application of `sizeof' to incomplete
type `rtentry'
mibII/var_route.c: In function `qsort_compare':
mibII/var_route.c:1422: error: dereferencing pointer to incomplete type
mibII/var_route.c:1425: error: dereferencing pointer to incomplete type
make[2]: *** [mibII/var_route.lo] Error 1
make[2]: Leaving directory `/home/vishal/digitek/net-snmp-5.4.1
/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/vishal/digitek/net-snmp-5.4.1/agent'
make: *** [subdirs] Error 1

I am using snapgear to compile this.

Anybody know why this? what is solution for this? Is Net-SNMP already
available form arm linux?

Vishal N

-------------------------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
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.