[antlr-interest] [SOLVED] ANTLR3 C runtime in HP-UX

Hugo Picado hugo.pcd at gmail.com
Thu Oct 29 02:58:22 PDT 2009


Hi,

Sorry for the delay in the response.
The version is B.11.11.

Hugo.

On Fri, Oct 16, 2009 at 9:52 AM, Jim Idle <jimi at temporal-wave.com> wrote:

>  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:* antlr-interest-bounces at antlr.org [mailto:
> antlr-interest-bounces at antlr.org] *On Behalf Of *Hugo Picado
> *Sent:* Monday, October 12, 2009 3:09 PM
> *To:* antlr-interest at antlr.org 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20091029/dafd41f0/attachment.html 


More information about the antlr-interest mailing list