On Wed, 2005-09-14 at 10:10 +0800, [EMAIL PROTECTED] wrote:
> Thanks for your feedback, I can try and do some test on my AIX box. 
> But I am new to net-snmp, even I don't know how to start. 

Probably the best starting point would be to see which HostRes
modules do/don't compile on AIX.

Try the following:

        - unpack the source & cd into that directory
        - run './configure --with-mib-modules=host'
        - run 'make'

Does that run through to completion without any errors?
(I'd be very surprised if it did!)


Then you'd need to look at the HostRes code files individually.
Something like:

        - cd agent/mibgroup
        - make host/hr_system.o
        - make host/hr_device.o
        -    <etc, etc>

Note which code files compile correctly, and which don't.
Then start working through the ones that don't.

In some cases, it may simply be due to a missing header file
that AIX needs (and other systems don't).  In some cases,
AIX might use a slightly different data structure, but close
enough to the existing code that it's fairly clear what to
change.  In some cases, the AIX approach may need to be
completely different.  I'd suggest you leave those for later,
and concentrate on the easy cases first.

If nothing else, just knowing which bits do/don't work would
be useful information.

Good Luck.

Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to