What version of HPUX is this? I have it fixed for the versions I have come 
across I think. HPUX is such a bag of nails; it is always the odd man out.

 

Jim

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of Hugo Picado
Sent: Monday, October 12, 2009 3:09 PM
To: [email protected] ANTLR
Subject: [antlr-interest] [SOLVED] ANTLR3 C runtime in HP-UX

 

Hi,

 

When compiling libantlr3c-3.2 in HP-UX it gives the following error:

 

Error 172: "src/antlr3debughandlers.c", line 302 # Undeclared variable 
'TCP_NODELAY'.
                    setsockopt(delboy->socket, SOL_SOCKET, TCP_NODELAY, (const 
void *)&optVal, sizeof(optVal));

 

 

To solve this problem it is enough to have the following include in the file 
src/antlr3debughandlers.c:

 

#include  <netinet/tcp.h>

 

 

Terence, please consider this in a next release.

 

Best regards,

Hugo.




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

Reply via email to