Andre wrote:
Hi,
I try to compile kdemultimedia and the xine_artsplugin gives a compile error:
/bin/sh ../libtool --silent --tag=CXX --mode=link
g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=pentium4 -O3 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -Wl,-O1 -o
libarts_xine.la -rpath /opt/kde-3.5.5/lib -L/opt/kde-3.5.5/lib -L/usr/lib -L/usr/X11R7/lib -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -pthread
xinePlayObject.lo xinePlayObject_impl.lo
audio_fifo_out.lo -L/home/andre/apps/lib -lxine -lz -lnsl -lpthread -lrt -lX11 -lXext -lkmedia2_idl -lsoundserver_idl -lartsflow
.libs/audio_fifo_out.o: In function `init_audio_out_plugin':
audio_fifo_out.c:(.text+0x317): undefined reference to `ao_new_port'
collect2: ld returned 1 exit status
make[1]: *** [libarts_xine.la] Error 1
----
I search for hours to solve this but cannot figured it out what the problem
is.
I have installed xine-libs (1.2) and xine works but i get this "undefined
reference to `ao_new_port' error.
Thanks,
Andre
Have you installed alsa-libs yet ? If not then that may be why it cannot
find the function that gcc is complaining about when trying to compile
the program. If you wanted to investigate futher you could go into
audio_fifo_out.c and look to see what the inlcudes are. But you would need to know
a little bit about c programming to figure out what exact lib its pulling it from.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page