Hello,

  Sorry for a misleading detail and some typos in my last question. I
wrote it quite fast just before leaving. Here are more precisions.

  For solving the problem described in the orignal question, I'm
trying to use var_ifEntry() which is found in ../mibII/interfaces.c,
hoping that it'll return the proper interface name.

  netsnmp_access_interface_name_find() does not.

  I'm trying to use var_ifEntry() in
  ../if-mib/ifTable/ifTable_data_access.c

  I found a use of var_ifEntry() in mibgroup/tunnel.c and I'm trying
to use this exact example.  After including the needed include files
and the extern declaration (and even using FindVarMethod) it is still
not found when doing the compile:

./.libs/libnetsnmpmibs.so: undefined reference to `var_ifEntry'

(see previous msg for more compile output - I fixed the 'ii' typo in the 
subject line)

I'd appreciate any pointers on how to use and compile var_ifEntry() in
places other than tunnel.c

Cheers.



------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to