tunnel.c won't compile in 5.4

Daniel Lacey <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I encountered the following error compiling 5.4 (tunnel.c from
agent/mibgroup):

gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib
-D_REENTRANT -D_GNU_SOURCE -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
-g -O2 -Ulinux -Dlinux=linux -I/usr/include/rpm -c
mibgroup/tunnel/tunnel.c -fPIC -DPIC -o mibgroup/tunnel/.libs/tunnel.o

mibgroup/tunnel/tunnel.c: In function `getType':

mibgroup/tunnel/tunnel.c:241: error: structure has no member named
`ifType'

mibgroup/tunnel/tunnel.c: In function `getName':

mibgroup/tunnel/tunnel.c:272: warning: return discards qualifiers from
pointer target type

make[2]: *** [mibgroup/tunnel/tunnel.lo] Error 1

make[2]: Leaving directory `/root/SRC/net-snmp-5.4/agent'

I found one bug in the bug tracker where tunnel.c would not compile,
but was fixed...

[ 1399421 ] 5.2+: tunnel mib fails to build w/ if-mib rewrite

This is on CentOS 4.3 (Linux).

Anybody else?

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
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.