LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-31-2008, 04:56 PM   #1
lucifer1987
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Rep: Reputation: 0
Compiling error with intel cpp compiler and open mp


counter.c(8): (col. 1) remark: OpenMP DEFINED REGION WAS PARALLELIZED.
ld: skipping incompatible /usr/lib/libm.so when searching for -lm
ld: skipping incompatible /usr/lib/libm.a when searching for -lm
ld: skipping incompatible /usr/bin/../lib/libm.so when searching for -lm
ld: skipping incompatible /usr/bin/../lib/libm.a when searching for -lm
ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
ld: skipping incompatible /usr/bin/../lib/libpthread.so when searching for -lpthread
ld: skipping incompatible /usr/bin/../lib/libpthread.a when searching for -lpthread
ld: skipping incompatible /usr/lib/libc.so when searching for -lc
ld: skipping incompatible /usr/lib/libc.a when searching for -lc
ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc
ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc
ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
ld: skipping incompatible /usr/bin/../lib/libdl.so when searching for -ldl
ld: skipping incompatible /usr/bin/../lib/libdl.a when searching for -ldl
ld: skipping incompatible /usr/lib/libc.so when searching for -lc
ld: skipping incompatible /usr/lib/libc.a when searching for -lc
ld: skipping incompatible /usr/bin/../lib/libc.so when searching for -lc
ld: skipping incompatible /usr/bin/../lib/libc.a when searching for -lc
ld: i386:x86-64 architecture of input file `/usr/lib/crt1.o' is incompatible with i386 output
ld: i386:x86-64 architecture of input file `/usr/lib/crti.o' is incompatible with i386 output
ld: i386:x86-64 architecture of input file `/usr/lib/crtn.o' is incompatible with i386 output

these are errors when i am compiling my source file . i can not find any solution please help me i am compiling an openmp source file a have project an i have to solve this problem till thursday.
i have an ubuntu 7.10 and intel cpp compiler 10.1.012
 
Old 03-31-2008, 06:33 PM   #2
Tischbein
Member
 
Registered: Oct 2006
Distribution: debian
Posts: 124

Rep: Reputation: 15
ld: i386:x86-64 architecture of input file `/usr/lib/crtn.o' is incompatible with i386

Ok, so we have a mix of 32 bit and 64 bit binaries. Can you tell us a little more about your project, e.g. can you confirm that you trying to build a 32 bit binary on a 64bit machine? Have you used that compiler before? If you write a hello world OpenMP program, does it work?

Good luck, Entenbein.
 
Old 04-01-2008, 11:49 AM   #3
lucifer1987
LQ Newbie
 
Registered: Feb 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Tischbein View Post
ld: i386:x86-64 architecture of input file `/usr/lib/crtn.o' is incompatible with i386

Ok, so we have a mix of 32 bit and 64 bit binaries. Can you tell us a little more about your project, e.g. can you confirm that you trying to build a 32 bit binary on a 64bit machine? Have you used that compiler before? If you write a hello world OpenMP program, does it work?

Good luck, Entenbein.
Actually it is an homework and we will multiple two matrices with openmp.
i tried hello world and it gave me the error. this is the first time i am using intel compiler and linux.
Thank you
 
  


Reply

Tags
compile, error, openmp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error in compiling a simple cpp prog.. nick021 Programming 10 05-25-2006 04:30 PM
problems with compiling kopete (/lib/cpp error) mac1234mac Programming 1 09-14-2005 01:26 PM
debian dpkg cpp depends on cpp error darkleaf Linux - Software 2 06-25-2004 01:47 AM
Intel Compiler ldconfig error glock27linux Linux - Software 0 12-30-2003 05:30 PM
/lip/cpp error when compiling mep]-[isto Linux - Newbie 1 12-22-2003 06:44 AM


All times are GMT -5. The time now is 03:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration