Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
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 tho...@btspuhler.com wrote: From: Thomas Spuhler tho...@btspuhler.com Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: discuss-gnuradio@gnu.org 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 e...@comsec.com 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 Discuss-gnuradio@gnu.org 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 -- Thomas ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
Hello: Thanks for your reply, Tom Rondeau. 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)? I don't think I'm understanding the source of my problem correctly. Is my issue that gcc 4.5 cannot properly compile Boost 1.42, and that I need to use newer version of Boost with gcc-4.5, or is it that gnuradio-3.3.0 uses a C++ construct not supported in gcc-4.5, or is it a bug in gcc-4.5, or what? I am debating which work-around is easier for me: either install gcc-4.4.4 alongside gcc-4.5 on my openSUSE 11.3 machine and re-try gnuradio 3.3.0; or to download one of the Git versions (maint, master, or next) of gnuradio and re-try with gcc-4.5. Tom Rondeau mentioned that this issue will be fixed in GNU Radio 3.3.1. When is it expected to be released? Thanks a lot for your help everyone. Steve McMahon --- On Thu, 11/4/10, Tom Rondeau trondeau1...@gmail.com wrote: From: Tom Rondeau trondeau1...@gmail.com Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Eric Blossom e...@comsec.com, Steve Mcmahon steve.mcmaho...@yahoo.com, Tom Rondeau trondeau1...@gmail.com, discuss-gnuradio@gnu.org Date: Thursday, November 4, 2010, 9:35 PM On Thu, Nov 4, 2010 at 5:06 PM, Eric Blossom e...@comsec.com 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 Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
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 tho...@btspuhler.com wrote: From: Thomas Spuhler tho...@btspuhler.com Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: discuss-gnuradio@gnu.org 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 e...@comsec.com 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 Discuss-gnuradio@gnu.org 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 ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
On Sat, Nov 06, 2010 at 02:34:35PM -0700, Steve Mcmahon wrote: Hello: Thanks for your reply, Tom Rondeau. 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)? I don't think I'm understanding the source of my problem correctly. Is my issue that gcc 4.5 cannot properly compile Boost 1.42, and that I need to use newer version of Boost with gcc-4.5, or is it that gnuradio-3.3.0 uses a C++ construct not supported in gcc-4.5, or is it a bug in gcc-4.5, or what? I don't know about any boost/gcc problem. However we did fix a bug in GNU Radio on 2010-08-04 in changeset d2888160c3fca8da2 that was for gcc 4.5.0 compatibility. The diff is attached. Eric diff --git a/usrp2/host/lib/usrp2.cc b/usrp2/host/lib/usrp2.cc index f0ee564..0842482 100644 --- a/usrp2/host/lib/usrp2.cc +++ b/usrp2/host/lib/usrp2.cc @@ -38,9 +38,9 @@ namespace usrp2 { struct usrp_table_entry { // inteface + normalized mac addr (eth0:01:23:45:67:89:ab) std::stringkey; -boost::weak_ptrusrp2::usrp2 value; +boost::weak_ptrusrp2 value; -usrp_table_entry(const std::string _key, boost::weak_ptrusrp2::usrp2 _value) +usrp_table_entry(const std::string _key, boost::weak_ptrusrp2 _value) : key(_key), value(_value) {} }; @@ -70,7 +70,7 @@ namespace usrp2 { // We don't have the USRP2 we're looking for // create a new one and stick it in the table. -usrp2::sptr r(new usrp2::usrp2(ifc, pr, rx_bufsize)); +usrp2::sptr r(new usrp2(ifc, pr, rx_bufsize)); usrp_table_entry t(key, r); s_table.push_back(t); ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
to run specifically openSUSE 11.3. Any help would be very much appreciated. Thanks!! Steve McMahon --- On Sun, 10/17/10, Tom Rondeau trondeau1...@gmail.com wrote: From: Tom Rondeau trondeau1...@gmail.com Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Steve Mcmahon steve.mcmaho...@yahoo.com Cc: Gregor Dschung dsch...@cs.uni-kl.de, discuss-gnuradio@gnu.org Date: Sunday, October 17, 2010, 10:16 PM On Wed, Oct 13, 2010 at 10:28 PM, Steve Mcmahon steve.mcmaho...@yahoo.com wrote: Gregor: Thanks for your reply. I have never installed a second version of gcc on a Linux machine before. How can I install gcc 4.4.4 in /opt so that it exists alongside the gcc 4.5.0 that comes packaged with openSUSE 11.3?? My machine is in a lab, and does not have a connection to the internet, so I would have to download packages and put them on a USB pen drive and walk them to the machine. Your help is greatly appreciated. Thanks. Steve McMahon Providing us with some kind of error message could help us help you. Tom --- On Tue, 10/12/10, Gregor Dschung dsch...@cs.uni-kl.de wrote: From: Gregor Dschung dsch...@cs.uni-kl.de Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Steve Mcmahon steve.mcmaho...@yahoo.com Cc: discuss-gnuradio@gnu.org Date: Tuesday, October 12, 2010, 11:49 PM Hi, 3.3.0 stable doesn't compile under openSUSE 11.3 with gcc 4.5.0. But installing gcc43 and gcc43-c++ (and using them... just set the appropriate environment variables) did the job for me. The last time I compiled the git branch under openSUSE was 2 months ago. At this time, gcc45 didn't work for this branch, too. Maybe, this changed in the meantime. Gregor 2010/10/12 Philip Balister phi...@balister.org: On 10/12/2010 12:04 PM, Steve Mcmahon wrote: I am trying to compile GNU Radio 3.3.0 under openSuse 11.3, which uses gcc 4.5.0. I have all the dependencies built and resolved, but when I compile GNU Radio 3.3.0, I get errors. It seems that GNU Radio does not compile successfully with the new gcc 4.5.0, although I know it compiles with gcc 4.4.1 on openSuse 11.2. However, I specifically need to run openSuse 11.3 for my application. How, exactly, can I get GNU Radio 3.3.0 to build under gcc 4.5.0? Will the next release of GNU Radio address this? Is there a compiler flag I can use, or a quick-and-easy hack to the GNU Radio code? What is the problem with gcc 4.5.0? Thank you very much for your help on this issue. I really appreciate it. I am building gnuradio from git (next branch) on gcc 4.5 and am not having any gcc issues. Philip Steve McMahon ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
]’: usrp2.cc:73:56: instantiated from here /usr/include/boost/smart_ptr/shared_ptr.hpp:187:50: error: cannot convert ‘int*’ to ‘usrp2::usrp2*’ in initialization make[4]: *** [usrp2.lo] Error 1 make[4]: Leaving directory `/opt/pkgs/gnuradio-3.3.0/usrp2/host/lib' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/opt/pkgs/gnuradio-3.3.0/usrp2/host' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/pkgs/gnuradio-3.3.0/usrp2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/pkgs/gnuradio-3.3.0' make: *** [all] Error 2 It looks like a problem with the Boost library. I don't have this problem in openSUSE 11.2 (which bundles gcc 4.4.1 and Boost 1.39), but it is not working for me with openSUSE 11.3 (which bundles gcc 4.5.0 and Boost 1.42). On this particular machine, I need to run specifically openSUSE 11.3. Any help would be very much appreciated. Thanks!! Steve McMahon --- On Sun, 10/17/10, Tom Rondeau trondeau1...@gmail.com wrote: From: Tom Rondeau trondeau1...@gmail.com Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Steve Mcmahon steve.mcmaho...@yahoo.com Cc: Gregor Dschung dsch...@cs.uni-kl.de, discuss-gnuradio@gnu.org Date: Sunday, October 17, 2010, 10:16 PM On Wed, Oct 13, 2010 at 10:28 PM, Steve Mcmahon steve.mcmaho...@yahoo.com wrote: Gregor: Thanks for your reply. I have never installed a second version of gcc on a Linux machine before. How can I install gcc 4.4.4 in /opt so that it exists alongside the gcc 4.5.0 that comes packaged with openSUSE 11.3?? My machine is in a lab, and does not have a connection to the internet, so I would have to download packages and put them on a USB pen drive and walk them to the machine. Your help is greatly appreciated. Thanks. Steve McMahon Providing us with some kind of error message could help us help you. Tom --- On Tue, 10/12/10, Gregor Dschung dsch...@cs.uni-kl.de wrote: From: Gregor Dschung dsch...@cs.uni-kl.de Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Steve Mcmahon steve.mcmaho...@yahoo.com Cc: discuss-gnuradio@gnu.org Date: Tuesday, October 12, 2010, 11:49 PM Hi, 3.3.0 stable doesn't compile under openSUSE 11.3 with gcc 4.5.0. But installing gcc43 and gcc43-c++ (and using them... just set the appropriate environment variables) did the job for me. The last time I compiled the git branch under openSUSE was 2 months ago. At this time, gcc45 didn't work for this branch, too. Maybe, this changed in the meantime. Gregor 2010/10/12 Philip Balister phi...@balister.org: On 10/12/2010 12:04 PM, Steve Mcmahon wrote: I am trying to compile GNU Radio 3.3.0 under openSuse 11.3, which uses gcc 4.5.0. I have all the dependencies built and resolved, but when I compile GNU Radio 3.3.0, I get errors. It seems that GNU Radio does not compile successfully with the new gcc 4.5.0, although I know it compiles with gcc 4.4.1 on openSuse 11.2. However, I specifically need to run openSuse 11.3 for my application. How, exactly, can I get GNU Radio 3.3.0 to build under gcc 4.5.0? Will the next release of GNU Radio address this? Is there a compiler flag I can use, or a quick-and-easy hack to the GNU Radio code? What is the problem with gcc 4.5.0? Thank you very much for your help on this issue. I really appreciate it. I am building gnuradio from git (next branch) on gcc 4.5 and am not having any gcc issues. Philip Steve McMahon ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
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 ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
On Thu, Nov 4, 2010 at 5:06 PM, Eric Blossom e...@comsec.com 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 Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
On Thursday, November 04, 2010 02:35:32 pm Tom Rondeau wrote: On Thu, Nov 4, 2010 at 5:06 PM, Eric Blossom e...@comsec.com 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 Discuss-gnuradio@gnu.org 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 -- Thomas ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
Gregor: Thanks for your reply. Remember, however, that this openSUSE 11.3 machine I have does not have internet access; it's in a closed-room off the network. So I can't run zypper search gcc, and things like that. Is there a way I can separately download a *.tar.gz for gcc 4.4.4 using my other internet-connected computer, and then go onto my off-network machine and build it from source, install it in /opt, and then use it separately from the default gcc 4.5.0 that comes built-in with openSUSE 11.3? Any help is appreciated. Thanks. Steve McMahon --- On Fri, 10/15/10, Gregor Dschung dsch...@cs.uni-kl.de wrote: From: Gregor Dschung dsch...@cs.uni-kl.de Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Steve Mcmahon steve.mcmaho...@yahoo.com Cc: discuss-gnuradio@gnu.org Date: Friday, October 15, 2010, 8:23 AM You can install various gcc versions in parallel without problems. But I suggest to use the gcc from the repositories. Just search for it: zypper search gcc, and in your case, where the machine has no connection to the internet, just download the appropriate rpms from the openSUSE:11.3/standard-repository. http://software.opensuse.org/ is the right place for you. /usr/bin/gcc and /usr/bin/g++ are just symlinks to /usr/bin/gcc-4.5 and /usr/bin/g++-4.5 If you want to use a version different than the default, just change the symlinks (there are a few more... /usr/bin/c++, /usr/bin/cc). You should also consider to use update-alternatives ... just google for it. Or you set the environment variables ... Just for the package you want to compile: CC=/usr/bin/gcc-4.3 CXX=/usr/bin/g++-4.3 ./configure Gregor 2010/10/14 Steve Mcmahon steve.mcmaho...@yahoo.com: Gregor: Thanks for your reply. I have never installed a second version of gcc on a Linux machine before. How can I install gcc 4.4.4 in /opt so that it exists alongside the gcc 4.5.0 that comes packaged with openSUSE 11.3?? My machine is in a lab, and does not have a connection to the internet, so I would have to download packages and put them on a USB pen drive and walk them to the machine. Your help is greatly appreciated. Thanks. Steve McMahon --- On Tue, 10/12/10, Gregor Dschung dsch...@cs.uni-kl.de wrote: From: Gregor Dschung dsch...@cs.uni-kl.de Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Steve Mcmahon steve.mcmaho...@yahoo.com Cc: discuss-gnuradio@gnu.org Date: Tuesday, October 12, 2010, 11:49 PM Hi, 3.3.0 stable doesn't compile under openSUSE 11.3 with gcc 4.5.0. But installing gcc43 and gcc43-c++ (and using them... just set the appropriate environment variables) did the job for me. The last time I compiled the git branch under openSUSE was 2 months ago. At this time, gcc45 didn't work for this branch, too. Maybe, this changed in the meantime. Gregor 2010/10/12 Philip Balister phi...@balister.org: On 10/12/2010 12:04 PM, Steve Mcmahon wrote: I am trying to compile GNU Radio 3.3.0 under openSuse 11.3, which uses gcc 4.5.0. I have all the dependencies built and resolved, but when I compile GNU Radio 3.3.0, I get errors. It seems that GNU Radio does not compile successfully with the new gcc 4.5.0, although I know it compiles with gcc 4.4.1 on openSuse 11.2. However, I specifically need to run openSuse 11.3 for my application. How, exactly, can I get GNU Radio 3.3.0 to build under gcc 4.5.0? Will the next release of GNU Radio address this? Is there a compiler flag I can use, or a quick-and-easy hack to the GNU Radio code? What is the problem with gcc 4.5.0? Thank you very much for your help on this issue. I really appreciate it. I am building gnuradio from git (next branch) on gcc 4.5 and am not having any gcc issues. Philip Steve McMahon ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
On Wed, Oct 13, 2010 at 10:28 PM, Steve Mcmahon steve.mcmaho...@yahoo.com wrote: Gregor: Thanks for your reply. I have never installed a second version of gcc on a Linux machine before. How can I install gcc 4.4.4 in /opt so that it exists alongside the gcc 4.5.0 that comes packaged with openSUSE 11.3?? My machine is in a lab, and does not have a connection to the internet, so I would have to download packages and put them on a USB pen drive and walk them to the machine. Your help is greatly appreciated. Thanks. Steve McMahon Providing us with some kind of error message could help us help you. Tom --- On Tue, 10/12/10, Gregor Dschung dsch...@cs.uni-kl.de wrote: From: Gregor Dschung dsch...@cs.uni-kl.de Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Steve Mcmahon steve.mcmaho...@yahoo.com Cc: discuss-gnuradio@gnu.org Date: Tuesday, October 12, 2010, 11:49 PM Hi, 3.3.0 stable doesn't compile under openSUSE 11.3 with gcc 4.5.0. But installing gcc43 and gcc43-c++ (and using them... just set the appropriate environment variables) did the job for me. The last time I compiled the git branch under openSUSE was 2 months ago. At this time, gcc45 didn't work for this branch, too. Maybe, this changed in the meantime. Gregor 2010/10/12 Philip Balister phi...@balister.org: On 10/12/2010 12:04 PM, Steve Mcmahon wrote: I am trying to compile GNU Radio 3.3.0 under openSuse 11.3, which uses gcc 4.5.0. I have all the dependencies built and resolved, but when I compile GNU Radio 3.3.0, I get errors. It seems that GNU Radio does not compile successfully with the new gcc 4.5.0, although I know it compiles with gcc 4.4.1 on openSuse 11.2. However, I specifically need to run openSuse 11.3 for my application. How, exactly, can I get GNU Radio 3.3.0 to build under gcc 4.5.0? Will the next release of GNU Radio address this? Is there a compiler flag I can use, or a quick-and-easy hack to the GNU Radio code? What is the problem with gcc 4.5.0? Thank you very much for your help on this issue. I really appreciate it. I am building gnuradio from git (next branch) on gcc 4.5 and am not having any gcc issues. Philip Steve McMahon ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
You can install various gcc versions in parallel without problems. But I suggest to use the gcc from the repositories. Just search for it: zypper search gcc, and in your case, where the machine has no connection to the internet, just download the appropriate rpms from the openSUSE:11.3/standard-repository. http://software.opensuse.org/ is the right place for you. /usr/bin/gcc and /usr/bin/g++ are just symlinks to /usr/bin/gcc-4.5 and /usr/bin/g++-4.5 If you want to use a version different than the default, just change the symlinks (there are a few more... /usr/bin/c++, /usr/bin/cc). You should also consider to use update-alternatives ... just google for it. Or you set the environment variables ... Just for the package you want to compile: CC=/usr/bin/gcc-4.3 CXX=/usr/bin/g++-4.3 ./configure Gregor 2010/10/14 Steve Mcmahon steve.mcmaho...@yahoo.com: Gregor: Thanks for your reply. I have never installed a second version of gcc on a Linux machine before. How can I install gcc 4.4.4 in /opt so that it exists alongside the gcc 4.5.0 that comes packaged with openSUSE 11.3?? My machine is in a lab, and does not have a connection to the internet, so I would have to download packages and put them on a USB pen drive and walk them to the machine. Your help is greatly appreciated. Thanks. Steve McMahon --- On Tue, 10/12/10, Gregor Dschung dsch...@cs.uni-kl.de wrote: From: Gregor Dschung dsch...@cs.uni-kl.de Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Steve Mcmahon steve.mcmaho...@yahoo.com Cc: discuss-gnuradio@gnu.org Date: Tuesday, October 12, 2010, 11:49 PM Hi, 3.3.0 stable doesn't compile under openSUSE 11.3 with gcc 4.5.0. But installing gcc43 and gcc43-c++ (and using them... just set the appropriate environment variables) did the job for me. The last time I compiled the git branch under openSUSE was 2 months ago. At this time, gcc45 didn't work for this branch, too. Maybe, this changed in the meantime. Gregor 2010/10/12 Philip Balister phi...@balister.org: On 10/12/2010 12:04 PM, Steve Mcmahon wrote: I am trying to compile GNU Radio 3.3.0 under openSuse 11.3, which uses gcc 4.5.0. I have all the dependencies built and resolved, but when I compile GNU Radio 3.3.0, I get errors. It seems that GNU Radio does not compile successfully with the new gcc 4.5.0, although I know it compiles with gcc 4.4.1 on openSuse 11.2. However, I specifically need to run openSuse 11.3 for my application. How, exactly, can I get GNU Radio 3.3.0 to build under gcc 4.5.0? Will the next release of GNU Radio address this? Is there a compiler flag I can use, or a quick-and-easy hack to the GNU Radio code? What is the problem with gcc 4.5.0? Thank you very much for your help on this issue. I really appreciate it. I am building gnuradio from git (next branch) on gcc 4.5 and am not having any gcc issues. Philip Steve McMahon ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
Gregor: Thanks for your reply. I have never installed a second version of gcc on a Linux machine before. How can I install gcc 4.4.4 in /opt so that it exists alongside the gcc 4.5.0 that comes packaged with openSUSE 11.3?? My machine is in a lab, and does not have a connection to the internet, so I would have to download packages and put them on a USB pen drive and walk them to the machine. Your help is greatly appreciated. Thanks. Steve McMahon --- On Tue, 10/12/10, Gregor Dschung dsch...@cs.uni-kl.de wrote: From: Gregor Dschung dsch...@cs.uni-kl.de Subject: Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0 To: Steve Mcmahon steve.mcmaho...@yahoo.com Cc: discuss-gnuradio@gnu.org Date: Tuesday, October 12, 2010, 11:49 PM Hi, 3.3.0 stable doesn't compile under openSUSE 11.3 with gcc 4.5.0. But installing gcc43 and gcc43-c++ (and using them... just set the appropriate environment variables) did the job for me. The last time I compiled the git branch under openSUSE was 2 months ago. At this time, gcc45 didn't work for this branch, too. Maybe, this changed in the meantime. Gregor 2010/10/12 Philip Balister phi...@balister.org: On 10/12/2010 12:04 PM, Steve Mcmahon wrote: I am trying to compile GNU Radio 3.3.0 under openSuse 11.3, which uses gcc 4.5.0. I have all the dependencies built and resolved, but when I compile GNU Radio 3.3.0, I get errors. It seems that GNU Radio does not compile successfully with the new gcc 4.5.0, although I know it compiles with gcc 4.4.1 on openSuse 11.2. However, I specifically need to run openSuse 11.3 for my application. How, exactly, can I get GNU Radio 3.3.0 to build under gcc 4.5.0? Will the next release of GNU Radio address this? Is there a compiler flag I can use, or a quick-and-easy hack to the GNU Radio code? What is the problem with gcc 4.5.0? Thank you very much for your help on this issue. I really appreciate it. I am building gnuradio from git (next branch) on gcc 4.5 and am not having any gcc issues. Philip Steve McMahon ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
I am trying to compile GNU Radio 3.3.0 under openSuse 11.3, which uses gcc 4.5.0. I have all the dependencies built and resolved, but when I compile GNU Radio 3.3.0, I get errors. It seems that GNU Radio does not compile successfully with the new gcc 4.5.0, although I know it compiles with gcc 4.4.1 on openSuse 11.2. However, I specifically need to run openSuse 11.3 for my application. How, exactly, can I get GNU Radio 3.3.0 to build under gcc 4.5.0? Will the next release of GNU Radio address this? Is there a compiler flag I can use, or a quick-and-easy hack to the GNU Radio code? What is the problem with gcc 4.5.0? Thank you very much for your help on this issue. I really appreciate it. Steve McMahon ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
On 10/12/2010 12:04 PM, Steve Mcmahon wrote: I am trying to compile GNU Radio 3.3.0 under openSuse 11.3, which uses gcc 4.5.0. I have all the dependencies built and resolved, but when I compile GNU Radio 3.3.0, I get errors. It seems that GNU Radio does not compile successfully with the new gcc 4.5.0, although I know it compiles with gcc 4.4.1 on openSuse 11.2. However, I specifically need to run openSuse 11.3 for my application. How, exactly, can I get GNU Radio 3.3.0 to build under gcc 4.5.0? Will the next release of GNU Radio address this? Is there a compiler flag I can use, or a quick-and-easy hack to the GNU Radio code? What is the problem with gcc 4.5.0? Thank you very much for your help on this issue. I really appreciate it. I am building gnuradio from git (next branch) on gcc 4.5 and am not having any gcc issues. Philip Steve McMahon ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] gcc 4.5 and GNU Radio 3.3.0
Hi, 3.3.0 stable doesn't compile under openSUSE 11.3 with gcc 4.5.0. But installing gcc43 and gcc43-c++ (and using them... just set the appropriate environment variables) did the job for me. The last time I compiled the git branch under openSUSE was 2 months ago. At this time, gcc45 didn't work for this branch, too. Maybe, this changed in the meantime. Gregor 2010/10/12 Philip Balister phi...@balister.org: On 10/12/2010 12:04 PM, Steve Mcmahon wrote: I am trying to compile GNU Radio 3.3.0 under openSuse 11.3, which uses gcc 4.5.0. I have all the dependencies built and resolved, but when I compile GNU Radio 3.3.0, I get errors. It seems that GNU Radio does not compile successfully with the new gcc 4.5.0, although I know it compiles with gcc 4.4.1 on openSuse 11.2. However, I specifically need to run openSuse 11.3 for my application. How, exactly, can I get GNU Radio 3.3.0 to build under gcc 4.5.0? Will the next release of GNU Radio address this? Is there a compiler flag I can use, or a quick-and-easy hack to the GNU Radio code? What is the problem with gcc 4.5.0? Thank you very much for your help on this issue. I really appreciate it. I am building gnuradio from git (next branch) on gcc 4.5 and am not having any gcc issues. Philip Steve McMahon ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio