This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--===============0292604958==
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C77219.73A92604"

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C77219.73A92604
Content-Type: text/plain;
charset="iso-8859-1"

SUCCESS!!!!!!!!!!!!!



Thanks to your suggestion, compile with cc, finally it works.



I executed:

../configure --prefix=/sema/home/palmenti/net-snmp
--with-default-snmp-version=2 --with-enterprise-oid=8072 --with-cc=cc
--with-libs=-lnm





This is the test report (make test)



________________________________________
1: testing SNMPv1 support... ....ok

2: testing SNMPv2c get of system.sysUpTime.0... ok

3: testing SNMPv2c getnext of system.sysUpTime... ok

4: testing SNMPv2c bulkget of system components... ...ok

5: testing for failure of SNMPv2c get with wrong community... ok

6: testing for failure of SNMPv2c get against SNMPv1 agent... ok

7: testing for failure of SNMPv1 get against SNMPv2c agent... ok

8: testing SNMPv2c get of system.sysUpTime.1... ok

9: testing SNMPv3 get using noAuthNoPriv of .1.3.6.1.2.1.1.3.0... ok

10: testing SNMPv3 getnext using initial of .1.3.6.1.2.1.1.3.0... ok

11: testing SNMPv3 bulkget of system... ...ok

12: testing SNMPv3 get using MD5/noPriv of .1.3.6.1.2.1.1.3.0... ok

13: testing SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0... SKIPPED

14: testing SNMPv3 get using MD5/DES of .1.3.6.1.2.1.1.3.0... SKIPPED

15: testing SNMPv3 get using SHA/noPriv of .1.3.6.1.2.1.1.3.0... SKIPPED

16: testing SNMPv3 get using SHA/DES of .1.3.6.1.2.1.1.3.0... SKIPPED

17: testing SNMPv3 get using SHA/AES of .1.3.6.1.2.1.1.3.0... SKIPPED

18: testing for failure of SNMPv3 get using unknown user.... ok

19: testing SNMPv3 user creation and usage using snmpusm... SKIPPED

20: testing SNMPv3 informs received and sent by tools... ok

21: testing SNMPv3 traps received and sent by tools... ok

22: testing SNMPv2c traps received and sent by tools... ok

23: testing SNMPv2c informs received and sent by tools... ok

24: testing snmpv1 traps are sent by snmpd API... SKIPPED

25: testing snmpv2c traps are sent by snmpd API... SKIPPED

26: testing snmpv1 traps are sent by snmpd without notification mib
support... SKIPPED

27: testing snmpv2c traps are sent by snmpd without notification mib
support... SKIPPED

28: testing authentication failure traps are sent by snmpd... ok

29: testing that the agent responds properly to a kill -HUP... ok

30: testing AgentX GET support... ok

31: testing AgentX SET support... ok

32: testing AgentX illegal SET handling support... ok

33: testing AgentX trap sending support... SKIPPED

34: testing Proxy GET support... ok

35: testing Proxy SET support... ok

36: testing Proxy illegal SET handling support... ok

37: testing SNMPv1 vacm acceptance support... .ok

38: testing SNMPv2 vacm acceptance support... .ok

39: testing SNMPv3 vacm acceptance support... .ok

40: testing SNMPv1 vacm denial support... ..ok

41: testing SNMPv2 vacm denial support... ..ok

42: testing SNMPv3 vacm denial support... ..ok

43: testing 1st CPU on Solaris using HOST-RESOURCES... SKIPPED

44: testing initial load device on Solaris using HOST-RESOURCES...
SKIPPED

45: testing uptime using HOST-RESOURCES... SKIPPED

46: testing swap on Solaris using HOST-RESOURCES... SKIPPED

Summary: 46 / 46 succeeded.



Now I proceed with make install.



Bye.



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:nunzio.palmentieri@atosorigin.com

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:thomas.anders@blue-cable.de]
Inviato: giovedi 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


>


> 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 gcc 4.0.x on HP-UX.

Compiling with gcc 3.x on HP-UX works fine for me.





+Thomas



--

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


------_=_NextPart_001_01C77219.73A92604
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

xmlns=3D"urn:schemas-microsoft-comfficeffice" =
xmlns:w=3D"urn:schemas-microsoft-comffice:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">














style=3D'font-size:
10.0pt'>SUCCESS!!!!!!!!!!!!!>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>Thanks to
style=3D'font-size:12.0pt;color:blue;font-weight:bold'>your =
suggestion
,
style=3D'color:blue;font-weight:bold'>compile with =
cc
,
finally it works.>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>I executed:>>



