Subject: xine config error with kdemultimedia3...
To: None <pkgsrc-users@netbsd.org>
From: Greg Oster <oster@cs.usask.ca>
List: pkgsrc-users
Date: 08/21/2007 13:26:05
Hi

Is anyone else seeing this issue with building kdemultimedia3 
and xine on -current i386:

count$ nm /usr/pkg/lib/libarts_xine.so | grep ao_new
         U ao_new_port
count$ nm /usr/pkg/lib/libxine.so | grep ao_new
0001c374 T _x_ao_new_port

i.e. the problem is that kdemultimedia fails to locate _x_ao_new_port 
in the xine library, and assumes that I must be running an "old 
version" (which I'm not).  It therefore assumes ao_new_port is the 
symbol it wants.  When artsd goes to run, it can't find that 
symbol in the xine library, and so artsd fails to work with xine.
config.log exerpt included at end.. 

Ideas?  Is this a libc+pthread issue of some sort?

Thanks.

Later...

Greg Oster

---------

configure:46122: checking for _x_ao_new_port in -lxine
configure:46157: cc -o conftest -DNDEBUG -O2  -O2 -pipe -I/usr/pkg/include -DLD\
AP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/\
pkg/include/freetype2 -I/usr/include/krb5  -DQT_THREAD_SUPPORT -I/usr/pkg/inclu\
de -DLDAP_DEPRECATED -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY \
-I/usr/pkg/include/freetype2 -I/usr/include/krb5 -Wl,-E -L/usr/pkg/qt3/lib -L/u\
sr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/qt3/lib \
-L/usr/pkg/qt3/lib -L/usr/pkg/lib   -Wl,-E -L/usr/pkg/qt3/lib -L/usr/pkg/lib -W\
l,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/qt3/lib conftest.c -l\
xine   >&5
/u1/sandbox/usr/pkgsrc/multimedia/kdemultimedia3/work.count/.buildlink/lib/libx\
ine.so: undefined reference to `pthread_attr_destroy'
/u1/sandbox/usr/pkgsrc/multimedia/kdemultimedia3/work.count/.buildlink/lib/libx\
ine.so: undefined reference to `pthread_create'
/u1/sandbox/usr/pkgsrc/multimedia/kdemultimedia3/work.count/.buildlink/lib/libx\
ine.so: undefined reference to `pthread_attr_init'
/u1/sandbox/usr/pkgsrc/multimedia/kdemultimedia3/work.count/.buildlink/lib/libx\
ine.so: undefined reference to `pthread_cancel'
/u1/sandbox/usr/pkgsrc/multimedia/kdemultimedia3/work.count/.buildlink/lib/libx\
ine.so: undefined reference to `pthread_equal'
/u1/sandbox/usr/pkgsrc/multimedia/kdemultimedia3/work.count/.buildlink/lib/libx\
ine.so: undefined reference to `pthread__cleanup_pop'
/u1/sandbox/usr/pkgsrc/multimedia/kdemultimedia3/work.count/.buildlink/lib/libx\
ine.so: undefined reference to `pthread__cleanup_push'
/u1/sandbox/usr/pkgsrc/multimedia/kdemultimedia3/work.count/.buildlink/lib/libx\
ine.so: undefined reference to `pthread_join'
configure:46163: $? = 1
configure: failed program was:
...