Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Praveen
Beginner
52 Views

Compiling error help

In linux FC 9
while trying to compile a program with this command

g++ -02 -DNDEBUG -m32 -o 1.cpp -ltbb

I got This

"/opt/intel/tbb/tbb20_020oss/em64t/cc4.1.0_libc2.4_kernel2.6.16.21/lib/libtbb.so: file not recognised : File Format Not recognised returned 1exit status "


What is this error Can any one please please help ?

Thanks in advance
0 Kudos
2 Replies
robert-reed
Valued Contributor II
52 Views

Quoting - Praveen
In linux FC 9
while trying to compile a program with this command

g++ -02 -DNDEBUG -m32 -o 1.cpp -ltbb

I got This

"/opt/intel/tbb/tbb20_020oss/em64t/cc4.1.0_libc2.4_kernel2.6.16.21/lib/libtbb.so: file not recognised : File Format Not recognised returned 1exit status "


What is this error Can any one please please help ?

Thanks in advance

I see an intent to compile a 32-bit program in the -m32 of the compilation line but the .so is coming from the em64t branch of the library installation. Is there an ia32 directory parallel to ./em64t/ ?
Praveen
Beginner
52 Views


I see an intent to compile a 32-bit program in the -m32 of the compilation line but the .so is coming from the em64t branch of the library installation. Is there an ia32 directory parallel to ./em64t/ ?
Ya thank you very much I got It.
Reply