Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6708 Discussions

Compilation Error, undefined reference to `pthread_atfork'

Vas_M_
Beginner
500 Views
I have a program that compiles in ia32 proccessor but when I'm trying to migrate to x86_64 I get the following error:
/opt/intel/ipp/5.0/em64t/sharedlib/libguide.so: undefined reference to `pthread_atfork'
I have changed all the paths to target the correct libraries and also migrated from 4.1 to 5.0, the same error occured with the previous version, but nothing has changed. Any ideas?
Thanks in advance Vas
0 Kudos
3 Replies
jziegler
Beginner
500 Views
I had a very similar problem, and resolved it by simply changing the order of included libraries. Make sure that -lpthread is listed after all IPP libraries on the link line.
0 Kudos
eren
Beginner
500 Views
The problem is that I'm not using this library at all. Soulrd I just add it?
0 Kudos
Vladimir_Dudnik
Employee
500 Views

You can at least try to, right? :)

Vladimir

0 Kudos
Reply