[FFmpeg-user] GCC 5.1: build errors

Reindl Harald h.reindl at thelounge.net
Fri Sep 11 15:11:33 CEST 2015



Am 11.09.2015 um 15:02 schrieb Carl Eugen Hoyos:
> Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
>
>> $ configure --enable-lto --ar=gcc-ar --ranlib=true
>> or
>> $ configure --enable-shared --disable-static --enable-lto
>
> The following is also supposed to work, I
> don't remember if I ever tested it:
> $ configure --enable-lto --enable-shared --ar=gcc-ar --ranlib=true

(no, i won't remove the other flags)

STRIP   libavcodec/x86/hevc_sao.o
/home/builduser/rpmbuild/BUILD/ffmpeg-2.6.4/libswresample/x86/resample.asm:48: 
warning: section flags ignored on section redeclaration
STRIP   libswresample/x86/resample.o
STRIP   libavcodec/x86/vp8dsp_loopfilter.o
YASM    libswresample/x86/audio_convert.o
STRIP   libavcodec/x86/vp9intrapred.o
STRIP   libswresample/x86/audio_convert.o
YASM    libavcodec/x86/vp9lpf.o
/usr/bin/ld: /tmp/ccbEA4h7.ltrans1.ltrans.o: relocation R_X86_64_32S 
against `.rodata' can not be used when making a shared object; recompile 
with -fPIC
/tmp/ccbEA4h7.ltrans1.ltrans.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
/home/builduser/rpmbuild/BUILD/ffmpeg-2.6.4/library.mak:110: recipe for 
target 'libavutil/libavutil.so.54' failed
make: *** [libavutil/libavutil.so.54] Error 1
make: *** Waiting for unfinished jobs....
YASM    libavcodec/x86/hevc_mc.o
STRIP   libavcodec/x86/vp9lpf.o

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150911/70963a25/attachment.sig>


More information about the ffmpeg-user mailing list