Daniel Macks wrote: > On Wed, Feb 11, 2009 at 10:19:23AM -0500, Alexander Hansen wrote: > >> 10.5.6/Intel/Xcode 3.1.2 >> I get the following at the end >> >> ... >> gcc -c -I./include -I./src/common -I./src/os/unix -Werror -g -O2 >> - -DPA_LITTLE_ENDIAN -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" >> - -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" >> - -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 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 >> - -DSIZEOF_LONG=4 -DHAVE_NANOSLEEP=1 -DPA_USE_COREAUDIO=1 >> src/hostapi/coreaudio/pa_mac_core.c -fno-common -DPIC -o >> src/hostapi/coreaudio/.libs/pa_mac_core.o >> cc1: warnings being treated as errors >> src/hostapi/coreaudio/pa_mac_core.c: In function 'AudioIOProc': >> src/hostapi/coreaudio/pa_mac_core.c:1901: warning: >> 'AudioConverterFillBuffer' is deprecated (declared at >> /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:639) >> src/hostapi/coreaudio/pa_mac_core.c:2070: warning: >> 'AudioConverterFillBuffer' is deprecated (declared at >> /System/Library/Frameworks/AudioToolbox.framework/Headers/AudioConverter.h:639) >> make: *** [src/hostapi/coreaudio/pa_mac_core.lo] Error 1 >> ... >> > > Last night I fixed portaudio2 to avoid building universal (was passing > universal flags even if universal sdks weren't present, etc). Looks > like the .u SDK was at the level of the original OS X majorversion > library, and since then (i.e., the live system) has moved on a bit. > "They're just warnings", so could edit the .patch to remove -Werror > and at least get it built. Or else try re-adding the > -mminimum-version=10.3 or whatever that flag is that got patched out > in the same .patch file. > > dan > > I went with the latter course: adding -mmacosx-version-min=10.3 back into the CFLAGS. That solves the problem.
-- Alexander Hansen Fink User Liaison ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
