On Tue, 01.04.08 14:27, Wouter de Geus (benv-pulseaudio.org at junerules.com) wrote: > > 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? No, the correct solution is to compile PA with capability support. Install libcaps-devel. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4