[pulseaudio-discuss] [PATCH 4/4] Wrap clock_gettime and friends
daniel at caiaq.de
Wed Nov 4 05:29:22 PST 2009
On Wed, Nov 04, 2009 at 02:09:21PM +0100, Claesson Mattias wrote:
> 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.
Ah, good. More people testing this stuff :)
Which version did you compile? You should use git to check out the
latest sources for that. Some changes mandatory for Mac OS X builds came
in after the last release.
> 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.
> libpulsecommon_ at PA_MAJORMINORMICRO@_la_LDFLAGS = $(AM_LDFLAGS) -avoid-version
> libpulsecommon_ at PA_MAJORMINORMICRO@_la_LDFLAGS = -framework Carbon $(AM_LDFLAGS) -avoid-version
If you made these changes to the git version, the outout of 'git diff'
would be appreciated. (A real patch would be even better if you know how
to do this, but a simple diff would suffice in the first place).
More information about the pulseaudio-discuss