Hi,

Sorry for barging in like this, but maybe I can help out.

Have build "working" now using last nights repository on my Snow Leopard mac. 
Had to do quite some hands-on in the build system to make it compile. Using 
these changes make pulseaudio start and then exist because of no loaded modules.

Things I needed to adapt was:
1. semaphore-osx.c
#include <Multiprocessing.h>    >>>  #include <CoreServices/CoreServices.h> 
(old include was renamed in newer macos headers, according to google)

2. These was no way for the osx version to be compiled in the build so I just 
changed the src/Makefile.am
pulsecore/semaphore-posix.c pulsecore/semaphore.h
>>> 
pulsecore/semaphore-osx.c pulsecore/semaphore.h

3. Dynamic linkage error because symbolic link missing for the 
MPCreateSemaphore API call. Added the library to Makefile.am.
libpulsecomm...@pa_majorminormicro@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
>>>
libpulsecomm...@pa_majorminormicro@_la_LDFLAGS = -framework Carbon 
$(AM_LDFLAGS) -avoid-version

Best Regards,
Mattias Claesson

-----Ursprungligt meddelande-----
Från: Daniel Mack [mailto:[email protected]] 
Skickat: den 4 november 2009 01:38
Till: [email protected]
Ämne: Re: [pulseaudio-discuss] [PATCH 4/4] Wrap clock_gettime and friends

On Tue, Nov 03, 2009 at 11:33:37PM +0100, Lennart Poettering wrote:
> On Sun, 01.11.09 20:16, Daniel Mack ([email protected]) wrote:
> 
> > My build bails due to an undefined 'CLOCK_REALTIME', and this is because
> > HAVE_CLOCK_GETTIME is also defined on Darwin.
> 
> Uh?
> 
> If HAVE_CLOCK_GETTIME is set, than this means that clock_gettime() is
> available, too. So why are we emulating it then?

Because CLOCK_REALTIME is undefined. I think the true reason is that
HAVE_CLOCK_GETTIME is bogus in this case. It is reported to be supported
but in fact it isn't. 

Maybe the real fix would be to check why. But that involves dealing with
autofoo and their braindead m4 macro voodoo which always ruins my day ;)
Volounteers?

Daniel


_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss

Reply via email to