Hello Thomas,

regarding problem #9 in your list: both ntohl() and ntohs() aren't
implemented as functions in HP-UX 10.20 (and btw 11.0/11i too) but
instead as macros returning the given argument without change. Details
can be found in either <arpa/inet.h> or <netinet/in.h>.

I think that in any of the snmpnetstat sources the including of either
of these include files is missing such that the compiler generates code
for calling functions with those two names (and these two functions do
not exist in any of the libraries used when binding snmpnetstat).

Probably including

- <net-snmp/net-snmp-config.h>
- <net-snmp/net-snmp-includes.h>

will do.

Hope that helps!

Johannes

Thomas Anders schrieb:
> -Coders,
> 
> here's a status report of my latest efforts to perform automated build
> tests for 5.3.x on both the SF.net Compile Farm and another
> ("anonymously" sponsored) build farm, covering a variety of
> configurations and platforms (see below). A bunch of minor build fixes
> gained from these tests already went into CVS. Here are 5.3.1.pre2's
> remaining build problems:
> 
> 1) embedded Perl: insufficient configure checks for:
>   - minimum perl version (e.g. IRIX 6.5 ships with Perl 5.00405,
> currently yields into a compiler error)
>   - usable libperl.so (otherwise "#error embedded perl broken"
> compile-time error, e.g. on RH7.1 and RHEL2.1)
>   - perl's CCFLAGS and net-snmp's CC/CFLAGS work together (especially a
> problem if gcc vs. vendor C compiler, also see 2))
> 2) Solaris: embedded perl and the ucd_snmp+host mib modules don't build
> together (because of largefile options; see bug 1486366)
> 3) nlist runtime errors on 64-bit kernels (IRIX64, AIX 5.x, Tru64; e.g.
> causes test #57 failure)
> 4) AIX: known build issues with shared libs (=> no embedded perl) and
> grep (see recently enhanced README.aix)
> 5) IRIX 6.5: compiler error with gcc (4.0.2) in mibII/at.c
> 6) Tru64 4.0D doesn't compile although we list it in the FAQ
> 7) Solaris 8/9 "make install DESTDIR=/some/where" w/ OS-supplied Perl
> 5.00503/5.6.1 still writes some perl stuff to system directories
> 8) RHEL/x86_64 3, 4: test #36 fails (after SIGHUP)
> 9) HP-UX 10.20: apps/snmpnetstat linker error (unsatisfied symbols
> ntohl, ntohs)
> 10) NetBSD 2.0.2 and OpenBSD 3.8 on x86: test #57 failure
> 
> The following platforms have been tested:
> 
> SF.net Compile Farm:
> - Debian 3.0/alpha
> - FC3/x86
> - SLES9/ppc64
> - Solaris 9/SPARC+x86
> - NetBSD/x86 2.0.2
> - OpenBSD/x86 3.8
> 
> Third-party Build farm:
> - RH Linux/x86 7.1, 9
> - RHEL/x86 2.1, 3, 4
> - RHEL/x86_64 3, 4
> - Solaris/SPARC 2.6, 7, 8, 9, 10
> - HP-UX/PA-RISC 10.20, 11.00, 11.11, 11.23
> - HP-UX/IA64 11.23
> - AIX 4.3.3, 5.1, 5.2, 5.3
> - IRIX 6.5
> - Tru64 Unix 4.0D, 5.1
> 
> Given the huge list of tested platforms, the above list of remaining
> build problems isn't all that bad, I think.
> 
> What build problems can we fix before 5.3.1 final?
> 
> Feedback appreciated.
> 
> 
> +Thomas
> 

-- 
Johannes Schmidt-Fischer

InterFace AG                 phone  +49 (0)89 / 610 49 - 207
Leipziger Str. 16            fax    +49 (0)89 / 610 49 - 85
D-82008 Unterhaching         mobile +49 (0)171/ 787 76 01
http://www.InterFace-AG.com  mailto:[EMAIL PROTECTED]


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to