sroller icon

x264 linker error

sroller | PRO | 04/09/18 05:58:14 PM UTC | 0 ⭐ | 859 👁️ | Never ⏰ | []
text |

3.87 KB

|

None

|

0 👍

/

0 👎

gcc -o x264  x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o input/avs.o filters/video/cache-8.o filters/video/depth-8.o input/thread-8.o filters/video/cache-10.o filters/video/depth-10.o input/thread-10.o libx264.a -ldl  -m64  -lm -lpthread -ldl
/usr/bin/ld: libx264.a(cabac-a-8.o): relocation R_X86_64_32 against hidden symbol `x264_8_coeff_last16_sse2' can not be used when making a shared object
/usr/bin/ld: libx264.a(quant-a-8.o): relocation R_X86_64_32S against hidden symbol `x264_8_pb_01' can not be used when making a shared object
/usr/bin/ld: libx264.a(cabac-a-10.o): relocation R_X86_64_32 against hidden symbol `x264_10_coeff_last16_sse2' can not be used when making a shared object
/usr/bin/ld: libx264.a(quant-a-10.o): relocation R_X86_64_32S against hidden symbol `x264_10_pd_1' can not be used when making a shared object
/usr/bin/ld: libx264.a(dct-64-8.o): relocation R_X86_64_32S against hidden symbol `x264_8_hsub_mul' can not be used when making a shared object
/usr/bin/ld: libx264.a(trellis-64-8.o): relocation R_X86_64_32S against symbol `x264_cabac_entropy' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: libx264.a(dct-a-8.o): relocation R_X86_64_32S against hidden symbol `x264_8_pw_8000' can not be used when making a shared object
/usr/bin/ld: libx264.a(deblock-a-8.o): relocation R_X86_64_32S against hidden symbol `x264_8_pb_1' can not be used when making a shared object
/usr/bin/ld: libx264.a(mc-a-8.o): relocation R_X86_64_32S against hidden symbol `x264_8_pw_64' can not be used when making a shared object
/usr/bin/ld: libx264.a(mc-a2-8.o): relocation R_X86_64_32S against hidden symbol `x264_8_pw_32' can not be used when making a shared object
/usr/bin/ld: libx264.a(pixel-a-8.o): relocation R_X86_64_32S against hidden symbol `x264_8_pw_00ff' can not be used when making a shared object
/usr/bin/ld: libx264.a(predict-a-8.o): relocation R_X86_64_32S against hidden symbol `x264_8_pb_1' can not be used when making a shared object
/usr/bin/ld: libx264.a(sad-a-8.o): relocation R_X86_64_32S against hidden symbol `x264_8_pw_8' can not be used when making a shared object
/usr/bin/ld: libx264.a(dct-64-10.o): relocation R_X86_64_32S against hidden symbol `x264_10_pd_32' can not be used when making a shared object
/usr/bin/ld: libx264.a(trellis-64-10.o): relocation R_X86_64_32S against symbol `x264_cabac_entropy' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: libx264.a(dct-a-10.o): relocation R_X86_64_32S against hidden symbol `x264_10_pd_1' can not be used when making a shared object
/usr/bin/ld: libx264.a(deblock-a-10.o): relocation R_X86_64_32S against hidden symbol `x264_10_pw_4' can not be used when making a shared object
/usr/bin/ld: libx264.a(mc-a-10.o): relocation R_X86_64_32S against hidden symbol `x264_10_pd_32' can not be used when making a shared object
/usr/bin/ld: libx264.a(mc-a2-10.o): relocation R_X86_64_32S against hidden symbol `x264_10_pw_pixel_max' can not be used when making a shared object
/usr/bin/ld: libx264.a(pixel-a-10.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: libx264.a(predict-a-10.o): relocation R_X86_64_32S against hidden symbol `x264_10_pw_1' can not be used when making a shared object
/usr/bin/ld: libx264.a(sad16-a-10.o): relocation R_X86_64_32S against hidden symbol `x264_10_pw_1' can not be used when making a shared object
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:263: recipe for target 'x264' failed
make: *** [x264] Error 1

Comments