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

From: Silamael <Silamael_at_coronamundi.de>
Date: Mon, 03 May 2010 15:02:27 +0200

On 05/03/2010 02:04 PM, Amos Jeffries wrote:
> 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

No problem. Here you are.

-- Matthias

Received on Mon May 03 2010 - 13:02:30 MDT

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