Search squid archive

3.1.x compile errors using ssl_crtd

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

 



Hi,
    i am using Ubuntu Server 12.04 with libssl-dev 1.0.1 and i can't compile
squid, i have downloaded the last daily auto-generated release (that should have
this bug fixed) but i still have the same problem.

./configure --enable-ssl --enable-ssl-crtd
make

....(after a while)
/bin/bash ../../libtool --tag=CXX   --mode=link g++ -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Werror -fhuge-objects -D_REENTRANT -g -O2  -g -o
ssl_crtd ssl_crtd.o certificate_db.o -lssl -lcrypto -lsslutil
../../compat/libcompat.la ../../lib/libmiscutil.a
libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror
-fhuge-objects -D_REENTRANT -g -O2 -g -o ssl_crtd ssl_crtd.o certificate_db.o
-lssl -lcrypto -lsslutil ../../compat/.libs/libcompat.a ../../lib/libmiscutil.a
g++: warning: switch '-fhuge-objects' is no longer supported
/usr/bin/ld: cannot find -lsslutil
collect2: ld returned 1 exit status

I have tried to add .libs/libsslutil.a to the linker line in src/ssl/Makefile
the direct path .libs/libsslutil.a but i get the original bug error after this
change:

libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror
-fhuge-objects -D_REENTRANT -g -O2 -g -o ssl_crtd ssl_crtd.o certificate_db.o
-lssl -lcrypto .libs/libsslutil.a ../../compat/.libs/libcompat.a
../../lib/libmiscutil.a
g++: warning: switch '-fhuge-objects' is no longer supported
../../lib/libmiscutil.a(MemPool.o): In function `MemPools::flushMeters()':
/tmp/squid-3.1.19-20120526-r10446/lib/MemPool.cc:224: undefined reference to
`squid_curtime'
/tmp/squid-3.1.19-20120526-r10446/lib/MemPool.cc:225: undefined reference to
`squid_curtime'
/tmp/squid-3.1.19-20120526-r10446/lib/MemPool.cc:223: undefined reference to
`squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o): In function
`MemPoolChunked::deallocate(void*, bool)':
/tmp/squid-3.1.19-20120526-r10446/lib/MemPoolChunked.cc:357: undefined reference
to `squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o): In function
`MemPoolChunked::convertFreeCacheToChunkFreeCache()':
/tmp/squid-3.1.19-20120526-r10446/lib/MemPoolChunked.cc:380: undefined reference
to `squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o):/tmp/squid-3.1.19-20120526-r10446/lib/MemPoolChunked.cc:406:
more undefined references to `squid_curtime' follow
collect2: ld returned 1 exit status

I don't know how to fix and i am in a hurry with this problem :(

Thanks.

Regards,
Miguel Angel.




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

  Powered by Linux