I am trying to compile my code with the intel 7.0 compilers. I have two very large projects, on in C and one in C++. The project written in C compiles and runs wonderfully. In both cases, I am using the icc compiler to compile and link with following flags:
-DNDEBUG -O3 -rcd -tpp7 -axiMK -c99 -march=pentium4 -mcpu=pentium4
The programs and libraries in the C project compile, link and run just wonderfully. The programs in the C++ project compile and link without error, but I get the following error at run time:
./lereg2.exe: relocation error: ./lereg2.exe: undefined symbol: __intel_cpu_indicator
I have tried to explicitly link agaist the libirc.a file, but this does not seem to help (infact the compiler does not complain that it is missing).
Any help would be greatly appreciated.
Hans J. Johnson
relocation error: __intel_cpu_indicator