> I get a linker error when I try to build for PPC
> If I add --enable-mini-agent it works fine, but I don't want to do that
> because my pass directive no longer works.
I'll pass on the cross-compilation problem, but you could try
./configure --enable-mini-agent --with-mib-modules=ucd-snmp/pass
> I also found a bug in agent/mibgroup/mibII/at.c
> line 705 needs to be #ifdef'd correctly
>
> #ifdef ARP_SCAN_FOUR_ARGUMENTS
> *ifIndex = ...
> #endif
This is in the "#ifdef linux" block within ARP_Scan_Next - yes?
In which case, ARP_SCAN_FOUR_ARGUMENTS should be defined automatically
(from <net-snmp/system/linux.h>)
It's very ugly code, I agree - but that protection shouldn't be necessary.
Dave
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders