Re: [squid-users] OpenBSD 4.6: Squid 3.1.3 compilation error (patch attached)

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 04 May 2010 00:04:23 +1200

Silamael wrote:
> Hello!
>
> I'm getting some error when compiling Squid 3.1.3 on OpenBSD 4.6 due to
> a redefinition of FD_SETSIZE in compat/fdsetsize.h.
> Patch attached which fixed this for me.
>
> Greetings,
> Matthias
>

Thanks for the thought, but...

  Code in Squid is NOT permitted to include system headers before the
FD_* compat code. Kernel defines will be allocated with incompatible
size and overflows happen.

Can you provide a full compiler trace of the clash so we can fix the
include sequence?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Mon May 03 2010 - 12:04:31 MDT

This archive was generated by hypermail 2.2.0 : Mon May 03 2010 - 12:00:03 MDT