On Jan 8, 2014, at 3:26 AM, Giuliano Franchetti <g.franche...@gsi.de> wrote:

> Dear all, 
> 
> I have tried to compile ffmpeg in the Mavericks. The compilation fails on 
> libsndfile1-1.0.25-2.  
> I do not know what is the problem or how to solve it. 
> 
> Thanks for the help 
> 
>       Giuliano 
> 
> Below is the list of messages that appears on my screen: 
> 
> 
> .
> .
> .
> .
>   CC       sndfile-play.o
> In file included from sndfile-play.c:62:
> In file included from 
> /System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardware.h:83:
> In file included from 
> /System/Library/Frameworks/CoreAudio.framework/Headers/CoreAudioTypes.h:28:
> In file included from 
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:68:
> In file included from /Developer/Headers/FlatCarbon/MacTypes.h:1:
> In file included from 
> /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
> In file included from 
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:39:
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:49:1: 
> error: unknown type name 'CF_IMPLICIT_BRIDGING_ENABLED'
> CF_IMPLICIT_BRIDGING_ENABLED
> ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:50:18: 
> error: expected ';' after top level declarator
> CF_EXTERN_C_BEGIN
>                  ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:74:47: 
> error: unknown type name 'CFAllocatorRef'
> typedef const void *    (*CFArrayRetainCallBack)(CFAllocatorRef allocator, 
> const void *value);
>                                                  ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:75:41: 
> error: unknown type name 'CFAllocatorRef'
> typedef void            (*CFArrayReleaseCallBack)(CFAllocatorRef allocator, 
> const void *value);
>                                                   ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:76:21: 
> error: function cannot return function type 'int (const void *)'
> typedef CFStringRef     (*CFArrayCopyDescriptionCallBack)(const void *value);
>                         ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:77:18: 
> error: function cannot return function type 'int (const void *, const void *)'
> typedef Boolean         (*CFArrayEqualCallBack)(const void *value1, const 
> void *value2);
>                         ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:79:5: 
> error: unknown type name 'CFIndex'
>     CFIndex                             version;
>     ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:82:5: 
> error: unknown type name 'CFArrayCopyDescriptionCallBack'
>     CFArrayCopyDescriptionCallBack      copyDescription;
>     ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:83:5: 
> error: unknown type name 'CFArrayEqualCallBack'; did you mean 
> 'CFArrayRetainCallBack'?
>     CFArrayEqualCallBack                equal;
>     ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:74:24: 
> note: 'CFArrayRetainCallBack' declared here
> typedef const void *    (*CFArrayRetainCallBack)(CFAllocatorRef allocator, 
> const void *value);
>                           ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:91:1: 
> error: unknown type name 'CF_EXPORT'
> CF_EXPORT
> ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:92:1: 
> error: expected identifier or '('
> const CFArrayCallBacks kCFTypeArrayCallBacks;
> ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:120:1: 
> error: unknown type name 'CF_EXPORT'
> CF_EXPORT
> ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:121:9: 
> error: expected ';' after top level declarator
> CFTypeID CFArrayGetTypeID(void);
>         ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:173:1: 
> error: unknown type name 'CF_EXPORT'
> CF_EXPORT
> ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:174:11: 
> error: expected ';' after top level declarator
> CFArrayRef CFArrayCreate(CFAllocatorRef allocator, const void **values, 
> CFIndex numValues, const CFArrayCallBacks *callBacks);
>           ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:194:1: 
> error: unknown type name 'CF_EXPORT'
> CF_EXPORT
> ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:195:11: 
> error: expected ';' after top level declarator
> CFArrayRef CFArrayCreateCopy(CFAllocatorRef allocator, CFArrayRef theArray);
>           ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:238:1: 
> error: unknown type name 'CF_EXPORT'
> CF_EXPORT
> ^
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h:239:18: 
> error: expected ';' after top level declarator
> CFMutableArrayRef CFArrayCreateMutable(CFAllocatorRef allocator, CFIndex 
> capacity, const CFArrayCallBacks *callBacks);
>                  ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 20 errors generated.
> make[1]: *** [sndfile-play.o] Error 1
> make: *** [all-recursive] Error 1
> ### execution of make failed, exit code 2
> ### execution of /tmp/fink.mKUwV failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw3/bin/dpkg-lockwait -r fink-buildlock-libsndfile1-1.0.25-2
> (Reading database ... 155868 files and directories currently installed.)
> Removing fink-buildlock-libsndfile1-1.0.25-2 ...
> Failed: phase compiling: libsndfile1-1.0.25-2 failed
> 
> Before reporting any errors, please run "fink selfupdate" and try again.
> 
> If you continue to have issues, please check to see if the FAQ on Fink's 
> website solves the problem.  If not, ask on one (not both, please) of
> these mailing lists:
> 
>         The Fink Users List <fink-users@lists.sourceforge.net>
>         The Fink Beginners List <fink-beginn...@lists.sourceforge.net>,
> 
> with a carbon copy to the maintainer:
> 
>         Daniel Johnson <dan...@daniel-johnson.org>
> 
> Note that this is preferable to emailing just the maintainer directly,
> since most fink package maintainers do not have access to all possible
> hardware and software configurations.
> 
> Please try to include the complete error message in your report.  This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
> 
> Also include the following system information:
> Package manager version: 0.36.3.1
> Distribution version: selfupdate-rsync Wed Jan  8 00:02:15 2014, 10.9, x86_64
> Trees: local/main stable/main
> Xcode.app: 5.0.2
> Xcode command-line tools: 5.0.1.0.1.1382131676
> Max. Fink build jobs:  1
> 

This seems to be a common problem. You probably upgraded to 10.9 from an older 
OS and also had an older Xcode installed. It left a /Developer directory on 
your system, which shouldn't exist with Xcode 5. Try removing it and then try 
to build ffmpeg.

Daniel

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to