Ticket #478 (new defect)
Fixes for build and run time problems under Mac OS X
| Reported by: | Tron | Owned by: | lennart |
|---|---|---|---|
| Milestone: | Component: | core | |
| Keywords: | Cc: |
Description
"pulseaudio" doesn't build and work under Mac OS X:
1.) "core-util.c" requires an extra include file to build. I'll provide a patch
for that problem.
2.) "proplist-util.c" uses "extern char **environ" to get to the list of environment
variables which doesn't work under Mac OS X. This doesn't break the build but applications linked against the "pulse" library cannot be started. I'll provide a patch for that problem as well.
3.) The build uses various ELF specific linker options that Mac OS X doesn't
understand. The options are:
--gc-sections -version-script=./map-file -no-undefined -z nodelete
Somebody should probably write configure tests to check whether these options are actually supported. NetBSD e.g. also doesn't understand "--gc-sections".
