RE: [squid-users] Compile on HP-UX 11.23 IA64

From: Morales, Bernardo <bernardo.morales_at_hp.com>
Date: Tue, 30 Mar 2010 13:11:31 +0000

Hi,

I have the same problem with the regex library with the version 3.1.1:

g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -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 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 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 HttpReply.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 mime_header.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 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 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/AIO/AIODiskIOModule.o DiskIO/Blocking/BlockingDiskIOModule.o DiskIO/DiskDaemon/DiskDaemonDiskIOModule.o DiskIO/DiskThreads/DiskThreadsDiskIOModule.o base/.libs/libbase.a -L/var/bintmp/gcc-4.2.3/gccobj/ia64-hp-hpux11.23/libstdc++-v3/src -L/var/bintmp/gcc-4.2.3/gccobj/ia64-hp-hpux11.23/libstdc++-v3/src/.libs -L/var/bintmp/gcc-4.2.3/gccobj/./gcc -L/usr/local/ia64-hp-hpux11.23/bin -L/usr/local/lib/hpux32 -L/usr/local/lib -L/usr/lib/hpux32 ./.libs/libsquid.a auth/.libs/libacls.a ident/.libs/libident.a acl/.libs/libacls.a acl/.libs/libstate.a auth/.libs/libauth.a acl/.libs/libapi.a ip/.libs/libip.a fs/.libs/libfs.a icmp/.libs/libicmp.a icmp/.libs/libicmp-core.a ../compat/.libs/libcompat.a -L/nsu/kits/squid-3.1.1/lib repl/liblru.a libAIO.a libBlocking.a libDiskDaemon.a libDiskThreads.a -lrt -lpthread ../snmplib/libsnmp.a adaptation/.libs/libadaptation.a /usr/local/lib/libstdc++.so -L/usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3 -L/usr/ccs/lib -L/usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../.. -lgcc -lmiscutil -lm -lnsl ../libltdl/.libs/libltdlc.a /usr/local/lib/hpux32/libregex.a
ld: Unsatisfied symbol "regerror(int, re_pattern_buffer const*, char*, unsigned long)" in file cache_cf.o
ld: Unsatisfied symbol "regexec(re_pattern_buffer const*, char const*, unsigned long, regmatch_t*, int)" in file ftp.o
ld: Unsatisfied symbol "regcomp(re_pattern_buffer*, char const*, int)" in file cache_cf.o
ld: Unsatisfied symbol "regfree(re_pattern_buffer*)" in file cache_cf.o

I have configured the library libregex.a but it is not possible to compile.

 

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: martes, 30 de marzo de 2010 13:34
To: squid-users_at_squid-cache.org
Subject: Re: [squid-users] Compile on HP-UX 11.23 IA64

Morales, Bernardo wrote:
> Hi,
>
> I just trying to compile squid on HP-UX Itanium Server 64bit with gcc (not aCC). I get the sources compiling except on the final linking:
>

Please try 3.1.1. We have already dropped ufsdump out of default builds due to these linkage issues.

Also, are there any code changes you had to make to get it that far? We are very interested in ensuring 3.1.x builds on as many systems as possible with any compilers used.

Amos

--
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.1
Received on Tue Mar 30 2010 - 13:13:45 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 30 2010 - 12:00:08 MDT