Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 324323

Summary: net-libs/opal-3.6.7 fails to build against >=media-video/ffmpeg-0.6
Product: Gentoo Linux Reporter: Alexis Ballier <aballier>
Component: Current packagesAssignee: Mounir Lamouri (volkmar) (RETIRED) <volkmar>
Status: RESOLVED FIXED    
Severity: normal CC: voip+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 324255    

Description Alexis Ballier gentoo-dev 2010-06-16 15:48:48 UTC
[CC] h264pipe_unix.cxx
In file included from /usr/include/libavutil/avutil.h:81:0,
                 from /usr/include/libavcodec/avcodec.h:30,
                 from h264-x264.h:63,
                 from h264-x264.cxx:38:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154:47: error: ‘UINT64_C’ was not declared in this scope
In file included from /usr/include/libavutil/avutil.h:81:0,
                 from /usr/include/libavcodec/avcodec.h:30,
                 from ../common/dyna.h:68,
                 from ../common/dyna.cxx:40:
/usr/include/libavutil/common.h: In function ‘int32_t av_clipl_int32(int64_t)’:
/usr/include/libavutil/common.h:154:47: error: ‘UINT64_C’ was not declared in this scope
make[2]: *** [obj/dyna.o] Error 1


easy fix:

append-flags -D__STDC_CONSTANT_MACROS

(UINT64_C isnt standard in C++ unless this macro is defined, and ffmpeg headers
require it)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-06-21 12:47:58 UTC
+  21 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> opal-3.6.7.ebuild:
+  Fix building with FFmpeg >= 0.6 wrt #324323 by Alexis Ballier.