Ask Your Question

saik710's profile - activity

2017-01-05 06:00:52 -0500 asked a question Getting pthread related errors during opencv compilation for arm64

../lib/libopencv_core.so: undefined reference to pthread_mutexattr_destroy' ../../lib/libopencv_imgcodecs.so: undefined reference topthread_create' ../../lib/libopencv_imgcodecs.so: undefined reference to png_init_filter_functions_neon' ../../lib/libopencv_core.so: undefined reference topthread_mutex_trylock' ../../lib/libopencv_core.so: undefined reference to pthread_mutexattr_settype' ../../lib/libopencv_imgcodecs.so: undefined reference topthread_join' ../../lib/libopencv_core.so: undefined reference to `pthread_mutexattr_init' collect2: error: ld returned 1 exit status modules/core/CMakeFiles/opencv_test_core.dir/build.make:854: recipe for target 'bin/opencv_test_core' failed

2017-01-05 01:00:57 -0500 asked a question Getting error while building opencv for arm64

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