Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
7568 Discussions

ImageMagick Error

mb
Beginner
231 Views
Ever since i use the new ICC 8.1 (even tried the beta version 9), i get this error:
ld: utilities/.libs/compare: hidden symbol `vmldSin2' in /opt/intel/cc/9.0/lib/libsvml.a(svml_dsin2.o) is referenced by DSO
Any idea what this might be ? Thanks
0 Kudos
4 Replies
kevyn72
Beginner
231 Views

I am getting the same error.

I build my .so linking against libsvml.a and all seems fine.

Then, when I link my binary, I get this error.

If I try to link my binary without specifying libsvml.a, then the symbol "vmldSin2" is an undefined reference. Shouldn't it have been statically linked into my .so, given that I linked that against a .a?

Any idea how to fix it?

Thanks,

Kevyn

Quoc-An_L_Intel
Moderator
231 Views

Have you try using the compiler option:

9.1 compiler

-i-static, -i-dynamic

10.0 beta compiler

-static-intel, -shared-intel (replaces the 9.1 options)

Maximillia_D_Intel
231 Views

You may try adding -lsvml to your link flags. I ran into the same error except with the vmlsExp4 symbol and adding -lsvml seemed to do the trick.

Regards,

Max

TimP
Black Belt
231 Views
These references would not be generated if you didn't use one of the vectorization options when compiling ( -xW et al.) The same option will cause icc/icpc to pass -lsvml to ld automatically.
Reply