Getting error while building opencv for arm64

asked 2017-01-04 23:57:01 -0500

Hi I am getting below error while building opencv for arm64 platform

ome/skonda/Downloads/gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/5.3.1/../../../../aarch64-linux-gnu/bin/ld: ../../3rdparty/lib/liblibjpeg.a(jerror.c.obj)(.text.output_message+0x14): unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol `stderr@@GLIBC_2.17' /home/skonda/Downloads/gcc-linaro-5.3.1-2016.05-x86_64_aarch64-linux-gnu/bin/../lib/gcc/aarch64-linux-gnu/5.3.1/../../../../aarch64-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/build.make:570: recipe for target 'lib/libopencv_imgcodecs.so' failed make[2]: * [lib/libopencv_imgcodecs.so] Error 1

edit retag flag offensive close merge delete

Comments

Hi. Did you figure out how to resolve this issue? Thank you.

ricms93 gravatar imagericms93 ( 2018-07-11 12:01:26 -0500 )edit