Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
libao
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 32
    • Issues 32
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Xiph.Org
  • libao
  • Issues
  • #1667

Closed
Open
Opened Mar 27, 2010 by Max Horn@Fingolfin

libao 1.0.0 does not compile on Mac OS X 10.5

As the title says, libao 1.0.0 does not compile on Mac OS X 10.5. This is the error:

/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME="libao" -DPACKAGE_TARNAME="libao" -DPACKAGE_VERSION="1.0.0" -DPACKAGE_STRING="libao\ 1.0.0" -DPACKAGE_BUGREPORT="monty@xiph.org" -DPACKAGE="libao" -DVERSION="1.0.0" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -DHAVE_LIBPTHREAD=1 -DDLOPEN_FLAG=(RTLD_LAZY) -DSHARED_LIB_EXT=".so" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I../../../include/ao -I../../../include -DAO_SYSTEM_CONFIG='"/sw/etc/libao.conf"' -I/sw/include -D__NO_MATH_INLINES -fsigned-char -g -O2 -DAO_BUILDING_LIBAO -c -o ao_macosx.lo ao_macosx.c libtool: compile: gcc -DPACKAGE_NAME="libao" -DPACKAGE_TARNAME="libao" -DPACKAGE_VERSION="1.0.0" "-DPACKAGE_STRING="libao 1.0.0"" -DPACKAGE_BUGREPORT="monty@xiph.org" -DPACKAGE="libao" -DVERSION="1.0.0" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -DHAVE_DLFCN_H=1 -DHAVE_DLOPEN=1 -DHAVE_LIBPTHREAD=1 "-DDLOPEN_FLAG=(RTLD_LAZY)" -DSHARED_LIB_EXT=".so" -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -I. -I. -I../../../include/ao -I../../../include -DAO_SYSTEM_CONFIG="/sw/etc/libao.conf" -I/sw/include -D__NO_MATH_INLINES -fsigned-char -g -O2 -DAO_BUILDING_LIBAO -c ao_macosx.c -fno-common -DPIC -o .libs/ao_macosx.o ao_macosx.c:74: error: syntax error before 'AudioComponentInstance'

The attached patch fixes this issue. It might even restore compatibility with 10.4, but I cannot test that right now (but will try to find out).

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: xiph/libao#1667