Re: Pen 0.6.0

From: Ulric Eriksson (ulric@siag.nu)
Date: Thu Jan 10 2002 - 18:58:14 CET


On Thu, 10 Jan 2002, Mike Dugas wrote:

> When trying to compile Pen I get the following errors ...
>
> I get the same manner of errors when trying to compile Shohai... Any
> suggestions? I'm running FreeBSD 4.4-RELEASE. TIA!
>
> In file included from pen.c:24:
> /usr/include/netinet/in.h:233: syntax error before `in_addr_t'
> /usr/include/netinet/in.h:285: syntax error before `u_char'
> In file included from /usr/include/netinet/in.h:475,
> from pen.c:24:

[and so on]

It is possible that the headers need reordering. Try this: move the line

#include <sys/types.h>

so that it is before the line

#include <netinet/in.h>

I'm just guessing since I can't try it myself. If it works for you, please
let me know so the change can go into the next release.

Ulric



This archive was generated by hypermail 2.1.2 : Thu Jan 10 2002 - 18:58:34 CET