From owner-freebsd-ports@FreeBSD.ORG Sat Dec 27 02:55:31 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D92DF1065689 for ; Sat, 27 Dec 2008 02:55:31 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id AAF248FC17 for ; Sat, 27 Dec 2008 02:55:31 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so5221372rvf.43 for ; Fri, 26 Dec 2008 18:55:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=wqXmgnalAIGFaXnrQwZHf3BIzrhp/9k4uDQib5VBotw=; b=t3CX7kj0n0UHk7qm6mebmY1nt0Txn3EzS2vCmpOd/jJjcbwKbn1HpzRJptEEsqt8Vs RpMnu7uK8byMaZud9kxjOkcAsSraQSBfBRC6GXfWPnmc1GH0rY45BmgGJSe/w3cfDq8b 7NiXqDfHyTGZeVpMhJRIm5xH2g8ifFvZjO9Qc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=vlG1km4dUNS2G56XcHh3gIICI6F/VJuuAlGWwpej/xlGm1bWhisLXGkUBUhWgNz9pH MkGow87BvKZ8N6ARXtmL3KMNXLjVQRDzQL8R/Yn5lXTu1Pp4ir/+5Ual/zB0UqerZxuV ZbS0vEo9gs9bCa8TY9kgOdzbTj1cbqyn3U/sA= Received: by 10.141.193.1 with SMTP id v1mr5536986rvp.186.1230346531405; Fri, 26 Dec 2008 18:55:31 -0800 (PST) Received: by 10.140.135.2 with HTTP; Fri, 26 Dec 2008 18:55:31 -0800 (PST) Message-ID: <7d6fde3d0812261855m75816888ga476edac2c56b6e6@mail.gmail.com> Date: Fri, 26 Dec 2008 18:55:31 -0800 From: "Garrett Cooper" To: "Kim Culhan" In-Reply-To: <89dbfdc30812261851m30fa9fc6g512bfdf63cd00634@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <89dbfdc30812261253sd13d85fn9d2c079d644818b@mail.gmail.com> <54BC6DF8-BEC3-4133-8394-9FEF055E8A4A@gmail.com> <89dbfdc30812261603y20f262a8g7f6d3cb52605ec24@mail.gmail.com> <7d6fde3d0812261743l1b19dbbao33443c2f1077cb1d@mail.gmail.com> <89dbfdc30812261851m30fa9fc6g512bfdf63cd00634@mail.gmail.com> Cc: FreeBSD Ports Mailing List Subject: Re: 7.1-RC2 audio/x11amp missing symbol at startup X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 02:55:31 -0000 On Fri, Dec 26, 2008 at 6:51 PM, Kim Culhan wrote: > On Fri, Dec 26, 2008 at 8:43 PM, Garrett Cooper wrote: >> On Fri, Dec 26, 2008 at 5:35 PM, Garrett Cooper wrote: >>> On Dec 26, 2008, at 16:03, "Kim Culhan" wrote: >>> >>>> On Fri, Dec 26, 2008 at 4:42 PM, Garrett Cooper >>>> wrote: >>>>> >>>>> On Dec 26, 2008, at 12:53, "Kim Culhan" wrote: >>>>> >>>>>> Using the ports tree cvsup'd 12-26-08 running on FreeBSD 7.1-RC2 >>>>>> >>>>>> At startup audio/x11amp returns: >>>>>> >>>>>> /usr/local/lib/x11amp/Input/libwav.so: Undefined symbol >>>>>> "effects_enabled" >>>>>> /usr/local/lib/x11amp/Input/libmpg123.so: Undefined symbol >>>>>> "effects_enabled" >>>>>> /usr/local/lib/x11amp/Input/libmikmod.so: Undefined symbol >>>>>> "effects_enabled" >>>>>> Gdk-ERROR **: BadMatch (invalid parameter attributes) >>>>>> serial 82 error_code 8 request_code 2 minor_code 0 >>>>>> >>>>>> Anyone else seeing this? >> Sorry, my iPhone cut off my last message. Let's try this again... >> >> Do the following steps to see whether or not things work: >> >> 1. Open up a terminal. >> 2. Do: >> export LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib/x11amp/Input/"; >> x11amp >> >> does this work? If so, proceed to 3. > > No does not, the problem appears to be the shared libraries: > > /usr/local/lib/x11amp/Input/libwav.so > /usr/local/lib/x11amp/Input/libmpg123.so > /usr/local/lib/x11amp/Input/libmikmod.so > > as the error message states, have an undefined symbol: "effects_enabled" > > nm /usr/local/lib/x11amp/Input/libmpg123 | grep effects > U effects_enabled > > It looks like this is related to linking with -pthread which appears to > be a problem in fbsd 7.1 > > -kim -pthread should *not* be used. According to the gcc manpage it's HP-alpha specific... Is it actually implemented in the author's makefiles? -Garrett