discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0


From: Thomas Spuhler
Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
Date: Sat, 6 Nov 2010 16:05:14 -0700
User-agent: KMail/1.13.3 (Linux/2.6.33.7-desktop-2mnb; KDE/4.4.3; x86_64; ; )

On Saturday, November 06, 2010 02:23:20 pm Steve Mcmahon wrote:
> Hello Thomas Spuhler:
> 
> Yes, I would definitely be interested in your gcc 4.5 patch for Fedora.
> When you say patch, what do mean, it "fixes" gcc 4.5, or it "fixes" GNU
> Radio 3.3.0? Could you provide more explanation about this patch?
> 
> I guess I'm not sure about what people are saying on this issue regarding
> my problem building GNU Radio 3.3.0 on openSUSE 11.3 using gcc 4.5. Is it
> gcc-4.5's "fault" (a bug in gcc), or gnuradio-3.3.0's "fault" (a bug in
> gnuradio)?
> 
> One last question: Tom Rondeau mentioned that this issue will be fixed in
> GNU Radio 3.3.1. When is it expected to be released?
> 
> Thanks again for your help, everyone.
> 
> Steve McMahon
> 
> --- On Fri, 11/5/10, Thomas Spuhler <address@hidden> wrote:
> > From: Thomas Spuhler <address@hidden>
> > Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
> > To: address@hidden
> > Date: Friday, November 5, 2010, 12:52 AM
> > On Thursday, November 04, 2010
> > 
> > 02:35:32 pm Tom Rondeau wrote:
> > > On Thu, Nov 4, 2010 at 5:06 PM, Eric Blossom <address@hidden>
> > 
> > wrote:
> > > > On Thu, Nov 04, 2010 at 10:17:04AM -0700, Steve
> > 
> > Mcmahon wrote:
> > > >> It took me a while to get some time to go
> > 
> > back to my openSUSE 11.3
> > 
> > > >> machine and regenerate the error message.
> > 
> > Sorry, I should have done
> > 
> > > >> this when I made the initial post.
> > > >> 
> > > >> So I successfully installed the following
> > 
> > from source under openSUSE
> > 
> > > >> 11.3:
> > > >> 
> > > >> Cheetah-2.4.2.1.tar.gz
> > > >> Markdown-2.0.3.tar.gz
> > > >> cppunit-1.12.1.tar.gz
> > > >> fftw-3.2.2.tar.gz
> > > >> gsl-1.14.tar.gz
> > > >> numpy-1.4.1.tar.gz
> > > >> sdcc-2.9.0-i386-unknown-linux2.5.tar.bz2
> > > >> swig-1.3.40.tar.gz
> > > >> 
> > > >> Then I do a "./configure" for GNU Radio
> > 
> > 3.3.0, and it runs fine, and it
> > 
> > > >> reports it's going to build everything that I
> > 
> > need/that it should.
> > 
> > > >> However, when I do a "make", it runs for a
> > 
> > while, but then I get these
> > 
> > errors:
> > > > There's a much easier way to get where you're
> > 
> > headed.
> > 
> > > > Use the "master" branch in git.  I'm pretty
> > 
> > sure it has this problem
> > 
> > > > fixed.
> > > >
> > > >  http://www.gnuradio.org/redmine/wiki/gnuradio/Download
> > > >
> > > > Eric
> > > 
> > > I just tried compiling from maint, master, and next on
> > 
> > a new OpenSUSE
> > 
> > > 11.3 installation and all three compiled fine. It
> > 
> > fails from the
> > 
> > > tarball for GNU Radio 3.3.0.
> > > 
> > > So use one of the git versions for now. If you're on a
> > 
> > machine not
> > 
> > > connected, just git clone gnuradio (master is probably
> > 
> > the best branch
> > 
> > > to use) and tar it up to move it across to the other
> > 
> > computer. That
> > 
> > > should work for you.
> > > 
> > > When we get 3.3.1 out, this problem will be fixed.
> > > 
> > > Tom
> > > 
> > > _______________________________________________
> > > Discuss-gnuradio mailing list
> > > address@hidden
> > > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> > 
> > There is a patch for GCC4.5. I found it on Fedore. let me
> > know if you ned it

The patch makes it build with gcc4.5.1 but then it won't build with older gcc, 
You need to put an if statement into the spec file

http://pastebin.mandriva.com/21172
and the patch:

http://pastebin.mandriva.com/21173



-- 
Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]