LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 05-25-2004, 02:21 PM   #1
kmullin
LQ Newbie
 
Registered: May 2004
Posts: 2

Rep: Reputation: 0
Compile errors involving lstdc++


We're porting modules that successfully compile using the aCC compiler on a HP server. Now compiling in Linux using the gcc compiler (actually, the g++ commandis being used). We are getting the following errors, and don't know where they are coming from:

/usr/lib64/gcc-lib/s390x-suse-linux/3.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib64/libstdc++.so when searching for -lstdc++
/usr/lib64/gcc-lib/s390x-suse-linux/3.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib64/libstdc++.a when searching for -lstdc++
/usr/lib64/gcc-lib/s390x-suse-linux/3.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/lib64/gcc-lib/s390x-suse-linux/3.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/lib64/gcc-lib/s390x-suse-linux/3.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib64/libgcc_s.so when searching for -lgcc_s
/usr/lib64/gcc-lib/s390x-suse-linux/3.2/../../../../s390x-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc-lib/s390x-suse-linux/3.2/libgcc.a when searching for -lgcc
/usr/lib64/gcc-lib/s390x-suse-linux/3.2/../../../../s390x-suse-linux/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status

We have libstdc++ installed in /usr/lib, so I don't know what its complaining about lstdc++ in the above. Any help would be appreciated.
 
  


Reply


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
qt compile cannot find lstdc++ poboy975 Linux - Software 3 01-08-2005 02:03 PM
Question involving kernel compile synapse Slackware 2 04-28-2004 03:53 PM
g++ error lstdc++ develinux Programming 3 04-22-2004 01:50 PM
Installing Iperf >>cannot find -lstdc++!!!! RKris Linux - Software 1 12-16-2002 01:26 PM
Qt and lstdc++ Half_Elf Linux - Software 2 04-04-2002 03:20 PM


All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
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