Hi Alexander!

Am 04.09.2009 um 22:44 schrieb Alexander Hansen:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ralf Höling wrote:
>> Hi,
>>
>> when I try to install SDL I get the following error-message:
>>
>> ./src/audio/macosx/SDL_coreaudio.c:26:37: error: AudioUnit/
>> AUNTComponent.h: No such file or directory
>> ./src/audio/macosx/SDL_coreaudio.c: In function 'Core_CloseAudio':
>> ./src/audio/macosx/SDL_coreaudio.c:162: error: storage size of
>> 'callback' isn't known
>> ./src/audio/macosx/SDL_coreaudio.c:175: error:
>> 'kAudioUnitProperty_SetInputCallback' undeclared (first use in this
>> function)
>> ./src/audio/macosx/SDL_coreaudio.c:175: error: (Each undeclared
>> identifier is reported only once
>> ./src/audio/macosx/SDL_coreaudio.c:175: error: for each function it
>> appears in.)
>> ./src/audio/macosx/SDL_coreaudio.c: In function 'Core_OpenAudio':
>> ./src/audio/macosx/SDL_coreaudio.c:204: error: 'Component' undeclared
>> (first use in this function)
>> ./src/audio/macosx/SDL_coreaudio.c:204: error: expected ';' before
>> 'comp'
>> ./src/audio/macosx/SDL_coreaudio.c:205: error: 'ComponentDescription'
>> undeclared (first use in this function)
>> ./src/audio/macosx/SDL_coreaudio.c:205: error: expected ';' before
>> 'desc'
>> ./src/audio/macosx/SDL_coreaudio.c:206: error: storage size of
>> 'callback' isn't known
>> ./src/audio/macosx/SDL_coreaudio.c:227: error: 'desc' undeclared
>> (first use in this function)
>> ./src/audio/macosx/SDL_coreaudio.c:227: error:
>> 'kAudioUnitComponentType' undeclared (first use in this function)
>> ./src/audio/macosx/SDL_coreaudio.c:228: error:
>> 'kAudioUnitSubType_Output' undeclared (first use in this function)
>> ./src/audio/macosx/SDL_coreaudio.c:229: error:
>> 'kAudioUnitID_DefaultOutput' undeclared (first use in this function)
>> ./src/audio/macosx/SDL_coreaudio.c:233: error: 'comp' undeclared
>> (first use in this function)
>> ./src/audio/macosx/SDL_coreaudio.c:259: error:
>> 'kAudioUnitProperty_SetInputCallback' undeclared (first use in this
>> function)
>> make: *** [build/SDL_coreaudio.lo] Error 1
>> ### execution of ./configure failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-sdl-1.2.13-1
>> (Lese Datenbank ... 48918 Dateien und Verzeichnisse sind derzeit
>> installiert.)
>> Entferne fink-buildlock-sdl-1.2.13-1 ...
>> Failed: phase compiling: sdl-1.2.13-1 failed
>>
>> MacOS X 10.6, MBP Intel Core2Duo 2.33 GHz
>>
>> Can anyone help me?
>> Best regards
>>
>> Ralf
>>
>
> Can we see the compiler line just before the error occurs, for  
> context?
>
> - --
> Alexander Hansen
> Fink User Liaison
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkqhfD4ACgkQB8UpO3rKjQ95dQCglaxORBwFq2IOl86J6821xGGQ
> QisAmgPZOp2dMp3jsklCeo6yWGK6ICDa
> =MG+k
> -----END PGP SIGNATURE-----


This is the line before:

/bin/sh ./libtool --mode=compile gcc -g -O2 -I/sw/include -I./include - 
D_GNU_SOURCE=1 -DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX - 
fvisibility=hidden  -I/usr/X11R6/include -DXTHREADS -D_THREAD_SAFE - 
force_cpusubtype_ALL -fpascal-strings -c ./src/audio/macosx/ 
SDL_coreaudio.c  -o build/SDL_coreaudio.lo
  gcc -g -O2 -I/sw/include -I./include -D_GNU_SOURCE=1 - 
DTARGET_API_MAC_CARBON -DTARGET_API_MAC_OSX -fvisibility=hidden -I/usr/ 
X11R6/include -DXTHREADS -D_THREAD_SAFE -force_cpusubtype_ALL -fpascal- 
strings -c ./src/audio/macosx/SDL_coreaudio.c  -fno-common -DPIC -o  
build/.libs/SDL_coreaudio.o


Ralf
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to