Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Compiling error help

Praveen
Beginner
432 Views
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
432 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/ ?
0 Kudos
Praveen
Beginner
432 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.
0 Kudos
Reply