$ ./libtool gdb agent/snmpd     

*** Warning: inferring the mode of operation is deprecated.

*** Future versions of Libtool will require --mode=MODE be specified.

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 conditions to

change it and/or distribute copies. Type "show warranty" for
warranty/support.

..

(gdb) run -f -Lo

Starting program: /sema/home/palmenti/net-snmp-5.4/agent/.libs/snmpd -f
-Lo

/usr/lib/dld.sl: Unresolved symbol: htonl (code)  from
/sema/home/palmenti/net-snmp-5.4/agent/../snmplib/.libs/libnetsnmp.sl.15

 

Program received signal SIGABRT, Aborted.

0xc002ea68 in kill ()

(gdb)

 

 

 

$ ./libtool gdb agent/snmpd agent/core

*** Warning: inferring the mode of operation is deprecated.

*** Future versions of Libtool will require --mode=MODE be specified.

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 conditions to

change it and/or distribute copies. Type "show warranty" for
warranty/support.

..

Core was generated by `snmpd'.

Program terminated with signal 6, Aborted.

 

warning: The shared libraries were not privately mapped; setting a

breakpoint in a shared library will not work until you rerun the
program.

 

#0  0xc002ea68 in ?? ()

(gdb)

 

 

 

 

 

Nunzio Palmentieri

Web Care Solution

 

Atos Origin

Via Antiniana 2/a 

80078 Pozzuoli (NA) - ITALY

 

 

 

Direct        +39 081 6103 388

Mobile       +39 335 1214 806

Fax             +39 081 6103 200

e-mail        mailto:[EMAIL PROTECTED]

Web            www.atosorigin.com

 

This electronic message contains information from Atos Origin, which may
be privileged and confidential. The information is intended to be use of
the individual(s) or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use of
the contents of this information is prohibited.

 

 

-----Messaggio originale-----
Da: Thomas Anders [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 29 marzo 2007 14.28
A: Palmentieri Nunzio
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. 

> Hewlett-Packard Wildebeest 3.0 (based on GDB) is covered by the 

> GNU General Public License. Type "show copying" to see the conditions
to

> 

> change it and/or distribute copies. Type "show warranty" for

> warranty/support. 

> .."/sema/home/palmenti/net-snmp-5.4/agent/snmpd": not in executable

> format: File format not recognized 

 

Did you read the Wiki page I've been pointing you to? In particular:

 

  http://www.net-snmp.org/wiki/index.php/Debugger#Libtool_invocation

 

 

+Thomas

 

-- 

Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to