Re: [squid-users] FD_SETSIZE error when running 'make' on FreeBSD

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 27 May 2008 15:40:38 +1200 (NZST)

>>> In the meantime, is there a workaround so I can get Squid up and
>>> rolling?
>>
>> see include/config.h. There is a define which tells Squid that
>> FD_SETSIZE can not be redefined.
>
> Understood, but being someone that is not a programmer by trade,
> especially with C, I don't know how to tell the system (or the compiler)
> not to attempt a redefinition of FD_SETSIZE.
>
> Can I simply put an #ifndef statement in place in config.h, if so, where?
>
> Do I have to inform the other header files not to redefine FD_SETSIZE?
>
> Or can I just somehow tell the system to set an environment variable to
> pass along the FD_SETSIZE so it doesn't get redefined?
>
> Sorry for the inquiries, I just literally don't know how to fix/bypass
> this problem.

Before compiling the source:

 Open include/config.h
 Locate the line: #define CHANGE_FD_SETSIZE 1
 Change it to: #define CHANGE_FD_SETSIZE 0
 Then compile the code.

That should get your going again until we can resolve this properly.

Amos
Received on Tue May 27 2008 - 03:40:41 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT