Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324281 - media-sound/gejengel-0.1.3 fails to build with >=media-video/ffmpeg-0.6
Summary: media-sound/gejengel-0.1.3 fails to build with >=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: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ffmpeg-0.6
  Show dependency tree
 
Reported: 2010-06-16 12:49 UTC by Alexis Ballier
Modified: 2010-06-16 16:33 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 12:49:33 UTC
ibtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./src -DGEJENGEL_LOCALEDIR=\"/usr/share/locale\" -pthread -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=core2 -mssse3 -msse4.1 -O2 -pipe -ggdb -D_REENTRANT -c src/Utils/fileoperations.cpp -o libutils_la-fileoperations.o
make[2]: *** [libaudiodecoder_la-ffmpegdecoder.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/libavutil/avutil.h:81:0,
                 from /usr/include/libavcodec/avcodec.h:30,
                 from /usr/include/libavformat/avformat.h:56,
                 from src/AudioDecoder/ffmpegdecoder.h:34,
                 from src/AudioDecoder/audiodecoderfactory.cpp:41:
/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]: *** [libaudiodecoder_la-audiodecoderfactory.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/gejengel-0.1.3/work/gejengel-0.1.3'


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 Dirk Vanden Boer 2010-06-16 13:38:15 UTC
Release 0.1.4 already fixes this
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-06-16 16:33:27 UTC
Bumped to 0.1.4 which fixes this issue.

Thanks