<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>I'm using fedora 7, 64-bit edition. I'm trying to add the mp3 support for xine. I'm using for this purpose the packages kdemultimedia-3.5.6-7.fc7.src.rpm and kdemultimedia-3.5.6.tar.bz2. I tweaked the file <FONT face="Courier New">/usr/src/redhat/SPECS/kdemultimedia.spec</FONT> a little to enable mp3. I'm rebuilding a binary RPM package for kdemultimedia using the command:</DIV>
<DIV><FONT face="Courier New">rpmbuild -bb /usr/src/redhat/SPECS/kdemultimedia.spec</FONT></DIV>
<DIV>The building process goes fine until I get the following error:</DIV>
<DIV>.libs/xinePlayObject_impl.o: In function `xine_shared_init':<BR>/usr/src/redhat/BUILD/kdemultimedia-3.5.6-patched/xine_artsplugin/xinePlayObject_impl.cpp:113: undefined reference to `pthread_create'</DIV>
<DIV>I get this error along with some other errors all related to pthread. The last command in the build process that preceded this error was</DIV>
<DIV>/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -DNDEBUG -DNO_DEBUG -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libarts_xine.la -rpath /usr/lib64 -L/usr/lib64/qt-3.3/lib -L/usr/lib64 -Wl,--as-needed -Wl,--enable-new-dtags  -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined <STRONG>-pthread</STRONG> xinePlayObject.lo xinePlayObject_impl.lo audio_fifo_out.lo -L/usr/lib64 -lxine   -lX11  -lXext -lkmedia2_idl -lsoundserver_idl -lartsflow</DIV>
<DIV>As I see the -pthread option is specified in this command(and the pthread library is installed on my system for sure), so it's most probably not a linking problem. May it be a missing header file in the source file /usr/src/redhat/BUILD/kdemultimedia-3.5.6-patched/xine_artsplugin/xinePlayObject_impl.cpp? Does anyone have an idea how to overcome this error?</DIV></div><br>
      <hr size=1>Be a better Globetrotter. <a href="http://us.rd.yahoo.com/evt=48254/*http://answers.yahoo.com/dir/_ylc=X3oDMTI5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHNsawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545469">Get better travel answers </a>from someone who knows.<br>Yahoo! Answers - Check it out.

</body></html>