Hi,

I am trying to build net-SNMP version 5.4.2.1 in Redhat linux PC and use
it. I am facing some build time issues. 

When I run "make" command, I get the following error: 

gcc -I../../include -I. -I../../agent -I../../agent/mibgroup
-I../../snmplib -g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE -c mibII/var_route.c
-fPIC -DPIC -o mibII/.libs/var_route.o
mibII/var_route.c: In function `var_ipRouteEntry':
mibII/var_route.c:509: error: structure has no member named `rt_nodes'
mibII/var_route.c:553: error: structure has no member named `rt_nodes'
mibII/var_route.c:660: error: structure has no member named `rt_nodes'
mibII/var_route.c:679: error: structure has no member named `rt_nodes'
mibII/var_route.c: In function `Route_Scan_Reload':
mibII/var_route.c:1337: error: structure has no member named `rt_nodes'
mibII/var_route.c: In function `qsort_compare':
mibII/var_route.c:1425: error: structure has no member named `rt_nodes'
mibII/var_route.c:1428: error: structure has no member named `rt_nodes'
make[2]: *** [mibII/var_route.lo] Error 1

I am using the below OS and GCC versions:

Linux version 2.6.9-1.667 ([email protected]) (gcc
version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25 EST
2004

Can you please help me resolve this issue? 

I tried to trace back and some minor details are pasted below for easy
reference:

#define rt_dst rt_nodes->rn_key 
static RTENTRY **rthead;

/* Following is the line number 509 in var_route.c */
cp = (u_char *) &
                (((struct sockaddr_in *) &(rthead[RtIndex]->rt_dst))->
                 sin_addr.s_addr);

Thanks and regards,
Kishor



------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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

Reply via email to