Posts: 14
Joined: Oct 2012
Reputation:
0
Guys,
I've been compiling the git tarball once a week. yesterday I found the following error:
AR xbmc/cores/paplayer/paplayer.a
LD xbmc.bin
xbmc/cores/AudioEngine/audioengine.a(PulseAE.o): In function `CPulseAE::CanInit()':
/root/rpmbuild/BUILD/xbmc-12.0-ALPHA6/xbmc/cores/AudioEngine/Engines/PulseAE/PulseAE.cpp:113: undefined reference to `pa_simple_new'
/root/rpmbuild/BUILD/xbmc-12.0-ALPHA6/xbmc/cores/AudioEngine/Engines/PulseAE/PulseAE.cpp:117: undefined reference to `pa_simple_free'
collect2: error: ld returned 1 exit status
I waited until today to see if someone else noticed it... but same thing happened when I pulled it today. Is it me?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
clean. if it still errors I will look into it I did do some trivial changes there yesterday.
Posts: 14
Joined: Oct 2012
Reputation:
0
2012-10-17, 17:11
(This post was last modified: 2012-10-17, 17:14 by ncorrare.)
I'm doing an RPM build so basically I do a clean every time I try to compile (well it actually uncompresses the whole tar again).
Just in case I'm compiling with:
./configure \
--prefix=%{_prefix} --bindir=%{_bindir} --includedir=%{_includedir} \
--libdir=%{_libdir} --datadir=%{_datadir} \
--with-lirc-device=/var/run/lirc/lircd \
--enable-external-libraries \
--enable-vdpau \
--enable-vaapi \
--enable-rtmp \
--enable-pulse \
--disable-dvdcss \
--disable-optimizations --disable-debug \
CPPFLAGS="-I/usr/include/ffmpeg" \
CFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/ffmpeg -D__STDC_CONSTANT_MACROS" \
CXXFLAGS="$RPM_OPT_FLAGS -fPIC -I/usr/include/ffmpeg -D__STDC_CONSTANT_MACROS" \
LDFLAGS="-fPIC" \
LIBS="-L%{_libdir}/mysql -lhdhomerun $LIBS" \
ASFLAGS=-fPIC
I'll try to disable pulseaudio and VAAPI, since I'm not really using them.
Well, I'm using pulseaudio, is VAAPI that i'm not using. Damn you Fedoraaa!
Posts: 14
Joined: Oct 2012
Reputation:
0
You can solve it temporarily by not compiling with --enable-pulse . Apparently its broken...
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
yeah, the issue seems to be that libpulse links to pulse-simple on ubuntu, but apparently not elsewhere.
Posts: 2
Joined: Aug 2010
Reputation:
0
2012-10-22, 14:38
(This post was last modified: 2012-10-22, 15:13 by bob511.)
Does it? Admittedly I'm running Arch(64) like the other guy there, but I booted up the Eden XBMCBuntu livecd really quickly, and ldd on libpulse.so shows a dependency on pulsecommon, but I don't see anything on pulse-simple. Pulse-simple does depend on pulse, which makes sense to me, since as far as I know it's just a simplified intermediary to the normal pulse functions.
Is it possible that some devs are rolling their own pulse libraries? Or (much more likely, I think) am I misunderstanding something?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
it links for me on ubuntu. i didn't check the details, maybe libpulse has the symbols from pulse-simple then.
Posts: 14
Joined: Oct 2012
Reputation:
0
Is this patch already upstream (on git)?