--enable-openssl should fix it I believe. or --enable-openssl=/usr, or just --enable-ssl ..
I've got a fbsd-4.11 box here which I use for benchmark comparisons; I could try and figure this out if its still busted. Adrian On Wed, Jan 02, 2008, Mark Nottingham wrote: > Slightly different; > > gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/opt/squid/squid.conf\" - > I. -I. -I../include -I. -I. -I../include -I../include > -Wall -g -O2 -c cf_gen.c > In file included from squid.h:421, > from cf_gen.c:51: > structs.h:2195: `MD5_DIGEST_LENGTH' undeclared here (not in a function) > structs.h:2215: `MD5_DIGEST_LENGTH' undeclared here (not in a function) > > FreeBSD 4.11 > > > On 25/12/2007, at 2:00 AM, Adrian Chadd wrote: > > >Try compiling with --enable-openssl or --enable-ssl. > > > >(Who do I shoot again for fiddling with the MD5 stuff?) > > > > > > > >Adrian > > > >On Mon, Dec 24, 2007, Thomas-Martin Seck wrote: > >>* Adrian Chadd ([EMAIL PROTECTED]): > >> > >>> > >>>Hi everyone, > >>> > >>>Squid-2.7 has been branched but hasn't been released yet. If > >>>you're tracking > >>>Squid-2.HEAD in preparation for 2.7 then please adjust your CVS > >>>tags. > >>> > >>>I'm about to start dumping some performance related tidyups into > >>>Squid-2.HEAD; > >>>if you feel like being a guinea pig then please let me know. Else, > >>>stick > >>>with SQUID_2_7 for now until Squid-2.7.STABLE1 is announced. > >> > >>I just checked the 20071224 tarball on FreeBSD 6.2. It trips over > >>when > >>trying to link in MD5 stuff. (I downloaded the tarball, extracted to > >>/tmp, then ran ./configure && make; the script shows the second make > >>attempt.) > >> > >>Script started on Mon Dec 24 14:55:12 2007 > >>Making all in lib > >>Making all in scripts > >>Making all in src > >>make all-recursive > >>Making all in fs > >>Making all in repl > >>Making all in auth > >>gcc -Wall -g -O2 -g -o squid access_log.o acl.o asn.o > >>authenticate.o cache_cf.o CacheDigest.o cache_manager.o carp.o > >>cbdata.o client_db.o client_side.o client_side_rewrite.o > >>client_side_storeurl_rewrite.o comm.o comm_kqueue.o debug.o > >>disk.o dns_internal.o errorpage.o event.o errormap.o > >>external_acl.o fd.o filemap.o forward.o fqdncache.o ftp.o > >>gopher.o helper.o http.o HttpStatusLine.o HttpHdrCc.o > >>HttpHdrRange.o HttpHdrContRange.o HttpHeader.o HttpHeaderTools.o > >>HttpBody.o HttpMsg.o HttpReply.o HttpRequest.o icmp.o icp_v2.o > >>icp_v3.o ident.o internal.o ipc.o ipcache.o locrewrite.o > >>logfile.o logfile_mod_daemon.o logfile_mod_stdio.o > >>logfile_mod_syslog.o logfile_mod_udp.o main.o mem.o MemPool.o > >>MemBuf.o mime.o multicast.o neighbors.o net_db.o Packer.o pconn.o > >>peer_digest.o peer_monitor.o peer_select.o peer_sourcehash.o > >>peer_userhash.o redirect.o store_rewrite.o referer.o refresh.o > >>refresh_check.o send-announce.o ssl.o stat.o StatHist.o > >>String.o stmem.o store.o store_io.o store_client.o store_digest.o > >>store_dir.o store_key_md5.o store_log.o store_rebuild.o > >>store_swapin.o store_swapmeta.o store_swapout.o store_update.o > >>tools.o unlinkd.o url.o urn.o useragent.o wccp.o wccp2.o whois.o > >>repl_modules.o auth_modules.o store_modules.o globals.o > >>string_arrays.o -L../lib repl/liblru.a fs/libufs.a auth/ > >>libbasic.a -lcrypt -lmiscutil -lm > >>store_key_md5.o(.text+0x12a): In function `storeKeyPrivate': > >>/tmp/squid-2.7.DEVEL0-20071224/src/store_key_md5.c:102: undefined > >>reference to `MD5Init' > >>store_key_md5.o(.text+0x139):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:103: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x148):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:104: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x162):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:105: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x16f):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:106: undefined reference to `MD5Final' > >>store_key_md5.o(.text+0x1d2): In function `storeKeyPublic': > >>/tmp/squid-2.7.DEVEL0-20071224/src/store_key_md5.c:116: undefined > >>reference to `MD5Init' > >>store_key_md5.o(.text+0x1e1):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:117: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x1fb):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:118: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x208):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:119: undefined reference to `MD5Final' > >>store_key_md5.o(.text+0x245): In function > >>`storeKeyPublicByRequestMethod': > >>/tmp/squid-2.7.DEVEL0-20071224/src/store_key_md5.c:143: undefined > >>reference to `MD5Init' > >>store_key_md5.o(.text+0x254):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:144: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x26e):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:145: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x29d):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:158: undefined reference to `MD5Final' > >>store_key_md5.o(.text+0x2d2):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:155: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x2fb):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:156: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x30c):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:158: undefined reference to `MD5Final' > >>store_key_md5.o(.text+0x32a):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:147: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x353):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:148: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x375):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:150: undefined reference to `MD5Update' > >>store_key_md5.o(.text+0x38f):/tmp/squid-2.7.DEVEL0-20071224/src/ > >>store_key_md5.c:151: undefined reference to `MD5Update' > >>wccp2.o(.text+0x208): In function `wccp2_update_md5_security': > >>/tmp/squid-2.7.DEVEL0-20071224/src/wccp2.c:472: undefined reference > >>to `MD5Init' > >>wccp2.o(.text+0x21a):/tmp/squid-2.7.DEVEL0-20071224/src/wccp2.c: > >>473: undefined reference to `MD5Update' > >>wccp2.o(.text+0x229):/tmp/squid-2.7.DEVEL0-20071224/src/wccp2.c: > >>474: undefined reference to `MD5Update' > >>wccp2.o(.text+0x235):/tmp/squid-2.7.DEVEL0-20071224/src/wccp2.c: > >>475: undefined reference to `MD5Final' > >>wccp2.o(.text+0x1579): In function `wccp2HandleUdp': > >>/tmp/squid-2.7.DEVEL0-20071224/src/wccp2.c:514: undefined reference > >>to `MD5Init' > >>wccp2.o(.text+0x158b):/tmp/squid-2.7.DEVEL0-20071224/src/wccp2.c: > >>515: undefined reference to `MD5Update' > >>wccp2.o(.text+0x159a):/tmp/squid-2.7.DEVEL0-20071224/src/wccp2.c: > >>516: undefined reference to `MD5Update' > >>wccp2.o(.text+0x15a6):/tmp/squid-2.7.DEVEL0-20071224/src/wccp2.c: > >>517: undefined reference to `MD5Final' > >>*** Error code 1 > >> > >>Stop in /tmp/squid-2.7.DEVEL0-20071224/src. > >>*** Error code 1 > >> > >>Stop in /tmp/squid-2.7.DEVEL0-20071224/src. > >>*** Error code 1 > >> > >>Stop in /tmp/squid-2.7.DEVEL0-20071224/src. > >>*** Error code 1 > >> > >>Stop in /tmp/squid-2.7.DEVEL0-20071224. > >> > >>Script done on Mon Dec 24 14:55:16 2007 > > > >-- > >- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial > >Squid Support - > >- $25/pm entry-level VPSes w/ capped bandwidth charges available in > >WA - > > -- > Mark Nottingham [EMAIL PROTECTED] > -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
