[OE-core] [PATCH 1/2] pulseaudio: fix compilation on RHEL-5.8 64bit machine

Burton, Ross ross.burton at intel.com
Thu Nov 22 08:55:26 UTC 2012


Hi,

This patch is too hacky to go in at the moment.

On 22 November 2012 06:46,  <jackie.huang at windriver.com> wrote:
> ../bitbake_build/tmp/sysroots/qemux86-64/usr/lib64/libgdk-x11-2.0.so: undefined reference to `XRRGetOutputInfo'

Which means your GTK+ linkage is broken, because libgdk should be
linking to libXrandr.  Mine is, can you verify that yours is too?

> +-AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS)
> ++AM_LDADD = $(PTHREAD_LIBS) $(INTLLIBS) -lXrandr

You're adding linkage to libXrandr to every part of PulseAudio.  What
binary in pulseaudio is failing to compile with this error?

> -DEPENDS += "libjson gdbm speex libxml-parser-perl-native"
> +DEPENDS += "libjson gdbm speex libxml-parser-perl-native \
> +  ${@base_contains('DISTRO_FEATURES', 'x11', 'libxrandr', '', d)}"

pulseaudio.inc has:

DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool \
           ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11
libxtst libice libsm libxcb gtk+', '', d)}"

As gtk+ pulls in libxrandr, this is redundant.

Ross




More information about the Openembedded-core mailing list