Re: [squid-users] Re: Problem compiling Squid 3.1.11 or 3.1.12 on OpenBSD 4.8

From: Silamael Darkomen <silamael_at_coronamundi.de>
Date: Fri, 22 Apr 2011 10:22:35 +0200

On 21-Apr-11 16:07, EzyMike wrote:
> Indunil Jayasooriya wrote:
>> On Thu, Apr 21, 2011 at 1:54 PM, EzyMike &lt;gpetrus_at_actebis.at&gt; wrote:
>>> Hi!
>>>
>>> I have a problem compiling squid 3.1.11 or 3.1.12 on a OpenBSD 4.8 box.
>>> When preparing to replace a OpenBSD 4.6 box with a 4.8, the compilation
>>> of
>>> squid brings this error:
>>>
>>> Making all in lib
>>> cc1: warnings being treated as errors
>>> In file included from ../include/util.h:49,
>>> from base64.c:6:
>>> /usr/include/arpa/inet.h:74:warning 'struct in_addr' declared inside
>>> parameter list
>> these may help
>>
>> http://www.mail-archive.com/squid-users@squid-cache.org/msg78443.html
>>
>> --
>> Thank you
>> Indunil Jayasooriya
>>
> Thank you, I tried it again, and this time it worked.
> I changed the file util.h after running the configure script, and so the
> changes were not applied the first time.
> Now I changed the file first and then run the configure script and all
> worked as expected.
>
> Best Regards, Mike

Hi,

The more correct patch is the one in this bug report:
http://bugs.squid-cache.org/show_bug.cgi?id=3185

Greetings,
Matthias
Received on Fri Apr 22 2011 - 08:22:59 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 22 2011 - 12:00:03 MDT