style=3D'font-size:
10.0pt'>./configure --prefix=3D/sema/home/palmenti/net-snmp
--with-default-snmp-version=3D2 --with-enterprise-oid=3D8072 =
--with-cc=3Dcc
--with-libs=3D-lnm>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>This is the test report (make =
test)>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>________________________________________

1: testing SNMPv1 support... ....ok>>



style=3D'font-size:
10.0pt'>2: testing SNMPv2c get of system.sysUpTime.0... =
ok>>



style=3D'font-size:
10.0pt'>3: testing SNMPv2c getnext of system.sysUpTime... =
ok>>



style=3D'font-size:
10.0pt'>4: testing SNMPv2c bulkget of system components... =
....ok>>



style=3D'font-size:
10.0pt'>5: testing for failure of SNMPv2c get with wrong community... =
ok>>



style=3D'font-size:
10.0pt'>6: testing for failure of SNMPv2c get against SNMPv1 agent... =
ok>>



style=3D'font-size:
10.0pt'>7: testing for failure of SNMPv1 get against SNMPv2c agent... =
ok>>



style=3D'font-size:
10.0pt'>8: testing SNMPv2c get of system.sysUpTime.1... =
ok>>



style=3D'font-size:
10.0pt'>9: testing SNMPv3 get using noAuthNoPriv of =
..1.3.6.1.2.1.1.3.0... ok>>



style=3D'font-size:
10.0pt'>10: testing SNMPv3 getnext using initial of =
..1.3.6.1.2.1.1.3.0... ok>>



style=3D'font-size:
10.0pt'>11: testing SNMPv3 bulkget of system... =
....ok>>



style=3D'font-size:
10.0pt'>12: testing SNMPv3 get using MD5/noPriv of =
..1.3.6.1.2.1.1.3.0... ok>>



style=3D'font-size:
10.0pt'>13: testing SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0... =
SKIPPED>>



style=3D'font-size:
10.0pt'>14: testing SNMPv3 get using MD5/DES of .1.3.6.1.2.1.1.3.0... =
SKIPPED>>



style=3D'font-size:
10.0pt'>15: testing SNMPv3 get using SHA/noPriv of =
..1.3.6.1.2.1.1.3.0...
SKIPPED>>



style=3D'font-size:
10.0pt'>16: testing SNMPv3 get using SHA/DES of .1.3.6.1.2.1.1.3.0... =
SKIPPED>>



style=3D'font-size:
10.0pt'>17: testing SNMPv3 get using SHA/AES of .1.3.6.1.2.1.1.3.0... =
SKIPPED>>



style=3D'font-size:
10.0pt'>18: testing for failure of SNMPv3 get using unknown user.... =
ok>>



style=3D'font-size:
10.0pt'>19: testing SNMPv3 user creation and usage using snmpusm... =
SKIPPED>>



style=3D'font-size:
10.0pt'>20: testing SNMPv3 informs received and sent by tools... =
ok>>



style=3D'font-size:
10.0pt'>21: testing SNMPv3 traps received and sent by tools... =
ok>>



style=3D'font-size:
10.0pt'>22: testing SNMPv2c traps received and sent by tools... =
ok>>



style=3D'font-size:
10.0pt'>23: testing SNMPv2c informs received and sent by tools... =
ok>>



style=3D'font-size:
10.0pt'>24: testing snmpv1 traps are sent by snmpd API... =
SKIPPED>>



style=3D'font-size:
10.0pt'>25: testing snmpv2c traps are sent by snmpd API... =
SKIPPED>>



style=3D'font-size:
10.0pt'>26: testing snmpv1 traps are sent by snmpd without notification =
mib
support... SKIPPED>>



style=3D'font-size:
10.0pt'>27: testing snmpv2c traps are sent by snmpd without =
notification mib
support... SKIPPED>>



style=3D'font-size:
10.0pt'>28: testing authentication failure traps are sent by snmpd... =
ok>>



style=3D'font-size:
10.0pt'>29: testing that the agent responds properly to a kill -HUP... =
ok>>



style=3D'font-size:
10.0pt'>30: testing AgentX GET support... =
ok>>



style=3D'font-size:
10.0pt'>31: testing AgentX SET support... =
ok>>



style=3D'font-size:
10.0pt'>32: testing AgentX illegal SET handling support... =
ok>>



style=3D'font-size:
10.0pt'>33: testing AgentX trap sending support... =
SKIPPED>>



