> On 23/06/07, Aleksey Tsalolikhin <[EMAIL PROTECTED]> wrote: > > I am trying to get process monitoring to work with net-snmp 5.3.1 > > from HP's Internet Express (open source) library on HP-UX 11.23 > > (Itanium). > > > > net-snmp daemon returns only the first 10 processes in the process table:
On 6/23/07, Dave Shield <[EMAIL PROTECTED]> replied: > > Can you try testing this problem with the 5.4.1.pre3 code? > Do you see the same truncated results? Dear Dave, I tried, but was unable to compile the 5.4.1.pre3: ./configure --with-libs=-lnm gmake ... gcc -I../include -I. -I../snmplib -g -O2 -Uhpux11 -Dhpux11=hpux11 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -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 system.c:589: warning: unused variable 'ifc' system.c: In function 'strcasestr': system.c:980: warning: cast discards qualifiers from pointer target type system.c:1003: warning: cast discards qualifiers from pointer target type gmake[1]: *** [system.lo] Error 1 gmake[1]: Leaving directory `/var/tsalolia/net-snmp-5.4.1.pre3/snmplib' gmake: *** [subdirs] Error 1 green01# I used the following: gcc 4.1.2 libgcc 4.1.2 make 3.81 What do you think? Best, -at ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
