Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Compiling error help

Praveen
Beginner
155 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
155 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
155 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