<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On my ubuntu 7.10 machine this translated into installing libcap-dev.
Unfortunately I also had to do a ./configure and fresh make to have the
change take effect. Then it compiled cleanly.<br>
<br>
Now to install and configure it!<br>
<br>
Matt<br>
<br>
<br>
Lennart Poettering wrote:
<blockquote cite="mid:20080401134049.GA11303@tango.0pointer.de"
type="cite">
<pre wrap="">On Tue, 01.04.08 14:27, Wouter de Geus (<a class="moz-txt-link-abbreviated" href="mailto:benv-pulseaudio.org@junerules.com">benv-pulseaudio.org@junerules.com</a>) wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hej,
Just trying to compile the 0.9.10 release on several machines.
Works fine for my headless server, but on my workstation running slackware-current
I ran into this error:
gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/modules -I../src/modules/rtp -I../src/modules/gconf -pthread -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=\"/var/run/pulse\" -DAO_REQUIRE_CAS '-DDEBUG_TRAP=__asm__("int $3")' -I/usr/include/liboil-0.3 -I/usr/include/liboil-0.3 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/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 -ffast-math -MT pulseaudio-caps.o -MD -MP -MF .deps/pulseaudio-caps.Tpo -c -o pulseaudio-caps.o `test -f 'daemon/caps.c' || echo './'`daemon/caps.c
daemon/caps.c:134: error: conflicting types for 'pa_drop_caps'
daemon/caps.h:28: error: previous declaration of 'pa_drop_caps' was here
If I change the prototype back to a void function it compiles for me.
Is this the correct solution?
</pre>
</blockquote>
<pre wrap=""><!---->
No, the correct solution is to compile PA with capability support.
Install libcaps-devel.
Lennart
</pre>
</blockquote>
</body>
</html>