[pulseaudio-discuss] Compile error pulseaudio-0.9.6

Tanu Kaskinen tanuk at iki.fi
Sun Oct 7 22:45:37 PDT 2007


On Sun, Oct 07, 2007 at 05:32:48PM -0400, Frank Ianella wrote:
> Hi,
> 
> Decided to give pulseaudio a try, but the build failed. All mandatory 
> dependencies were installed. Using gcc-4.1.2 & glibc-2.5.1. The error is 
> as follows:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../src/modules 
> -I../src/modules/rtp -I../src/modules/gconf -D_POSIX_PTHREAD_SEMANTICS 
> -DPA_DLSEARCHPATH=\"/usr/lib/pulse-0.9/modules/\" 
> -DPA_DEFAULT_CONFIG_DIR=\"/etc/pulse\" 
> -DPA_BINARY=\"/usr/bin/pulseaudio\" 
> -DPA_SYSTEM_RUNTIME_PATH=\"/usr/var/run/pulse\" -DAO_REQUIRE_CAS 
> "-DDEBUG_TRAP=__asm__(\"int \$3\")" -I/usr/X11R6/include -g -O2 
> -std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat 
> -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal 
> -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes 
> -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels 
> -Wpointer-arith -Wcast-align -Wwrite-strings -Winline 
> -Wno-unused-parameter -c pulsecore/core-util.c  -fPIC -DPIC -o 
> .libs/libpulse_la-core-util.o
> pulsecore/core-util.c: In function 'pa_raise_priority':
> pulsecore/core-util.c:547: error: label at end of compound statement
> make[3]: *** [libpulse_la-core-util.lo] Error 1
> make[3]: Leaving directory `/sources/pulseaudio-0.9.6/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/sources/pulseaudio-0.9.6/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/sources/pulseaudio-0.9.6'
> make: *** [all] Error
> 
> Any help in getting this to compile would be appreciated!

You have to add one semicolon to a carefully selected place.
See the patch at http://www.pulseaudio.org/ticket/134

-- 
Tanu Kaskinen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20071008/264bf4db/attachment.pgp>


More information about the pulseaudio-discuss mailing list