Ethereal-dev: [Ethereal-dev] Re: Problems compiling ethereal

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sat, 3 Aug 2002 21:42:08 +0200
Moin Michael,

On Sat, Aug 03, 2002 at 09:12:43PM +0200, Michael Tüxen wrote:
> I have problems compiling the CVS version of ethereal. On MacOS X
> and more generally on FreeBSD sys/types.h is needed by sys/socket.h.

OK, can you please test whether socket.h is needed at all?
In case it's needed, I'll add sys/types.h back.

> To be more concrete I had to make the following changes:
> 
> packet-null.c:     I have to include sys/types.h before sys/socket.h

I just commented out sys/socket.h and it still works. If it is needed
on your system, can you please tell me what it misses (or just send me the
log of a compile of this file)?

> packet-pgm.c:      I have to include sys/types.h before sys/socket.h

Same here.

> As a remark:
> packet-ipv6.c:     I do not need to include sys/socket.h

I've removed the include from my tree now and will commit this later
(probably with the other changes your answr will make necessary).

> pcap-util,c:       It needs sys/socket.h but not sys/types.h

Can you tell me what socket.h is needed for?


> Since I'm not an expert on these #include stuff I do not want to
> change the code in the repository. Joerg, can you look into this?

Sure. Thanks for the feedback.

 Ciao
     Jörg

--
Joerg Mayer                                          <jmayer@xxxxxxxxx>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.