Good point. I'm using gcc (as well as the gnu linker) - so representation of 
symbols within the library would be the same/similar as on other platforms (I 
would assume).

Looking at other functions, they are represented in the library with and 
without the preceding '.' characters - Those that are stated as missing with 
the gld link messages ONLY show (through strings | grep) with the '.' 
preceding. Thus making the assumption that indeed those ARE missing symbols in 
the library - and this is not a case of a compile/link issue, but truely code 
that doesn't support those calls.

And with your further verbiage/research you did - I tend to agree, it is almost 
certain that IF-MIBS is only supported/ported under Linux.

Crud - built in AIX SNMP does not support 64 bit counters on the network 
interfaces. 1Gb speed network interfaces blows out the 32 bit counters VERY 
easily (when they're used as interfaces to netapp I/O appliances).

Thanks for your help Dave.

Philip Greer
Systems Engineer
Paragon Solutions Group 
PH: 303-841-4418  CELL: 303-668-3391
FAX: 303-841-4392
http://www.paragonsg.com
IBM Certified Advanced Technical Expert

-----Original Message-----
From: Dave Shield [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 07, 2005 10:29 AM
To: Philip Greer
Cc: [email protected]; Tom Holton;
[EMAIL PROTECTED]
Subject: RE: Compiling net-snmp 5.2.1 under AIX 5.3 ML1


On Thu, 2005-04-07 at 17:17, Philip Greer wrote:
> Hmmmm.... might be. But - what I am seeing is that those symbols
> are present within the libraries (for the most part) that are
> created during the compile. Doing a strings on the library
> ./.libs/libnetsnmpmibs.a and grepping for the functions
> (like netsnmp_arch_interface_init) I do see them in there.

Well, there will certainly be a *call* to this routine somewhere
in the code, so the string might well appear in the library due
to that.   That doesn't necessary mean that there is a definition
of the routine.
  How does the AIX compiler represent an unresolved routine
as compared to a resolved one in the library?  What happens if
you grep for a routine that's known to be present?
(e.g. header_simple_table)



> Where would I find out more info on Robert's rewrite of IF-MIB

        agent/mibgroup/if-mib

> and whether or not it truely ONLY is supported as compiled under
> Linux, or whether it is ported to other platforms (Solaris, AIX,
> HP-UX, etc.)

Somehow I doubt it has:

$ cd agent/mibgroup/if-mib/data_access/
$ find . -type f | xargs grep netsnmp_arch_interface_init
./interface_common.c:extern void netsnmp_arch_interface_init(void);
./interface_common.c:        netsnmp_arch_interface_init();
./interface_linux.c:netsnmp_arch_interface_init(void)


Look very much like it's still Linux only.

Dave



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to