Thank you for your response, I have installed gcc in the hope that it might do better. (nope) [r...@spycamc4]/usr/local# gcc -v Using built-in specs. Target: ia64-hp-hpux11.23 Configured with: ../gcc/configure Thread model: posix gcc version 4.2.3
/bin/sh ../libtool --mode=compile gcc -I../include -I.
-I../snmplib -g -O2 -Uhpux11 -Dhpux11=hpux11 -D_POSIX_C_SOURCE=199506L
-D_REENTRANT -D_HPUX_SOURCE -fPIC -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE -c -o system.lo
system.c
gcc -I../include -I. -I../snmplib -g -O2 -Uhpux11 -Dhpux11=hpux11
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/opt/perl/lib/5.8.0/IA64.ARCHREV_0-thread-multi/CORE -c system.c
-DPIC -o .libs/system.o
system.c: In function 'get_myaddr':
system.c:589: error: storage size of 'ifc' isn't known
system.c:605: error: invalid application of 'sizeof' to incomplete type
'struct ifreq'
system.c:610: error: invalid application of 'sizeof' to incomplete type
'struct ifreq'
system.c:613: error: invalid application of 'sizeof' to incomplete type
'struct ifconf'
system.c:644: error: increment of pointer to unknown structure
system.c:644: error: arithmetic on pointer to an incomplete type
system.c:647: error: dereferencing pointer to incomplete type
system.c:650: error: dereferencing pointer to incomplete type
system.c:652: error: invalid application of 'sizeof' to incomplete type
'struct ifreq'
system.c:655: error: dereferencing pointer to incomplete type
system.c:655: error: 'IFF_UP' undeclared (first use in this function)
system.c:655: error: (Each undeclared identifier is reported only once
system.c:655: error: for each function it appears in.)
system.c:659: error: dereferencing pointer to incomplete type
system.c:666: error: invalid application of 'sizeof' to incomplete type
'struct ifreq'
system.c:670: error: dereferencing pointer to incomplete type
*** Error exit code 1
Stop.
*** Error exit code 1
-----Original Message-----
From: Thomas Anders [mailto:[email protected]]
Sent: Monday, July 27, 2009 3:03 PM
To: Johnson, Harry A
Cc: [email protected]; [email protected]
Subject: Re: net-snmp-5.4 HPUX B.11.23 U ia64
Johnson, Harry A wrote:
> HOST-RESOURCES-MIB::hrSWRunIndex
> HOST-RESOURCES-MIB::hrSWRunPath
> HOST-RESOURCES-MIB::hrSWRunParameters
>
> I have tried building several versions (with aCC) but no luck.
> I have a pre-built version for the PA-RISC architecture that supports
> this.
> Don't know who built it (or how), but need the same functionality on
the
> ia64 architecture.
A current 5.4.x agent should support that by default.
My nightly build of 5.4.x SVN on HP-UX 11.31/IA64 definitely supports
those MIB objects just fine.
What net-snmp version are you trying with? What configure options do you
use? What's the content of configure-summary? What HOST-RESOURCES-MIB
objects do you see when waking the agent?
+Thomas
configure-summary
Description: configure-summary
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
