Hi, For some reason I don't have the Multiprocessing.h include, maybe I am on a newer version. XCode Version 3.2.1 (1613) on macos 10.6. Here is a reference to the same issue as I found. http://forum.soft32.com/mac/Multiprocessing-issue-ftopict43400.html The code does compile, but it compiles the semaphore-posix.c file, there is just no way that the osx version gets compiled in my source tree. If I force semaphore-osx.c to be compiled instead of semaphore-posix.c, it is not linking either without adding a library too. Hey, maybe I did something wrong when retreiving the code? I use: git fetch git://0pointer.de/pulseaudio.git Best Regards, Mattias Claesson ________________________________________ Fr?n: pulseaudio-discuss-bounces at mail.0pointer.de [pulseaudio-discuss-bounces at mail.0pointer.de] för Daniel Mack [daniel at caiaq.de] Skickat: den 12 november 2009 22:21 Till: General PulseAudio Discussion ?mne: Re: [pulseaudio-discuss] semaphores macosx, comments please On Thu, Nov 12, 2009 at 07:37:26PM +0100, Claesson Mattias wrote: > This is what I did for src/pulsecore/semaphore-osx.c > @@ -21,11 +21,11 @@ > > #ifdef HAVE_CONFIG_H > #include <config.h> > #endif > > -#include <Multiprocessing.h> > +#include <CoreServices/CoreServices.h> > > #include <pulse/xmalloc.h> > #include <pulsecore/macro.h> > > #include "semaphore.h" > > ---------------- > > POSIX unnamed semaphores are not supported under macos x. Other free software use named semaphores (that is supposed to work) to implement also unnamed semaphores. > sem_open("clever random name") + sem_unlink() instead of sem_init() + sem_close(). > Tried a quick test and it should be possible to get this to work, it all depends on the "random name" used. Hmm - what exactly is the problem you're seeing? What is the reason for changing that? Doesn't the current code compile for you? Daniel _______________________________________________ pulseaudio-discuss mailing list pulseaudio-discuss at mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss