Building Unified Image Codec (UIC) sample code failing on Ubuntu

Submit New Article

September 5, 2009 9:00 PM PDT



When I build Unified Image Codec (UIC) sample code on Ubuntu 8.x system, the uic_transcoder_con application fails with the following report:

>./buildxx.sh
Building: Only UIC

......
******* uic_jpeg2000 PASSED
******* ipp_zlib PASSED
******* uic_png PASSED
******* uic_io PASSED
******* uic_transcoder_con FAILED {see log file for details}
......


The log file for uic_transcoder_con application (uic/_log/linuxxx_gccx/application/ uic_transcoder_con.log) includes the bellow errors:

......
/usr/bin/ld: /ipp-samples/image-codecs/uic/_bin/linux32_gcc4/bin/uic_transcoder_con: hidden symbol `__stack_chk_fail_local' in /usr/lib/libc_nonshared.a(stack_chk_fail_local.oS) is referenced by DSO
......


This problem happens with IPP release 6.1 update 1 release. It will be fixed in the future versions of Intel IPP release.
Users can use the following workaround to fix this problem.

Open the UIC Makefile (ipp-samples/image-codecs/uic/Makefile), at line 17,
Change:
CFLAGS = -Wall –fPIC
To:
CFLAGS = -Wall –fPIC -fno-stack-protector


Do you need more help?


This article applies to: Intel® Integrated Performance Primitives Knowledge Base