>
>> 
> It's hard to tell--what you've posted are _symptoms_ of the failure
> rather than the actuall failure (i.e. any failure at that point would
> give the same message).
> 
> Try posting starting from the last line that the compiler ran.
> 

Here it is for SDL.

SDL_coreaudio.c:28:33: error: AudioUnit/AudioUnit.h: No such file or
directory
In file included from SDL_coreaudio.c:40:
SDL_coreaudio.h:37: error: parse error before 'AudioUnit'
SDL_coreaudio.h:37: warning: no semicolon at end of struct or union
SDL_coreaudio.h:39: error: parse error before 'bufferOffset'
SDL_coreaudio.h:39: warning: type defaults to 'int' in declaration of
'bufferOffset'
SDL_coreaudio.h:39: warning: data definition has no type or storage class
SDL_coreaudio.h:40: error: parse error before 'bufferSize'
SDL_coreaudio.h:40: warning: type defaults to 'int' in declaration of
'bufferSize'
SDL_coreaudio.h:40: warning: data definition has no type or storage class
SDL_coreaudio.c: In function 'Audio_CreateDevice':
SDL_coreaudio.c:73: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:82: error: dereferencing pointer to incomplete type
SDL_coreaudio.c: At top level:
SDL_coreaudio.c:102: error: parse error before 'audioCallback'
SDL_coreaudio.c:103: error: parse error before 'AudioUnitRenderActionFlags'
SDL_coreaudio.c:107: warning: return type defaults to 'int'
SDL_coreaudio.c: In function 'audioCallback':
SDL_coreaudio.c:108: error: 'inRefCon' undeclared (first use in this
function)
SDL_coreaudio.c:108: error: (Each undeclared identifier is reported only
once
SDL_coreaudio.c:108: error: for each function it appears in.)
SDL_coreaudio.c:109: error: 'UInt32' undeclared (first use in this function)
SDL_coreaudio.c:109: error: parse error before 'remaining'
SDL_coreaudio.c:114: error: 'ioData' undeclared (first use in this function)
SDL_coreaudio.c:124: error: 'remaining' undeclared (first use in this
function)
SDL_coreaudio.c:127: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:127: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:129: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:129: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:132: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:132: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:134: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:137: error: 'len' undeclared (first use in this function)
SDL_coreaudio.c:137: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:137: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:140: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:140: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:143: error: dereferencing pointer to incomplete type
SDL_coreaudio.c: In function 'Core_CloseAudio':
SDL_coreaudio.c:167: error: 'OSStatus' undeclared (first use in this
function)
SDL_coreaudio.c:167: error: parse error before 'result'
SDL_coreaudio.c:168: error: storage size of 'callback' isn't known
SDL_coreaudio.c:171: error: 'result' undeclared (first use in this function)
SDL_coreaudio.c:171: warning: implicit declaration of function
'AudioOutputUnitStop'
SDL_coreaudio.c:171: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:172: error: 'noErr' undeclared (first use in this function)
SDL_coreaudio.c:180: warning: implicit declaration of function
'AudioUnitSetProperty'
SDL_coreaudio.c:180: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:181: error: 'kAudioUnitProperty_SetInputCallback' undeclared
(first use in this function)
SDL_coreaudio.c:182: error: 'kAudioUnitScope_Input' undeclared (first use in
this function)
SDL_coreaudio.c:191: warning: implicit declaration of function
'CloseComponent'
SDL_coreaudio.c:191: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:197: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:168: warning: unused variable 'callback'
SDL_coreaudio.c: In function 'Core_OpenAudio':
SDL_coreaudio.c:209: error: 'OSStatus' undeclared (first use in this
function)
SDL_coreaudio.c:209: error: parse error before 'result'
SDL_coreaudio.c:210: error: 'Component' undeclared (first use in this
function)
SDL_coreaudio.c:211: error: 'ComponentDescription' undeclared (first use in
this function)
SDL_coreaudio.c:212: error: storage size of 'callback' isn't known
SDL_coreaudio.c:213: error: 'AudioStreamBasicDescription' undeclared (first
use in this function)
SDL_coreaudio.c:213: error: parse error before 'requestedDesc'
SDL_coreaudio.c:216: error: 'requestedDesc' undeclared (first use in this
function)
SDL_coreaudio.c:216: error: 'kAudioFormatLinearPCM' undeclared (first use in
this function)
SDL_coreaudio.c:217: error: 'kLinearPCMFormatFlagIsPacked' undeclared (first
use in this function)
SDL_coreaudio.c:223: error: 'kLinearPCMFormatFlagIsSignedInteger' undeclared
(first use in this function)
SDL_coreaudio.c:225: error: 'kLinearPCMFormatFlagIsBigEndian' undeclared
(first use in this function)
SDL_coreaudio.c:233: error: 'desc' undeclared (first use in this function)
SDL_coreaudio.c:233: error: 'kAudioUnitComponentType' undeclared (first use
in this function)
SDL_coreaudio.c:234: error: 'kAudioUnitSubType_Output' undeclared (first use
in this function)
SDL_coreaudio.c:235: error: 'kAudioUnitID_DefaultOutput' undeclared (first
use in this function)
SDL_coreaudio.c:239: error: 'comp' undeclared (first use in this function)
SDL_coreaudio.c:239: warning: implicit declaration of function
'FindNextComponent'
SDL_coreaudio.c:246: error: 'result' undeclared (first use in this function)
SDL_coreaudio.c:246: warning: implicit declaration of function
'OpenAComponent'
SDL_coreaudio.c:246: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:247: error: 'noErr' undeclared (first use in this function)
SDL_coreaudio.c:249: warning: implicit declaration of function
'AudioUnitInitialize'
SDL_coreaudio.c:249: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:253: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:254: error: 'kAudioUnitProperty_StreamFormat' undeclared
(first use in this function)
SDL_coreaudio.c:255: error: 'kAudioUnitScope_Input' undeclared (first use in
this function)
SDL_coreaudio.c:264: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:265: error: 'kAudioUnitProperty_SetInputCallback' undeclared
(first use in this function)
SDL_coreaudio.c:276: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:276: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:277: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:277: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:278: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:281: warning: implicit declaration of function
'AudioOutputUnitStart'
SDL_coreaudio.c:281: error: dereferencing pointer to incomplete type
SDL_coreaudio.c:212: warning: unused variable 'callback'
make[3]: *** [SDL_coreaudio.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-sdl-1.2.9-1001
(Reading database ... 4305 files and directories currently installed.)
Removing fink-buildlock-sdl-1.2.9-1001 ...
Failed: phase compiling: sdl-1.2.9-1001 failed




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to