From alsa-user-owner@alsa.jcu.cz  Thu Dec  3 20:00:40 1998
Received: from smtp1.xs4all.nl (smtp1.xs4all.nl [194.109.6.51])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id TAA32445
	for <alsa-user@alsa.jcu.cz>; Thu, 3 Dec 1998 19:57:19 +0100
Received: from cs.vu.nl (orbital.xs4all.nl [194.109.37.98])
	by smtp1.xs4all.nl (8.8.8/8.8.8) with ESMTP id TAA13089
	for <alsa-user@alsa.jcu.cz>; Thu, 3 Dec 1998 19:57:18 +0100 (CET)
Message-ID: <3666E0B0.A5B9B4D6@cs.vu.nl>
Date: Thu, 03 Dec 1998 19:04:17 +0000
From: Andy Lo A Foe <arloafoe@cs.vu.nl>
MIME-Version: 1.0
To: alsa-user@alsa.jcu.cz
Subject: Re: Cant compile AlsaPlayer - beware, its a long letter, sorry :(
References: <Pine.GSO.4.05.9812031802390.8381-100000@madli.ut.ee>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Imre Oolberg wrote:

> slackware 3.4 on libc5 (gcc 2.7.2.3),

Aha, I've only tested it with glibc6... Read on...

> talv:/AlsaPlayer# make
> g++ -static -D_REENTRANT -o AlsaPlayer gui/gladesrc.o scopes/monoscope.o
> scopes/levelmeter.o scopes/spacescope.o scopes/fftscope.o SampleBuffer.o
> Main.o MpegFilter.o Effects.o Playlist.o EffectsWindow.o amp/dump.o
> amp/formats.o amp/getbits.o amp/huffman.o amp/layer3.o amp/getdata.o
> amp/misc2.o amp/transform.o amp/buffer.o amp/layer2.o amp/util.o \
> /usr/local/bin/gtk-config --libs -lpthread -lasound -lm
> /usr/i486-unknown-linux-gnulibc1/bin/ld: cannot open -lpthread: No such file
> or directory

Ok, it looks like you don't have the pthreads library installed on your system
or the linker can't find the library. Check if it is on your system and add the
location with -L to the linker line (-L/usr/local/lib for example). If its not
installed try the following URL:

ftp://ftp.inria.fr/INRIA/Projects/cristal/Xavier.Leroy/linuxthreads.tar.gz

(found on http://pauillac.inria.fr/~xleroy/linuxthreads/)

Greetz,
Andy

--
Andy Lo A Foe, arloafoe@cs.vu.nl |  Linux v2.1.128  | PII 266
http://www.cs.vu.nl/~arloafoe    | GSM: 0622-440695 | Bebox 133
http://orbital.xs4all.nl/andy    |   ICQ: 7472949   | IRCNet: Adnans




