[squid-users] squid 3.1.6 won't compile

From: Helmut Hullen <Hullen_at_t-online.de>
Date: 25 Aug 2010 12:02:00 +0200

Hallo,

I'm trying to compile Squid 3.1.6 with the SBo script

    http://slackbuilds.org/repository/13.1/network/squid/
   <http://slackbuilds.org/slackbuilds/13.1/network/squid/squid.SlackBuild>

- it fails with

/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../
libpthread.a(pthread_create.o): In function `pthread_create':
(.text+0x10a9): undefined reference to `_dl_stack_flags'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(pthread_create.o):
In function `pthread_create':
(.text+0x1bd6): undefined reference to `_dl_stack_flags'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(ptw-write.o): In
function `__write_nocancel':
(.text+0x26): undefined reference to `__syscall_error'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(ptw-write.o): In
function `__write_nocancel':
(.text+0x56): undefined reference to `__syscall_error'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(ptw-read.o): In
function `__read_nocancel':
(.text+0x26): undefined reference to `__syscall_error'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(ptw-read.o): In
function `__read_nocancel':
(.text+0x56): undefined reference to `__syscall_error'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(ptw-close.o): In
function `__close_nocancel':
(.text+0x20): undefined reference to `__syscall_error'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(ptw-close.o):(.
text+0x4b): more undefined references to `__syscall_error' follow
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(sigaction.o): In
function `__libc_sigaction':
(.text+0x4e): undefined reference to `_dl_sysinfo_dso'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(nptl-init.o): In
function `__pthread_initialize_minimal':
(.text+0x1c): undefined reference to `__libc_setup_tls'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(nptl-init.o): In
function `__pthread_initialize_minimal':
(.text+0x269): undefined reference to `_dl_init_static_tls'
/usr/lib/gcc/i486-slackware-linux/4.4.4/../../../libpthread.a(nptl-init.o): In
function `__pthread_initialize_minimal':
(.text+0x273): undefined reference to `_dl_wait_lookup_done'
collect2: ld returned 1 exit status
make[3]: *** [squid] Fehler 1
make[2]: *** [all-recursive] Fehler 1
make[1]: *** [all] Fehler 2
make: *** [all-recursive] Fehler 1

# ---------------------------------------------------------------------

"/usr/lib/libpthread.a" exists, it's part of glibc-2.11.1

Compiling other packages works well.

Is that error related to squid or to glibc?

-------------------

I had compiled some earlier squid versions with the appropriate
SlackBuild scripts - all worked fine.

p.e.

  <http://helmut.hullen.de/filebox/Linux/slackware/n/squid-3.0.STABLE16-i486-1hln_slack11.0.tgz>
  <http://arktur.shuttle.de/CD/5.2/slack/n1/squid-3.1.3-i486-1hln.tgz>

Viele Gruesse!
Helmut
Received on Wed Aug 25 2010 - 10:15:32 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 25 2010 - 12:00:02 MDT