Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th October 2012, 02:27 AM
ryanvade's Avatar
ryanvade Offline
Registered User
 
Join Date: Aug 2012
Location: near St.louis Mo
Posts: 37
linuxfirefox
Problem compiling gcc4.4 on fedora 17.

Hello
I am having problems compiling gcc4.4 on my fedora 17 install. Here is what the problem is:
Code:
./.libs/libgcj.so: undefined reference to `__cxa_call_unexpected'
collect2: ld returned 1 exit status
I found http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50888 that kinda explains it. I don't really understand what to change though.

Can Anyone help me?
Reply With Quote
  #2  
Old 4th October 2012, 09:30 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Problem compiling gcc4.4 on fedora 17.

This is a linker error and not a compiler error.

Try to link it against -lstdc++ which includes the symbol.

Code:
strings /usr/lib/libstdc++.so.6.0.16 | grep -i __cxa_call_unexpected
Reply With Quote
  #3  
Old 4th October 2012, 10:31 PM
ryanvade's Avatar
ryanvade Offline
Registered User
 
Join Date: Aug 2012
Location: near St.louis Mo
Posts: 37
linuxfirefox
Re: Problem compiling gcc4.4 on fedora 17.

so This:

Code:
strings /usr/lib64/libstdc++.so.6.0.17 | grep -i __cxa_call_unexpected
Code:
__cxa_call_unexpected


---------- Post added at 04:31 PM ---------- Previous post was at 03:32 PM ----------

That Worked. Thanks.
Can you look at this as well?
http://forums.fedoraforum.org/showthread.php?t=283603
Reply With Quote
  #4  
Old 4th October 2012, 10:34 PM
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 54
Posts: 12,376
linuxfirefox
Re: Problem compiling gcc4.4 on fedora 17.

Wouldn't it be easier to go here: http://koji.fedoraproject.org/koji/p...o?packageID=40 locate the gcc 4.4 rpms you need, dwonload and install them?
Whatever the version tag is, shouldn't matter.

Most versions of gcc need extensive tweaking (patching) to be successfully compiled, so if you solve this one issue, there are likely to be several others as well.

PHP Code:
# yum localinstall --nogpgcheck *.rpm 
__________________
Registered Linux User: #384977
.................................................. ............
See the Links below for more Help and those much wanted extras ... :)
Reply With Quote
  #5  
Old 5th October 2012, 05:30 AM
ryanvade's Avatar
ryanvade Offline
Registered User
 
Join Date: Aug 2012
Location: near St.louis Mo
Posts: 37
linuxfirefox
Re: Problem compiling gcc4.4 on fedora 17.

yes I could do that too. Do you think it would fix the second problem?

---------- Post added at 06:35 PM ---------- Previous post was at 05:18 PM ----------

The
Code:
strings /usr/lib64/libstdc++.so.6.0.17 | grep -i __cxa_call_unexpected
didn't work.
I'm going to try to use a pre compiled version...

---------- Post added at 06:42 PM ---------- Previous post was at 06:35 PM ----------

Code:
$ sudo  yum localinstall --nogpgcheck *.rpm  
Loaded plugins: langpacks, presto, refresh-packagekit
Examining gcc-4.4.4-10.fc12.x86_64.rpm: gcc-4.4.4-10.fc12.x86_64
gcc-4.4.4-10.fc12.x86_64.rpm: does not update installed package.
Nothing to do
Back to compiling...

---------- Post added at 06:45 PM ---------- Previous post was at 06:42 PM ----------

Here is how I'm going to compile.
Code:
/home/ryan/source/configure --prefix=/usr/local/gcc447 \--program-suffix=-4.4 --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu  --enable-languages=c,c++


---------- Post added at 07:02 PM ---------- Previous post was at 06:45 PM ----------

I just found out that Cuda 5 can use gcc 4.6.1. I'm going to compile it.

---------- Post added at 11:30 PM ---------- Previous post was at 07:02 PM ----------

I keep getting this:
Code:
checking for the correct version of the gmp/mpfr/mpc libraries... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
I downloaded and installed gmp mpc and mpfr and that didn't fix it.
Reply With Quote
Reply

Tags
compiling, fedora, gcc44, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem compiling marlin - is this a fedora bug? angrymadcat Using Fedora 1 15th October 2011 05:28 AM
Problem while compiling NS2/ fedora 11 DoSoo Using Fedora 0 30th January 2010 06:51 PM
Problem with compiling apache Fedora 5 aldoh Using Fedora 2 15th November 2006 10:10 PM
gcc compiling problem using Fedora C3 agenol Using Fedora 2 8th June 2005 10:01 PM


Current GMT-time: 12:57 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat