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

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

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

2010-05-03 Thread Silamael
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 Fix redefinition error for FD_SETSIZE on OpenBSD 4.6. --- compat/fdsetsize.h.orig Mon May 3

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

2010-05-03 Thread Amos Jeffries
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

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

2010-05-03 Thread Silamael
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...

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

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

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

2010-05-03 Thread Brett Lymn
On Mon, May 03, 2010 at 05:08:29PM +0200, Silamael wrote: Fix include order to ensure that FD_SETSIZE from the compat/fdsetsize.h is set before it is set by sys/select.h (included by stdlib.h). To be strictly correct about this, the problem is really an OpenBSD one. There should not be an

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

2010-05-03 Thread Silamael
On 05/04/2010 01:42 AM, Brett Lymn wrote: On Mon, May 03, 2010 at 05:08:29PM +0200, Silamael wrote: Fix include order to ensure that FD_SETSIZE from the compat/fdsetsize.h is set before it is set by sys/select.h (included by stdlib.h). To be strictly correct about this, the problem is