[GH-ISSUE #17] ffmpeg failed to compile on ubuntu17.10 #10

Open
opened 2026-10-30 22:07:20 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @cold1746 on GitHub (Nov 21, 2017).
Original GitHub issue: https://github.com/lutris/ffmpeg-nvenc/issues/17

I'm trying to install ffmpeg on a ubuntu 17.10
i follwed the the steps https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu given in the link

while running make

LD ffmpeg_g LD ffplay_g LD ffprobe_g LD ffserver_g /usr/bin/ld: /home/pas/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: /home/pas/ffmpeg_build/lib/libvpx.a(highbd_subpel_variance_impl_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:107: recipe for target 'ffserver_g' failed make: *** [ffserver_g] Error 1 make: *** Waiting for unfinished jobs.... /usr/bin/ld: /home/pas/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: /home/pas/ffmpeg_build/lib/libvpx.a(highbd_subpel_variance_impl_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:107: recipe for target 'ffplay_g' failed make: *** [ffplay_g] Error 1 /usr/bin/ld: /home/pas/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: /home/pas/ffmpeg_build/lib/libvpx.a(highbd_subpel_variance_impl_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:107: recipe for target 'ffmpeg_g' failed make: *** [ffmpeg_g] Error 1 /usr/bin/ld: /home/pas/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: /home/pas/ffmpeg_build/lib/libvpx.a(highbd_subpel_variance_impl_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:107: recipe for target 'ffprobe_g' failed
make: *** [ffprobe_g] Error 1

`
this error is shown.kindly share your views to solve the issue

Originally created by @cold1746 on GitHub (Nov 21, 2017). Original GitHub issue: https://github.com/lutris/ffmpeg-nvenc/issues/17 I'm trying to install ffmpeg on a ubuntu 17.10 i follwed the the steps [https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu](url) given in the link while running make ` LD ffmpeg_g LD ffplay_g LD ffprobe_g LD ffserver_g /usr/bin/ld: /home/pas/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: /home/pas/ffmpeg_build/lib/libvpx.a(highbd_subpel_variance_impl_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:107: recipe for target 'ffserver_g' failed make: *** [ffserver_g] Error 1 make: *** Waiting for unfinished jobs.... /usr/bin/ld: /home/pas/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: /home/pas/ffmpeg_build/lib/libvpx.a(highbd_subpel_variance_impl_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:107: recipe for target 'ffplay_g' failed make: *** [ffplay_g] Error 1 /usr/bin/ld: /home/pas/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: /home/pas/ffmpeg_build/lib/libvpx.a(highbd_subpel_variance_impl_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:107: recipe for target 'ffmpeg_g' failed make: *** [ffmpeg_g] Error 1 /usr/bin/ld: /home/pas/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: /home/pas/ffmpeg_build/lib/libvpx.a(highbd_subpel_variance_impl_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:107: recipe for target 'ffprobe_g' failed make: *** [ffprobe_g] Error 1 ` this error is shown.kindly share your views to solve the issue
Author
Owner

@strycore commented on GitHub (Nov 28, 2017):

Tried re-building with the script and got no error at build time.

<!-- gh-comment-id:347376453 --> @strycore commented on GitHub (Nov 28, 2017): Tried re-building with the script and got no error at build time.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lutris/ffmpeg-nvenc#10
No description provided.