Search squid archive

Re: squid 3.1.6 won't compile

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

 



On 25 Aug 2010 18:29:00 +0200, "Helmut Hullen" <Hullen@xxxxxxxxxxx> wrote:
> Hallo, Amos,
> 
> Du meintest am 25.08.10:
> 
>>> I'm trying to compile Squid 3.1.6 with the SBo script
>>>
>>>     http://slackbuilds.org/repository/13.1/network/squid/
>>>    <http://slackbuilds.org/slackbuilds/13.1/network/squid/squid.Slac
>>>    kBuild>
>>>
>>> - it fails with
>>>
>>> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../
>>> libpthread.a(pthread_create.o): In function `pthread_create':
>>> (.text+0x10a9): undefined reference to `_dl_stack_flags'
>>> /usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(pthrea
>>> d_create.o):
>> <snip>
> 
> [...]

The pthread problem does indicate that the libpthread API has changed
between the installed library and the installed system headers. FWIW this
library is pulled in by the DiskThreads disk-io module in Squid, which can
be avoided by using other IO modules.

> 
>> PS: 3.1.6 has a few problems which you should avoid now if possible.
>> Can you try with the 3.1.7 sources underneath the scripts?
> 
> With the additional option "--disable-loadable-modules" compiling works 

> fine (and runs very quick). On my two machines, with old and new gcc and

> glibc.
> 
> Temporary download address (just for testing the next few days,  
> Slackware packet)
> 
> 
<http://arktur.shuttle.de/CD/Testpakete/squid-3.1.7-20100825-i486-1_SBo.tgz>
> 
> Viele Gruesse!
> Helmut

eCAP requires loadable-modules, but if you need to adding -I../libltdl to
the flags can avoid the LTDL problems for 3.1.5.1 thru 3.1.7.

I've finally got my hands on an old machine I can personally test these
fixes out on so things should be better again quite soon. For the 3.1.7
snapshots at least.

Amos


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

  Powered by Linux