Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2010 23:03:54 -0300
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        gnome@FreeBSD.org
Subject:   audio/pulseaudio build broken with mpeg4ip
Message-ID:  <20100520020354.54367.qmail@exxodus.fedaykin.here>

next in thread | raw e-mail | index | archive | help
Hi,

	You probably already know about this: pulseaudio does not
build if mpeg4ip is installed.

	Easy to reproduce:

	1) Install multimedia/mpeg4ip
	2) Try to build audio/pulseaudio

	The relevant build log follows

---------

  CC     module-raop-sink.lo
In file included from /usr/local/include/sdp.h:26,
                 from modules/raop/module-raop-sink.c:66:
/usr/local/include/mpeg4ip.h:126: warning: redundant redeclaration of 'strcasestr' [-Wredundant-decls]
/usr/include/string.h:77: warning: previous declaration of 'strcasestr' was here
modules/raop/module-raop-sink.c: In function 'module_raop_sink_LTX_pa__get_version':
modules/raop/module-raop-sink.c:72: error: 'PACKAGE_VERSION' undeclared (first use in this function)
modules/raop/module-raop-sink.c:72: error: (Each undeclared identifier is reported only once
modules/raop/module-raop-sink.c:72: error: for each function it appears in.)
gmake[3]: *** [module-raop-sink.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/audio/pulseaudio/work/pulseaudio-0.9.21/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/audio/pulseaudio/work/pulseaudio-0.9.21/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/audio/pulseaudio/work/pulseaudio-0.9.21'
gmake: *** [all] Error 2
*** Error code 1

---------

	A complete build log can be found at

http://people.freebsd.org/~lioux/pulseaudio_0.9.1_build.log.bz2

	module-raop-sink.c includes /usr/local/include/sdp.h
from mpeg4ip which breaks the build. The proper fix would be to
force the build to use BASE /usr/include/sdp.h instead of the one
from LOCALBASE.

	If a fix cannot be included, perhaps we could note this
situation on UPDATING: letting users know they should remove mpeg4ip
prior to building pulseaudio.

	Regards,

-- 
Mario S F Ferreira - DF - Brazil - "I guess this is a signature."
feature, n: a documented bug | bug, n: an undocumented feature



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100520020354.54367.qmail>