LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 01: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



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

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:09 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
Open Source Consulting | Domain Registration