Yes, 
I'm trying now with another parameter on gcc line: 
-D_INCLUDE_XOPEN_SOURCE_EXTENDED 

That should include the following defines: 

#define ntohl(x)        (x) 

#define ntohs(x)        (x) 

#define htonl(x)        (x) 

#define htons(x)        (x) 


If also this fails, I'll try , as you suggest, with cc. 

I'll let you know. 

Bye, and thanks again. 


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]
<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]
<mailto:[EMAIL PROTECTED]> ] 
Inviato: giovedì 29 marzo 2007 16.14 
A: Palmentieri 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  : 
> (reconfigured) ./configure 
> Thread model: posix 
> gcc version 3.1 

I'm not fully convinced this is a properly working gcc installation for 
your system. At the very least it seems to have been compiled on HP-UX 
11.00 while you're running 11.11. 

Can you try with a native gcc build or HP's cc instead? 


+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