Re: [squid-users] Error making squid-3.1.0.7-20090412 on Mac OS X 10.4

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 20 May 2009 21:32:35 +1200

vollkommen_at_gmx.net wrote:
> Please find below the output of "make -w -d" against the 3.HEAD-20090519 source.
> ...
> rm -f .libs/squid.nm .libs/squid.nmS .libs/squid.nmT
> creating .libs/squidS.c
> (cd .libs && gcc -g -O2 -c -fno-builtin "squidS.c")
> rm -f .libs/squidS.c .libs/squid.nm .libs/squid.nmS .libs/squid.nmT
> g++ -Werror -Wall -Wpointer-arith -Wwrite-strings -Wcomments -g -O2 .libs/squidS.o -g -o squid AclRegs.o AuthReg.o access_log.o AsyncEngine.o cache_cf.o ProtoPort.o CacheDigest.o cache_manager.o carp.o cbdata.o ChunkedCodingParser.o client_db.o client_side.o client_side_reply.o client_side_request.o BodyPipe.o clientStream.o CompletionDispatcher.o comm_select.o comm_select_win32.o comm_poll.o comm_epoll.o comm_kqueue.o ConfigOption.o ConfigParser.o debug.o delay_pools.o DelayId.o DelayBucket.o DelayConfig.o DelayPool.o DelaySpec.o DelayTagged.o DelayUser.o DelayVector.o NullDelayId.o disk.o DiskIO/DiskIOModule.o DiskIO/ReadRequest.o DiskIO/WriteRequest.o dlink.o dns_internal.o errorpage.o ETag.o event.o EventLoop.o external_acl.o ExternalACLEntry.o fd.o fde.o filemap.o forward.o fqdncache.o ftp.o gopher.o helper.o htcp.o http.o HttpStatusLine.o HttpHdrCc.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHdrContRange.o HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o Htt
pReply.o HttpRequest.o HttpRequestMethod.o icp_v2.o icp_v3.o int.o internal.o ipc.o ipcache.o list.o logfile.o main.o mem.o mem_node.o MemBuf.o MemObject.o mime.o multicast.o neighbors.o Packer.o Parsing.o pconn.o peer_digest.o peer_select.o peer_sourcehash.o peer_userhash.o redirect.o referer.o refresh.o RemovalPolicy.o send-announce.o snmp_core.o snmp_agent.o SquidNew.o ssl_support.o stat.o StatHist.o String.o stmem.o store.o StoreFileSystem.o store_io.o StoreIOState.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 StoreMeta.o StoreMetaMD5.o StoreMetaSTD.o StoreMetaSTDLFS.o StoreMetaUnpacker.o StoreMetaURL.o StoreMetaVary.o StoreSwapLogData.o Server.o SwapDir.o time.o tools.o tunnel.o unlinkd.o url.o URLScheme.o urn.o useragent.o wccp.o wccp2.o whois.o wordlist.o LoadableModule.o LoadableModules.o DiskIO/DiskIOModules_gen.o repl_modules.o globals.o string_arrays.o DiskIO/Blocking/Blocking
DiskIOModule.o -Wl,-bind_at_load ./.libs/libsquid.a auth/.libs/libacls.a acl/.libs/libacls.a acl/.libs/libstate.a auth/.libs/libauth.a acl/.libs/libapi.a base/.libs/libbase.a ip/.libs/libip.a fs/.libs/libfs.a icmp/.libs/libicmp.a icmp/.libs/libicmp-core.a -L/Users/raymont/squid-3.HEAD-20090519/lib repl/libheap.a repl/liblru.a libBlocking.a ../snmplib/libsnmp.a adaptation/.libs/libadaptation.a -lssl -lcrypto -lmiscutil -lm -lresolv ../lib/libLtdl/.libs/libltdlc.a -ldl
> /usr/libexec/gcc/i686-apple-darwin8/4.2.1/ld: multiple definitions of symbol CbDataList<int>::CBDATA_CbDataList
> acl/.libs/libacls.a(Asn.o) definition of CbDataList<int>::CBDATA_CbDataList in section (__DATA,__data)
> acl/.libs/libacls.a(SslErrorData.o) definition of CbDataList<int>::CBDATA_CbDataList in section (__DATA,__data)
> collect2: ld returned 1 exit status
> rm -f .libs/squidS.o
> Got a SIGCHLD; 1 unreaped children.
> Reaping losing child 0x00350220 PID 360
> make[3]: *** [squid] Error 1
> Removing child 0x00350220 PID 360 from chain.
>
> -------- Original-Nachricht --------
>> We do have to wait unfortunately. The autotools bootstrapping is not part
>> of the patches. The snapshot is out now.
>>
>> Amos
>>
>

Alright, we do have to bite the bullet then.
I've removed the ssl_error_t templating in patch
http://www.squid-cache.org/Versions/v3/HEAD/changesets/b9692.patch

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
   Current Beta Squid 3.1.0.7
Received on Wed May 20 2009 - 09:32:46 MDT

This archive was generated by hypermail 2.2.0 : Thu May 21 2009 - 12:00:03 MDT