Subject: Re: xine buildlink issue
To: Juan RP <juan@xtrarom.org>
From: David Brownlee <abs@NetBSD.org>
List: tech-pkg
Date: 09/04/2007 23:14:11
On Tue, 4 Sep 2007, Juan RP wrote:

> On Tue, 4 Sep 2007 00:56:55 +0100 (BST)
> David Brownlee <abs@absd.org> wrote:
>
>> Trying to build gxine from the latest pkgsrc (yesterday), on NetBSD
>> 4.0_RC1, with all wiped the day before, with modular xorg gives:
>>
>> /var/obj/pkg/multimedia/gxine/work/.buildlink/lib/libxine.so: undefined
>> reference to
>> `pthread_attr_destroy' /var/obj/pkg/multimedia/gxine/work/.buildlink/lib/libxine.so:
>> undefined reference to
[...]
>>
>> Anything obvious I'm likely to have missed? :)
>
> Try adding PTHREAD_AUTO_VARS=yes (that will link to libpthread).

 	Great - this worked, but only when I added it to
 	xine-lib/Makefile.common not to gxine/Makefile. Is anyone
 	else seeing this?

 	Interestingly kde's sound has just started failing with this
 	pkgsrc build - with errors like:

 	    /usr/pkg/lib/libarts_xine.so.0: Undefined PLT symbol "ao_new_port" (symnum = 551)

 	occam suggests they are probably related :)


-- 
 		David/absolute       -- www.NetBSD.org: No hype required --