This is actually a post from the IPP forum. I haven't had a response despite 60 people reading the post so I thought maybe someone on this forum would know the answer. I'm using Intel Compiler 11.1 on RedHat and trying to link to the IPP libraries. I'm very inexperienced with both Linux as well as operating the compiler from the command line (up until now all of my work has been Visual Studio based).
I'm having a hell-of-a-time getting the Intel compiler to link properly to the IPP *.a files. I've been successful doing this on my Windows machine using VS2008, but I ran into trouble when I moved over to Linux and ICC command line mode.
When I compile my project I get a bunch of errors all like "undefined reference to 'ippsSVD_64f_D2'", "undefined reference to 'ippmTranspose_64f;", etc. To try to remedy these errors I've done the following:
1) "export LD_LIBRARY_PATH=/opt/intel/Compiler/11.1/059/ipp/ia32/sharedlib:$LD_LIBRARY_PATH" in command line. This was from the IPP documentation.
2) Added the following to the compiler invocation statement:
I no longer get the "Cannot find file" errors, but now I'm getting errors of the following:
"/opt/intel/Compiler/11.1/059/ipp/ia32/lib/libippsrmerged.a(ippssvd_split_g9_ippsSVD_64f_D2_I.o): In function 'g9_ippsSVD_64f_D2_I': ippssvd_split_g9_ippsSVD_64f_D2_I.i:(text+0x6e): undefined reference to 'g9_ipp_sMalloc_64f' ippssvd_split_g9_ippsSVD_64f_D2_I.i:(.text+0x134d): undefined reference to 'g9_ippsFree' etc...
Anyone have any ideas what could be the problem? As always, thanks.