Hello,
- I'm trying to test squid 3.2.0.15 on Solaris 10, but compiling
3.2.0.15 with SunStudio 12.3 produces the following error at link
fase:
/bin/bash ../libtool --tag=CXX --mode=link
/opt/solarisstudio12.3/bin/CC -xlang=c99
-errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags
-D_REENTRANT -lpthread -norunpath -m32 -erroff=wvarhidemem,nullref
-features=%all -export-dynamic -dlopen force -R/usr/sfw/lib
-L/usr/sfw/lib -lssl -lcrypto -lsasl -o squid AclRegs.o AuthReg.o
AccessLogEntry.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 ConfigOption.o ConfigParser.o
CpuAffinity.o CpuAffinityMap.o CpuAffinitySet.o debug.o delay_pools.o
DelayId.o DelayBucket.o DelayConfig.o DelayPool.o DelaySpec.o
DelayTagged.o DelayUser.o DelayVector.o NullDelayId.o
ClientDelayConfig.o disk.o DiskIO/DiskIOModule.o DiskIO/ReadRequest.o
DiskIO/WriteRequest.o dlink.o dns_internal.o DnsLookupDetails.o
errorpage.o ETag.o event.o EventLoop.o external_acl.o
ExternalACLEntry.o FadingCounter.o fd.o fde.o filemap.o forward.o
fqdncache.o ftp.o gopher.o helper.o HelperChildConfig.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 HttpParser.o HttpReply.o HttpRequest.o
HttpRequestMethod.o icp_v2.o icp_v3.o int.o internal.o ipc.o ipcache.o
list.o main.o mem.o mem_node.o MemBuf.o MemObject.o mime.o
mime_header.o multicast.o neighbors.o Packer.o Parsing.o pconn.o
peer_digest.o peer_proxy_negotiate_auth.o peer_select.o
peer_sourcehash.o peer_userhash.o redirect.o refresh.o RemovalPolicy.o
send-announce.o MemBlob.o SquidMath.o SquidNew.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 StoreStats.o
StoreSwapLogData.o Server.o SwapDir.o MemStore.o time.o tools.o
tunnel.o unlinkd.o url.o URLScheme.o urn.o wccp.o wccp2.o whois.o
wordlist.o LoadableModule.o LoadableModules.o
DiskIO/DiskIOModules_gen.o err_type.o err_detail_type.o globals.o
hier_code.o icp_opcode.o lookup_t.o repl_modules.o swap_log_op.o
auth/libacls.la ident/libident.la acl/libacls.la eui/libeui.la
acl/libstate.la auth/libauth.la libAIO.a libBlocking.a libDiskDaemon.a
libDiskThreads.a libIpcIo.a libMmapped.a acl/libapi.la base/libbase.la
libsquid.la ip/libip.la fs/libfs.la ipc/libipc.la mgr/libmgr.la
anyp/libanyp.la comm/libcomm.la eui/libeui.la icmp/libicmp.la
icmp/libicmp-core.la log/liblog.la format/libformat.la
DiskIO/AIO/AIODiskIOModule.o DiskIO/Blocking/BlockingDiskIOModule.o
DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o
DiskIO/DiskThreads/DiskThreadsDiskIOModule.o
DiskIO/IpcIo/IpcIoDiskIOModule.o DiskIO/Mmapped/MmappedDiskIOModule.o
repl/libheap.a repl/liblru.a -lrt -lcrypt -lmd5 ssl/libsslsquid.la
ssl/libsslutil.la ../lib/libmisccontainers.la
../lib/libmiscencoding.la ../lib/libmiscutil.la -L/usr/sfw/lib -lssl
-lcrypto -L/usr/lib -R/usr/lib -lgss -lresolv -lsocket -lnsl
-L/usr/lib -R/usr/lib -m32 -xO4 -xchip=pentium -mt -D_XOPEN_SOURCE=600
-D__EXTENSIONS__=1 -D_XPG6 -lkrb5 -L../compat -lcompat-squid -lm
-lsocket -lresolv -lnsl -lrt -L.. ../libltdl/libltdlc.la
libtool: link: rm -f .libs/squid.nm .libs/squid.nmS .libs/squid.nmT
libtool: link: (cd .libs && /opt/solarisstudio12.3/bin/cc -xc99=all
-m32 -xO4 -xchip=pentium -mt -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1
-D_XPG6 -c "squidS.c")
libtool: link: rm -f ".libs/squidS.c" ".libs/squid.nm"
".libs/squid.nmS" ".libs/squid.nmT"
libtool: link: /opt/solarisstudio12.3/bin/CC -xlang=c99
-errwarn=%all,no%badargtype2w,no%wbadinit,no%wbadasg -errtags
-D_REENTRANT -norunpath -m32 -erroff=wvarhidemem,nullref
-features=%all .libs/squidS.o -o squid AclRegs.o AuthReg.o
AccessLogEntry.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 ConfigOption.o ConfigParser.o
CpuAffinity.o CpuAffinityMap.o CpuAffinitySet.o debug.o delay_pools.o
DelayId.o DelayBucket.o DelayConfig.o DelayPool.o DelaySpec.o
DelayTagged.o DelayUser.o DelayVector.o NullDelayId.o
ClientDelayConfig.o disk.o DiskIO/DiskIOModule.o DiskIO/ReadRequest.o
DiskIO/WriteRequest.o dlink.o dns_internal.o DnsLookupDetails.o
errorpage.o ETag.o event.o EventLoop.o external_acl.o
ExternalACLEntry.o FadingCounter.o fd.o fde.o filemap.o forward.o
fqdncache.o ftp.o gopher.o helper.o HelperChildConfig.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 HttpParser.o HttpReply.o HttpRequest.o
HttpRequestMethod.o icp_v2.o icp_v3.o int.o internal.o ipc.o ipcache.o
list.o main.o mem.o mem_node.o MemBuf.o MemObject.o mime.o
mime_header.o multicast.o neighbors.o Packer.o Parsing.o pconn.o
peer_digest.o peer_proxy_negotiate_auth.o peer_select.o
peer_sourcehash.o peer_userhash.o redirect.o refresh.o RemovalPolicy.o
send-announce.o MemBlob.o SquidMath.o SquidNew.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 StoreStats.o
StoreSwapLogData.o Server.o SwapDir.o MemStore.o time.o tools.o
tunnel.o unlinkd.o url.o URLScheme.o urn.o wccp.o wccp2.o whois.o
wordlist.o LoadableModule.o LoadableModules.o
DiskIO/DiskIOModules_gen.o err_type.o err_detail_type.o globals.o
hier_code.o icp_opcode.o lookup_t.o repl_modules.o swap_log_op.o
DiskIO/AIO/AIODiskIOModule.o DiskIO/Blocking/BlockingDiskIOModule.o
DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o
DiskIO/DiskThreads/DiskThreadsDiskIOModule.o
DiskIO/IpcIo/IpcIoDiskIOModule.o DiskIO/Mmapped/MmappedDiskIOModule.o
-m32 -xO4 -xchip=pentium -mt -D_XOPEN_SOURCE=600 -D__EXTENSIONS__=1
-D_XPG6 /export/home/calmeida/packages/BUILD/squid-3.2.0.15/libltdl/./.libs/dlopen.a
-L/usr/sfw/lib auth/.libs/libacls.a ident/.libs/libident.a
acl/.libs/libacls.a acl/.libs/libstate.a auth/.libs/libauth.a libAIO.a
libBlocking.a libDiskDaemon.a libDiskThreads.a libIpcIo.a libMmapped.a
acl/.libs/libapi.a base/.libs/libbase.a ./.libs/libsquid.a
ip/.libs/libip.a fs/.libs/libfs.a ipc/.libs/libipc.a
mgr/.libs/libmgr.a anyp/.libs/libanyp.a comm/.libs/libcomm.a
eui/.libs/libeui.a icmp/.libs/libicmp.a icmp/.libs/libicmp-core.a
log/.libs/liblog.a format/.libs/libformat.a repl/libheap.a
repl/liblru.a -lcrypt -lmd5 ssl/.libs/libsslsquid.a
ssl/.libs/libsslutil.a ../lib/.libs/libmisccontainers.a
../lib/.libs/libmiscencoding.a ../lib/.libs/libmiscutil.a -lpthread
-L/usr/lib -lgss -lkrb5
-L/export/home/calmeida/packages/BUILD/squid-3.2.0.15/compat
-lcompat-squid -lm -lsocket -lresolv -lnsl -lrt
-L/export/home/calmeida/packages/BUILD/squid-3.2.0.15
../libltdl/.libs/libltdlc.a -lssl -lcrypto -lsasl -mt -R/usr/sfw/lib
-R/usr/lib
Undefined first referenced
symbol in file
CommCloseCbPtrFun::CommCloseCbPtrFun(void(*)(const
CommCloseCbParams&),const CommCloseCbParams&)
./.libs/libsquid.a(comm.o)
CommTimeoutCbPtrFun::CommTimeoutCbPtrFun(void(*)(const
CommTimeoutCbParams&),const CommTimeoutCbParams&) client_side.o
void Ipc::TypedMsgHdr::putInt(int) libIpcIo.a(IpcIoFile.o)
FdeCbPtrFun::FdeCbPtrFun(void(*)(const FdeCbParams&),const
FdeCbParams&) ./.libs/libsquid.a(comm.o)
void String::append(const char) ConfigParser.o
ld: fatal: symbol referencing errors. No output written to squid
libtool: link: rm -f ".libs/squidS.o"
make[3]: *** [squid] Error 2
any clue what could be the root cause of this problem?
Kind Regards,
CA,
Received on Wed Feb 15 2012 - 11:16:17 MST
This archive was generated by hypermail 2.2.0 : Wed Feb 15 2012 - 12:00:08 MST