Search squid archive

Re: FD_SETSIZE error when running 'make' on FreeBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux