Public bug reported:

Ubuntu 12.04.5 LTS

3.1.19-1ubuntu3.12.04.3

I tried to recompile squid with 
--enable-ssl
--enable-ssl-crtd
--with-openssl

And encountered a linking error

Making all in ssl
make[3]: entering /usr/src/squid-3.1.13/src/ssl
/bin/sh ../../libtool --tag=CXX   --mode=link g++ -Wall -Wpointer-arith
-Wwrite-strings -Wcomments -Werror  -D_REENTRANT -g -O2  -g -o
ssl_crt:../../lib/libmiscutil.a(MemPool.o): In function
`MemPools::flushMeters()':
/usr/src/squid-3.1.13/lib/MemPool.cc:224: undefined reference to
`squid_curtime'
/usr/src/squid-3.1.13/lib/MemPool.cc:225: undefined reference to
`squid_curtime'
/usr/src/squid-3.1.13/lib/MemPool.cc:223: undefined reference to
`squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o): In function
`MemPoolChunked::deallocate(void*, bool)':
/usr/src/squid-3.1.13/lib/MemPoolChunked.cc:357: undefined reference to
`squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o): In function
`MemPoolChunked::convertFreeCacheToChunkFreeCache()':
/usr/src/squid-3.1.13/lib/MemPoolChunked.cc:380: undefined reference to
`squid_curtime'
../../lib/libmiscutil.a(MemPoolChunked.o):/usr/src/squid-3.1.13/lib/MemPoolChunked.cc:406:
more undefined references to `squid_curtime' follow
collect2: ld returned 1 exit status

This is fixed upstream in 3.1.20 and described in details here:

http://bugs.squid-cache.org/show_bug.cgi?id=3263

Thanks,
Peter

** Affects: squid3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid3 in Ubuntu.
https://bugs.launchpad.net/bugs/1415866

Title:
  Linking error with --enable-ssl-crtd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1415866/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to