- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you compilinga 32-bit binary on a 64-bit system?
If so, set the environment for TBB to reference 32-bit libraries, by sourcing a tbbvars.sh (or csh) file from one of directories under linux/ia32 (and not em64t, which seems to be the default).
If so, set the environment for TBB to reference 32-bit libraries, by sourcing a tbbvars.sh (or csh) file from one of directories under linux/ia32 (and not em64t, which seems to be the default).
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you compilinga 32-bit binary on a 64-bit system?
If so, set the environment for TBB to reference 32-bit libraries, by sourcing a tbbvars.sh (or csh) file from one of directories under linux/ia32 (and not em64t, which seems to be the default).
If so, set the environment for TBB to reference 32-bit libraries, by sourcing a tbbvars.sh (or csh) file from one of directories under linux/ia32 (and not em64t, which seems to be the default).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Alexey Kukanov (Intel)
Are you compilinga 32-bit binary on a 64-bit system?
If so, set the environment for TBB to reference 32-bit libraries, by sourcing a tbbvars.sh (or csh) file from one of directories under linux/ia32 (and not em64t, which seems to be the default).
If so, set the environment for TBB to reference 32-bit libraries, by sourcing a tbbvars.sh (or csh) file from one of directories under linux/ia32 (and not em64t, which seems to be the default).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Alexey Kukanov (Intel)
Are you compilinga 32-bit binary on a 64-bit system?
If so, set the environment for TBB to reference 32-bit libraries, by sourcing a tbbvars.sh (or csh) file from one of directories under linux/ia32 (and not em64t, which seems to be the default).
If so, set the environment for TBB to reference 32-bit libraries, by sourcing a tbbvars.sh (or csh) file from one of directories under linux/ia32 (and not em64t, which seems to be the default).
Does the above processor belong to EM64t category?? If it belonged to that category then why did the above mentioned problem occur??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Praveen
I am Using Intel Pentium Dual CPU E2180 @ 2.00GHz. I thought it is EM64T. so i sourced that file in the EM64t Directory.
Does the above processor belong to EM64t category?? If it belonged to that category then why did the above mentioned problem occur??
Does the above processor belong to EM64t category?? If it belonged to that category then why did the above mentioned problem occur??
The -m32 option in command line tells that the resulting binary should be 32-bit. While the processor does support Intel 64 architecture (also known as EM64T), your operation system can be 32-bit, or else the compiler is configured to build 32-bit programs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Alexey Kukanov (Intel)
The -m32 option in command line tells that the resulting binary should be 32-bit. While the processor does support Intel 64 architecture (also known as EM64T), your operation system can be 32-bit, or else the compiler is configured to build 32-bit programs.
My OS is 32 bit. And the gcc i is not configured to build it.
Thank you once again for clearing that up
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page