Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324323 - net-libs/opal-3.6.7 fails to build against >=media-video/ffmpeg-0.6
Summary: net-libs/opal-3.6.7 fails to build against >=media-video/ffmpeg-0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mounir Lamouri (volkmar) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-0.6
  Show dependency tree
 
Reported: 2010-06-16 15:48 UTC by Alexis Ballier
Modified: 2010-06-21 12:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.