Desmond Vicks wrote: > Jan Safranek wrote: > I've tried this again and the patch applied successfully, thanks. >Now, however, I run into problems compiling the agent. This is on >FreeBSD 7.0 amd64 and r17347 of net-snmp trunk: > > > prime% make > ... > mibII/icmp.c: In function 'init_icmp': > mibII/icmp.c:167: warning: unused variable 'table_info' > mibII/icmp.c:166: warning: unused variable 'iinfo' > mibII/icmp.c: In function 'icmp_handler': > mibII/icmp.c:411: error: invalid use of undefined type 'struct icmpstat' > mibII/icmp.c:412: error: invalid use of undefined type 'struct icmpstat' > <many more of these> > mibII/icmp.c:494: error: invalid use of undefined type 'struct icmpstat' > mibII/icmp.c: In function 'icmp_load': > mibII/icmp.c:974: error: invalid application of 'sizeof' to incomplete type 'struct icmpstat' > mibII/icmp.c: In function 'icmp_free': > mibII/icmp.c:1001: error: invalid application of 'sizeof' to incomplete type 'struct icmpstat' ... > This doesn't look like a problem related to your patch though, but I'm > only guessing.
I installed FreeBSD today to see what's wrong. The error you can see is caused by recent rework of the configure script, the trunk should be fixed now. FreeBSD 7.1 with today's trunk and my patch works like charm. BTW, do you know, how to simulate a big disk (>10TB) on the FreeBSD? I can do it only on Linux. > I've also tried patching against net-snmp-5.4.2.1 and that failed to > build also, but at a different point: I am not sure if the patch fits there... I'll check it later. Jan ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ 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
