[gephex-user] Compilation problem on amd64
Erwan Lerale
erwan at thiscow.fr
Tue Aug 21 21:37:59 CEST 2007
Hello,
I'm trying to compile gephex-0.4.4 on gentoo amd64.
The ebuild is a modified version of the one included in gentoo
(gephex-0.4.3.ebuild).
The only modifications are :
* cp gephex-0.4.3.ebuild gephex-0.4.4.ebuild
* add :
- inherit flag-o-matic
- if use amd64 ; then
append-flags -fPIC
fi
(in src_compile())
Here is the result of the compilation :
[...]
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..
-I./../../../engine/src/engine -I./../../../util/include
-I./../../../types/src/stringtype -I./../../../types/src/framebuffertype
-I./../../../types/src/numbertype -I./../../../modules/src/libscale
-I../../../contrib/ffmpeg/libavcodec
-I../../../contrib/ffmpeg/libavformat
-I../../../contrib/ffmpeg/libavutil -O2 -pipe -march=k8 -fPIC -MT
ffmpegoutmodule.lo -MD -MP -MF .deps/ffmpegoutmodule.Tpo -c
ffmpegoutmodule.cpp -fPIC -DPIC -o .libs/ffmpegoutmodule.o
../../../contrib/ffmpeg/libavutil/common.h:96: error: conflicting
declaration 'typedef long long int int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:198: error: 'int64_t' has
a previous declaration as 'typedef long int int64_t'
../../../contrib/ffmpeg/libavutil/common.h:97: error: conflicting
declaration 'typedef long long unsigned int uint64_t'
/usr/include/gentoo-multilib/amd64/stdint.h:56: error: 'uint64_t' has a
previous declaration as 'typedef long unsigned int uint64_t'
../../../contrib/ffmpeg/libavformat/avformat.h:249: warning: 'AVFrac' is
deprecated (declared at ../../../contrib/ffmpeg/libavformat/avformat.h:102)
../../../contrib/ffmpeg/libavformat/avformat.h:381: warning: attribute
ignored in declaration of 'struct AVInputImageContext'
../../../contrib/ffmpeg/libavformat/avformat.h:381: warning: attribute
for 'struct AVInputImageContext' must follow the 'struct' keyword
../../../contrib/ffmpeg/libavformat/avformat.h:405: warning:
'AVImageInfo' is deprecated (declared at
../../../contrib/ffmpeg/libavformat/avformat.h:390)
[...]
Thanks for your help
r1
More information about the gephex-user
mailing list