style=3D'font-size:
10.0pt'>34: testing Proxy GET support... =
ok>>



style=3D'font-size:
10.0pt'>35: testing Proxy SET support... =
ok>>



style=3D'font-size:
10.0pt'>36: testing Proxy illegal SET handling support... =
ok>>



style=3D'font-size:
10.0pt'>37: testing SNMPv1 vacm acceptance support... =
..ok>>



style=3D'font-size:
10.0pt'>38: testing SNMPv2 vacm acceptance support... =
..ok>>



style=3D'font-size:
10.0pt'>39: testing SNMPv3 vacm acceptance support... =
..ok>>



style=3D'font-size:
10.0pt'>40: testing SNMPv1 vacm denial support... =
...ok>>



style=3D'font-size:
10.0pt'>41: testing SNMPv2 vacm denial support... =
...ok>>



style=3D'font-size:
10.0pt'>42: testing SNMPv3 vacm denial support... =
...ok>>



style=3D'font-size:
10.0pt'>43: testing 1st CPU on Solaris using HOST-RESOURCES... =
SKIPPED>>



style=3D'font-size:
10.0pt'>44: testing initial load device on Solaris using =
HOST-RESOURCES...
SKIPPED>>



style=3D'font-size:
10.0pt'>45: testing uptime using HOST-RESOURCES... =
SKIPPED>>



style=3D'font-size:
10.0pt'>46: testing swap on Solaris using HOST-RESOURCES... =
SKIPPED>>



style=3D'mso-elementara-border-div;border:none;border-bottom:solid =
windowtext 1.5pt;
padding:0in 0in 1.0pt 0in'>

size=3D2
face=3D"Courier New">Summary: 46 / 46 =
succeeded.>>





style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>Now I proceed with make install.>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>Bye.>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>Nunzio Palmentieri>>



style=3D'font-size:
10.0pt'>Web Care Solution>>



style=3D'font-size:
10.0pt'>=A0>>



style=3D'font-size:
10.0pt'>Atos Origin>>



style=3D'font-size:
10.0pt'>Via Antiniana 2/a >>



style=3D'font-size:
10.0pt'>80078 Pozzuoli (NA) - ITALY>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>=A0>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>Direct=A0=A0=A0=A0=A0=A0=A0 +39 081 6103 =
388>>



style=3D'font-size:
10.0pt'>Mobile=A0=A0=A0=A0=A0=A0 +39 335 1214 =
806>>



style=3D'font-size:
10.0pt'>Fax=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0=A0+39 081 6103 =
200>>



style=3D'font-size:
10.0pt'>e-mail=A0=A0=A0=A0=A0=A0=A0 =
mailto:nunzio.palmentieri@atosorigin.com>>



style=3D'font-size:
10.0pt'>Web=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
www.atosorigin.com>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>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.>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>-----Messaggio originale-----

Da: Thomas Anders [mailto:thomas.anders@blue-cable.de]

Inviato: gioved=EC 29 marzo 2007 15.11

A: Palmentieri Nunzio

Cc: net-snmp-coders@lists.sourceforge.net

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



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>Palmentieri Nunzio wrote:>>



style=3D'font-size:
10.0pt'>> I did change the line>>



style=3D'font-size:
10.0pt'>> >>



style=3D'font-size:
10.0pt'>> CFLAGS =3D -g -O2 -Uhpux11 =
-Dhpux11=3Dhpux11>>



style=3D'font-size:
10.0pt'>> >>



style=3D'font-size:
10.0pt'>> with>>



style=3D'font-size:
10.0pt'>> >>



style=3D'font-size:
10.0pt'>> CFLAGS =3D -g -O2 -Uhpux11 -Dhpux11=3Dhpux11
-D_XOPEN_SOURCE_EXTENDED=3D1>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>What gcc version are you using? Please refer to the list =
archives for a>>



style=3D'font-size:
10.0pt'>previous discussion on a similar problem with gcc 4.0.x on =
HP-UX.>>



style=3D'font-size:
10.0pt'>Compiling with gcc 3.x on HP-UX works fine for =
me.>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>+Thomas>>



style=3D'font-size:
10.0pt'>>



style=3D'font-size:
10.0pt'>-- >>



style=3D'font-size:
10.0pt'>Thomas Anders (thomas.anders at =
blue-cable.de)>>









------_=_NextPart_001_01C77219.73A92604--


--===============0292604958==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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?p...rge&CID=DEVDEV
--===============0292604958==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders

--===============0292604958==--