From owner-freebsd-questions@FreeBSD.ORG Mon May 19 01:23:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 197FC37B401 for ; Mon, 19 May 2003 01:23:10 -0700 (PDT) Received: from MX1.estpak.ee (ld1.estpak.ee [194.126.101.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FA1743F3F for ; Mon, 19 May 2003 01:23:09 -0700 (PDT) (envelope-from kalts@estpak.ee) Received: from kevad.internal (80-235-32-141-dsl.mus.estpak.ee [80.235.32.141]) by MX1.estpak.ee (Postfix) with ESMTP id DEB1C88B11; Mon, 19 May 2003 11:21:30 +0300 (EEST) Received: by kevad.internal (Postfix, from userid 1000) id 0DFB715EA60; Mon, 19 May 2003 11:23:26 +0300 (EEST) Date: Mon, 19 May 2003 11:23:26 +0300 From: Vallo Kallaste To: Chris Moline Message-ID: <20030519082326.GC1560@kevad.internal> References: <1053057247.4697.10.camel@h24-67-53-86.lb.shawcable.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1053057247.4697.10.camel@h24-67-53-86.lb.shawcable.net> User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: problems compiling XFree86-4-clients X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kalts@estpak.ee List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 08:23:10 -0000 On Thu, May 15, 2003 at 09:54:07PM -0600, Chris Moline wrote: > rm -f appres^M > cc -o appres -O6 -pipe -march=pentiumpro -ansi -Dasm=__asm -Wall > -Wpointer-arith > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_signal'^M > /usr/X11R6/lib/libXThrStub.so.6: undefined reference to > `_Xthr_zero_stub_'^M > /usr/X11R6/lib/libX11.so: undefined reference to > `pthread_cond_broadcast'^M > /usr/X11R6/lib/libXThrStub.so.6: undefined reference to > `_Xthr_self_stub_'^M > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_init'^M > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_unlock'^M > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_self'^M > /usr/X11R6/lib/libXt.so: undefined reference to > `pthread_mutex_destroy'^M > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_lock'^M > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_wait'^M > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_destroy'^M > /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_init'^M > > i cant figure out how to fix this. i have tried setting the enviroment > variable LDFLAGS to -pthread. i have tried make install clean > LDFLAGS=-pthread. and i have also tried adding > CONFIGURE_ENV+=LDFLAGS=${PTHREAD_LIBS} > to the Makefile. none of which work. > > is there something i can do to convince XFree86-4-clients to compile? Yes, don't use unsupported optimization level. Next time look into list archives please. -- Vallo Kallaste