On 10/06/2011 6:15 AM, Dominique Dhumieres wrote:
> On G5/10.5:
>
> Package manager version: 0.31.2
> Distribution version: selfupdate-rsync Thu Oct  6 11:37:48 2011, 10.5, powerpc
> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
> Xcode: 3.1.4
>
> building video-oct* fails with
>
> ...
> /sw/include/libavcodec/avcodec.h:525: warning: attribute ignored in 
> declaration of 'enum AVLPCType'
> /sw/include/libavcodec/avcodec.h:525: warning: attribute for 'enum AVLPCType' 
> must follow the 'enum' keyword
> AVHandler.cc: In destructor 'AVHandler::~AVHandler()':
> AVHandler.cc:69: warning: 'url_fclose' is deprecated (declared at 
> /sw/include/libavformat/avio.h:280)
> AVHandler.cc:69: warning: 'url_fclose' is deprecated (declared at 
> /sw/include/libavformat/avio.h:280)
> AVHandler.cc: In member function 'int AVHandler::setup_write()':
> AVHandler.cc:126: warning: 'av_set_parameters' is deprecated (declared at 
> /sw/include/libavformat/avformat.h:1407)
> AVHandler.cc:126: warning: 'av_set_parameters' is deprecated (declared at 
> /sw/include/libavformat/avformat.h:1407)
> AVHandler.cc:136: warning: 'url_fopen' is deprecated (declared at 
> /sw/include/libavformat/avio.h:279)
> AVHandler.cc:136: warning: 'url_fopen' is deprecated (declared at 
> /sw/include/libavformat/avio.h:279)
> AVHandler.cc:147: warning: 'av_write_header' is deprecated (declared at 
> /sw/include/libavformat/avformat.h:1465)
> AVHandler.cc:147: warning: 'av_write_header' is deprecated (declared at 
> /sw/include/libavformat/avformat.h:1465)
> AVHandler.cc: In member function 'int AVHandler::setup_read()':
> AVHandler.cc:156: warning: 'av_open_input_file' is deprecated (declared at 
> /sw/include/libavformat/avformat.h:1093)
> AVHandler.cc:156: warning: 'av_open_input_file' is deprecated (declared at 
> /sw/include/libavformat/avformat.h:1093)
> /sw/include/libavutil/common.h: In function 'int32_t 
> av_clipl_int32_c(int64_t)':
> /sw/include/libavutil/common.h:170: error: 'UINT64_C' was not declared in 
> this scope

 From the ffmpeg FAQ <http://ffmpeg.org/faq.html#SEC42>:

Libav is a pure C project using C99 math features, in order to enable 
C++ to use them you have to append -D__STDC_CONSTANT_MACROS to your CXXFLAGS

video-oct needs to be updated to pass that flag to the compiler.

Hanspeter

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Fink-users mailing list
[email protected]
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