[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build problems on old Linux libc5

From: Bruno Haible
Subject: Re: build problems on old Linux libc5
Date: Fri, 17 Nov 2006 16:14:22 +0100
User-agent: KMail/1.9.1

Alain Guibert wrote:
> >> On my old Linux box (Intel Pentium 200 MMX, Debian bo, kernel 2.0.40,
> >> gcc, libc 5.4.33, GNU ld cygnus-2.7.1, libiconv 1.11,
> >> pth 2.0.7, i586-pc-linux-gnulibc1) during gettext 0.15 build, make
> >> fails:
> >>| ../intl/.libs/libintl.so: undefined reference to `__pthread_read'
> Of course I understand. However pth 2.0.7 is a very recent version,
> AFAICS the latest, dated June 2006.

Installation of gettext-0.16 with pth-2.0.7 works for me, like this:
  - pth configuration:
      $ ./configure --prefix=/prefix-pth
      $ make
      $ make install
  - gettext configuration:
      $ ./configure --prefix=/prefix-pth --enable-threads=pth 
CPPFLAGS=-I/prefix-pth/include LDFLAGS=-L/prefix-pth/lib
      $ make
      $ make install

on Linux/glibc-2.4 and on HP-UX 11.

Therefore you will have to find out what's the problem with libc5 yourself.

Why does it want a symbol __pthread_read anyway? All the symbols that libintl
requires when you use --enable-threads=pth start with "pth_".


reply via email to

[Prev in Thread] Current Thread [Next in Thread]