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:[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: 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)

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