errors installing libao
Yves de Champlain
yves at macports.org
Thu Nov 29 19:24:01 PST 2007
Hi
Try it again. I put CoreAudio back as default instead of AudioUnits.
yves
Le 07-11-29 à 12:57, JazzKartell a écrit :
> Hi,
>
> I just started using Darwinports and got some problems. I hope you
> can help me...
>
> I tried installing libao and get an error message. I think there
> are problems with building the paket.
>
> I am using leopard, perhaps that's the problem.
>
> Here is the message:
>
> ---> Building libao with target all
> Error: Target org.macports.build returned: shell command " cd "/opt/
> local/var/macports/build/
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_audio
> _libao/work/libao-0.8.6" && make all " returned error 2
> Command output: Making all in oss
> make[3]: Nothing to be done for `all'.
> Making all in esd
> make[3]: Nothing to be done for `all'.
> Making all in arts
> make[3]: Nothing to be done for `all'.
> Making all in alsa
> make[3]: Nothing to be done for `all'.
> Making all in alsa09
> make[3]: Nothing to be done for `all'.
> Making all in sun
> make[3]: Nothing to be done for `all'.
> Making all in irix
> make[3]: Nothing to be done for `all'.
> Making all in macosx
> if /bin/sh ../../../libtool --mode=compile gcc -DPACKAGE_NAME=\"\" -
> DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -
> DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libao\" -DVERSION=\"0.8.6\" -
> 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 -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 -I/opt/local/include -D__NO_MATH_INLINES -
> fsigned-char -O2 -MT ao_macosx.lo -MD -MP -MF ".deps/ao_macosx.Tpo"
> -c -o ao_macosx.lo ao_macosx.c; \
> then mv -f ".deps/ao_macosx.Tpo" ".deps/ao_macosx.Plo"; else rm -f
> ".deps/ao_macosx.Tpo"; exit 1; fi
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=
> \"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=
> \"libao\" -DVERSION=\"0.8.6\" -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 -
> 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 -I/opt/local/include -
> D__NO_MATH_INLINES -fsigned-char -O2 -MT ao_macosx.lo -MD -MP -
> MF .deps/ao_macosx.Tpo -c ao_macosx.c -fno-common -DPIC -o .libs/
> ao_macosx.o
> ao_macosx.c: In function 'ao_plugin_open':
> ao_macosx.c:227: error: storage size of 'callback' isn't known
> ao_macosx.c:248: error: 'kAudioUnitComponentType' undeclared (first
> use in this function)
> ao_macosx.c:248: error: (Each undeclared identifier is reported
> only once
> ao_macosx.c:248: error: for each function it appears in.)
> ao_macosx.c:249: error: 'kAudioUnitSubType_Output' undeclared
> (first use in this function)
> ao_macosx.c:250: error: 'kAudioUnitID_DefaultOutput' undeclared
> (first use in this function)
> ao_macosx.c:273: error: 'kAudioUnitProperty_SetInputCallback'
> undeclared (first use in this function)
> make[3]: *** [ao_macosx.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> Error: Status 1 encountered during processing.
>
> I hope. you can tell me, how i can fix the problem...
>
> Thank you very much
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
More information about the macports-users
mailing list