Hi!
I tried to compile squid-3.4.5-20140508-r13134.
uname -a
Linux hmsmbsrv 2.6.22.19-0.2-default #1 SMP 2008-12-18 10:17:03 +0100
x86_64 x86_64 x86_64 GNU/Linux
cat /etc/SuSE-release
openSUSE 10.3 (X86-64)
VERSION = 10.3
./configure '--prefix=/usr' '--sysconfdir=/etc/squid'
'--bindir=/usr/sbin' '--sbindir=/usr/sbin' '--localstatedir=/var'
'--libexecdir=/usr/sbin' '--datadir=/usr/share/squid'
'--mandir=/usr/share/man' '--with-dl' '--with-maxfd=4096'
'--with-valgrind-debug' '--enable-snmp' '--enable-carp'
'--enable-auth-basic' '--enable-auth-digest' '--enable-auth-negotiate'
'--enable-auth-ntlm' '--enable-basic-auth-helpers=LDAP MSNT NCSA PAM SMB
YP getpwnam multi-domain-NTLM' '--enable-ntlm-auth-helpers=smb_lm
fakeauth no_check' '--enable-digest-auth-helpers=ldap password'
'--enable-external-acl-helpers=file_userip AD_group kerberos_ldap_group
LDAP_group session unix_group wbinfo_group' '--enable-ntlm-fail-open'
'--enable-arp-acl' '--enable-htcp' '--enable-underscores'
'--enable-stacktraces' '--enable-delay-pools' '--enable-useragent-log'
'--enable-referer-log' '--enable-forward-log' '--enable-multicast-miss'
'--enable-ssl' '--enable-cache-digests' '--enable-auth-on-acceleration'
'--enable-storeio=aufs,diskd,ufs' '--enable-linux-netfilter'
'--enable-removal-policies=heap,lru' '--enable-icmp'
'--with-samba-sources=/usr/include/samba' '--enable-large-cache-files'
'--enable-x-accelerator-vary' '--enable-follow-x-forwarded-for'
'--with-default-user=squid' '--with-logdir=/var/log/squid' 'CFLAGS=-O2
-fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -g -fPIE
-DLDAP_DEPRECATED -fno-strict-aliasing'
--with-squid=/root/install/squid/src/squid-3.4.5-20140508-r13134
--enable-ltdl-convenience
make all
...
...
...
libtool: link: rm -f .libs/squid.nm .libs/squid.nmS .libs/squid.nmT
libtool: link: (cd .libs && gcc -c -fno-builtin "squidS.c")
libtool: link: rm -f ".libs/squidS.c" ".libs/squid.nm" ".libs/squid.nmS"
".libs/squid.nmT"
libtool: link: g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments
-Wshadow -Werror -pipe -D_REENTRANT -g -O2 -march=native .libs/squidS.o
-g -o squid AclRegs.o AuthReg.o AccessLogEntry.o AsyncEngine.o
YesNoNone.o cache_cf.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 fatal.o fd.o fde.o
filemap.o fqdncache.o ftp.o FwdState.o gopher.o helper.o
HelperChildConfig.o HelperReply.o htcp.o http.o HttpHdrCc.o
HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHdrContRange.o
HttpHeader.o HttpHeaderTools.o HttpBody.o HttpMsg.o HttpParser.o
HttpReply.o RequestFlags.o HttpRequest.o HttpRequestMethod.o icp_v2.o
icp_v3.o int.o internal.o ipc.o ipcache.o SquidList.o main.o
MasterXaction.o mem.o mem_node.o MemBuf.o MemObject.o mime.o
mime_header.o multicast.o neighbors.o Notes.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 snmp_core.o snmp_agent.o SquidMath.o
SquidNew.o stat.o StatCounters.o StatHist.o String.o StrList.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 LogTags.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
-Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath -Wl,/usr/lib64 -Wl,--export-dynamic
/root/install/squid/src/squid-3.4.5-20140508-r13134/libltdl/./.libs/dlopen.a
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
http/.libs/libsquid-http.a icmp/.libs/libicmp.a
icmp/.libs/libicmp-core.a log/.libs/liblog.a format/.libs/libformat.a
repl/libheap.a repl/liblru.a -lpthread -lcrypt ssl/.libs/libsslsquid.a
ssl/.libs/libsslutil.a snmp/.libs/libsnmp.a
../snmplib/.libs/libsnmplib.a ../lib/.libs/libmisccontainers.a
../lib/.libs/libmiscencoding.a ../lib/.libs/libmiscutil.a -lssl -lcrypto
-L/usr/lib64 -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils
../compat/.libs/libcompat-squid.a -lm -lnsl -lresolv -lrt
-L/root/install/squid/src/squid-3.4.5-20140508-r13134
../libltdl/.libs/libltdlc.a -ldl
CpuAffinitySet.o: In function `CpuAffinitySet::applied()':
/root/install/squid/src/squid-3.4.5-20140508-r13134/src/CpuAffinitySet.cc:73:
undefined reference to `__sched_cpucount(unsigned long, cpu_set_t*)'
CpuAffinitySet.o: In function `CpuAffinitySet::apply()':
/root/install/squid/src/squid-3.4.5-20140508-r13134/src/CpuAffinitySet.cc:28:
undefined reference to `__sched_cpucount(unsigned long, cpu_set_t*)'
/root/install/squid/src/squid-3.4.5-20140508-r13134/src/CpuAffinitySet.cc:40:
undefined reference to `__sched_cpucount(unsigned long, cpu_set_t*)'
collect2: ld returned 1 exit status
libtool: link: rm -f ".libs/squidS.o"
make[3]: *** [squid] Error 1
make[3]: Leaving directory
`/root/install/squid/src/squid-3.4.5-20140508-r13134/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/root/install/squid/src/squid-3.4.5-20140508-r13134/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/root/install/squid/src/squid-3.4.5-20140508-r13134/src'
make: *** [all-recursive] Error 1
Thanks in advande.
Alex