R: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Palmentieri Nunzio
Nunzio Cc: net-snmp-coders@lists.sourceforge.net Oggetto: Re: R: netsnmp on HP-UX 11.11 Palmentieri Nunzio wrote: > I did change the line > > CFLAGS = -g -O2 -Uhpux11 -Dhpux11=hpux11 > > with > > CFLAGS = -g -O2 -Uhpux11 -Dhpux11=hpux11 -D_XOPEN_SOURCE_EXTENDED=1

R: R: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Palmentieri Nunzio
Nunzio Cc: net-snmp-coders@lists.sourceforge.net Oggetto: Re: R: R: netsnmp on HP-UX 11.11 Palmentieri Nunzio wrote: > $ gcc -v > Reading specs from > /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/specs > Configured with: ./configure : (reconfigured) ./configure : >

Re: R: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Thomas Anders
Palmentieri Nunzio wrote: > $ gcc -v > Reading specs from > /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.1/specs > Configured with: ./configure : (reconfigured) ./configure : > (reconfigured) ./configure > Thread model: posix > gcc version 3.1 I'm not fully convinced this is a properly wo

R: R: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Palmentieri Nunzio
mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Inviato: giovedì 29 marzo 2007 15.08 A: Palmentieri Nunzio Cc: net-snmp-coders@lists.sourceforge.net Oggetto: Re: R: R: netsnmp on HP-UX 11.11 Palmentieri Nunzio wrote: > Program received signal SIGABRT, Aborted. > &g

R: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Palmentieri Nunzio
saggio originale- Da: Thomas Anders [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Inviato: giovedì 29 marzo 2007 15.11 A: Palmentieri Nunzio Cc: net-snmp-coders@lists.sourceforge.net Oggetto: Re: R: netsnmp on HP-UX 11.11 Palmentieri Nunzio wrote: > I did change the line &

R: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Palmentieri Nunzio
i Nunzio Cc: net-snmp-coders@lists.sourceforge.net Oggetto: Re: R: netsnmp on HP-UX 11.11 Palmentieri Nunzio wrote: > /usr/lib/dld.sl: Unresolved symbol: htonl (code) That's likely related to your custom build hacks. htonl() is a macro defined as #definehtonl(x)

Re: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Thomas Anders
Palmentieri Nunzio wrote: > /usr/lib/dld.sl: Unresolved symbol: htonl (code) That's likely related to your custom build hacks. htonl() is a macro defined as #definehtonl(x)(x) so shouldn't end up as an external symbol at all. +Thomas -- Thomas Anders (thomas.anders at blue-cabl

Re: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Thomas Anders
Palmentieri Nunzio wrote: > I did change the line > > CFLAGS = -g -O2 -Uhpux11 -Dhpux11=hpux11 > > with > > CFLAGS = -g -O2 -Uhpux11 -Dhpux11=hpux11 -D_XOPEN_SOURCE_EXTENDED=1 What gcc version are you using? Please refer to the list archives for a previous discussion on a similar problem with g

Re: R: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Thomas Anders
Palmentieri Nunzio wrote: > Program received signal SIGABRT, Aborted. > > 0xc002ea68 in kill () > > (gdb) And what's the output when you finally type "bt"? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) - Tak

R: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Palmentieri Nunzio
zio Cc: net-snmp-coders@lists.sourceforge.net Oggetto: Re: R: netsnmp on HP-UX 11.11 Palmentieri Nunzio wrote: > $ gdb /sema/home/palmenti/net-snmp-5.4/agent/snmpd > HP gdb 3.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00. > Copyright 1986 - 2001 Free Software Foundation, Inc

Re: R: netsnmp on HP-UX 11.11

2007-03-29 Thread Thomas Anders
Palmentieri Nunzio wrote: > $ gdb /sema/home/palmenti/net-snmp-5.4/agent/snmpd > HP gdb 3.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00. > Copyright 1986 - 2001 Free Software Foundation, Inc. > Hewlett-Packard Wildebeest 3.0 (based on GDB) is covered by the > GNU General Public License. Type

R: netsnmp on HP-UX 11.11

2007-03-29 Thread Palmentieri Nunzio
$ gdb /sema/home/palmenti/net-snmp-5.4/agent/snmpd HP gdb 3.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00. Copyright 1986 - 2001 Free Software Foundation, Inc. Hewlett-Packard Wildebeest 3.0 (based on GDB) is covered by the GNU General Public License. Type "show copying" to see the conditio

R: netsnmp on HP-UX 11.11

2007-03-29 Thread Palmentieri Nunzio
Hi Thomas, thanks for reply. Anyway, I executed "agent/snmpd -H", as you suggest, and the output is: /usr/lib/dld.sl: Unresolved symbol: htonl (code) from /sema/home/palmenti/net-snmp-5.4/agent/../snmplib/.libs/libnetsnmp.sl.15 Abort(coredump) I'm new on HP-UX, but what I think is

R: netsnmp on HP-UX 11.11

2007-03-28 Thread Palmentieri Nunzio
Hi all, finally I succeded in making netsnmp-5.4 on HP-UX. Following you can find the modifications I did, maybe can be useful for others who will find same problems: Modifications in Makefile's * $HOME/net-snmp-5.4/agent/helpers/Makefile * $HOME/net-snmp-5.4/agent/mibgr

R: netsnmp on HP-UX 11.11

2007-03-27 Thread Palmentieri Nunzio
I just did it, but unfortunately I have the same problems. First problem: in snmplib gcc -I../include -I. -I../snmplib -g -O2 -Uhpux11 -Dhpux11=hpux11 -c snmp_api.c -fPIC -DPIC -o .libs/snmp_api.o In file included from snmp_api.c:88: /usr/include/sys/socket.h:484: parse error before