[FFmpeg-user] compilation error

William Morgan therealbrewer at gmail.com
Tue Nov 8 01:36:49 EET 2016


I'm using version 3.2 (using wget as shown on the compilation guide page)
and my configure line is exactly the same as on that page.

Here are the results of make V=1 ffmpeg:

bill at bill-desk:~/ffmpeg_sources/ffmpeg$ PATH="$HOME/bin:$PATH" make V=1
ffmpeg
gcc -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample
-Llibavutil -Llibpostproc -Llibswscale -Llibswresample
-L/home/bill/ffmpeg_build/lib  -Wl,--as-needed -Wl,-z,noexecstack
-Wl,--warn-common
-Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
  -o ffmpeg_g cmdutils.o ffmpeg_opt.o ffmpeg_filter.o ffmpeg.o
 ffmpeg_vaapi.o ffmpeg_vdpau.o -lavdevice -lavfilter -lavformat -lavcodec
-lpostproc -lswresample -lswscale -lavutil -ldl -lvdpau -lva -lva-drm -lva
-lva-x11 -lva -lxcb -lXau -lXdmcp -lxcb-shm -lxcb -lXau -lXdmcp
-lxcb-xfixes -lxcb-render -lxcb-shape -lxcb -lXau -lXdmcp -lxcb-shape -lxcb
-lXau -lXdmcp -lX11 -lasound -L/home/bill/ffmpeg_build/lib -lx265 -lstdc++
-lm -lrt -ldl -lx264 -lpthread -lm -ldl -lvpx -lvpx -lvorbisenc -lvorbis
-logg -ltheoraenc -ltheoradec -logg -lopus -lm -lmp3lame -lfreetype -lz
-lpng16 -lm -lz -lm -lfdk-aac -lm -lass -lm -lharfbuzz -lglib-2.0 -pthread
-lpcre -pthread -lgraphite2 -lfontconfig -lexpat -lfreetype -lexpat
-lfribidi -lfreetype -lz -lpng16 -lm -lz -lm -lm -lz -pthread
/usr/bin/ld:
/home/bill/ffmpeg_build/lib/libvpx.a(fwd_txfm_ssse3_x86_64.asm.o):
relocation R_X86_64_32 against `.rodata' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld:
/home/bill/ffmpeg_build/lib/libvpx.a(inv_txfm_ssse3_x86_64.asm.o):
relocation R_X86_64_32 against `.rodata' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld:
/home/bill/ffmpeg_build/lib/libvpx.a(quantize_ssse3_x86_64.asm.o):
relocation R_X86_64_32 against `.rodata' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld:
/home/bill/ffmpeg_build/lib/libvpx.a(subpel_variance_sse2.asm.o):
relocation R_X86_64_32 against `.rodata' can not be used when making a
shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:131: recipe for target 'ffmpeg_g' failed
make: *** [ffmpeg_g] Error 1









*Carl Eugen Hoyos* ceffmpeg at gmail.com
<ffmpeg-user%40ffmpeg.org?Subject=Re%3A%20%5BFFmpeg-user%5D%20compilation%20error&In-Reply-To=%3CCAB0OVGoUP0BEbjWiu_m5Ejjzz39%3DhpPTxOOY6BYpyvSc84KMsw%40mail.gmail.com%3E>
*Mon Nov 7 01:22:36 EET 2016*


   - Previous message (by thread): [FFmpeg-user] compilation error
   <http://ffmpeg.org/pipermail/ffmpeg-user/2016-November/034227.html>
   - Next message (by thread): [FFmpeg-user] HLS stream playing issue -
   Mobile Firefox Android
   <http://ffmpeg.org/pipermail/ffmpeg-user/2016-November/034225.html>
   - *Messages sorted by:* [ date ]
   <http://ffmpeg.org/pipermail/ffmpeg-user/2016-November/date.html#34231> [
   thread ]
   <http://ffmpeg.org/pipermail/ffmpeg-user/2016-November/thread.html#34231>
    [ subject ]
   <http://ffmpeg.org/pipermail/ffmpeg-user/2016-November/subject.html#34231>
    [ author ]
   <http://ffmpeg.org/pipermail/ffmpeg-user/2016-November/author.html#34231>

------------------------------

2016-11-06 18:47 GMT+01:00 William Morgan <therealbrewer at gmail.com
<http://ffmpeg.org/mailman/listinfo/ffmpeg-user>>:
>* I've been successfully using the guide at
*>* https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
<https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu> for a long
time, but
*>* recently have run into this compilation error during the "make" for ffmpeg.
*
Please provide the FFmpeg version you test (git log), your configure line
and run "make V=1 ffmpeg" twice and post the second run here.

Carl Eugen


More information about the ffmpeg-user mailing list