discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] compiling gnuradio with gcc-4.5


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] compiling gnuradio with gcc-4.5
Date: Tue, 29 Mar 2011 09:31:34 -0400

On Tue, Mar 29, 2011 at 4:02 AM, Sim IJskes <address@hidden> wrote:
On 24-03-11 15:33, Tom Rondeau wrote:
       On 24-03-11 08:56, Sim IJskes wrote:

           I've tried to build gnuradio under debian sid, and it fails
           during
           linking. Debian has changed the DSO linking defaults:

           http://wiki.debian.org/ToolChain/DSOLinking

           My first guess is, this is causing the linkage problem.
           Compiling with
           gcc-4.4 is no option, because it will not link with libboost
           then.

           If you have compiled with gcc-4.5 already, and found a quick
           fix, or no
           problems, or any other outcome, please let us know?


   I've identified the missing libraries and put them in the makefile:

   gnuradio/gr-usrp/apps/Makefile:

   LIBS =
   //home/sim/gnuradio/gnuradio/gnuradio-core/src/lib/.libs/libgnuradio-core-3.3.1.so.0
   //home/sim/gnuradio/gnuradio/usrp/host/lib/.libs/libusrp-3.3.1.so.0

   I'm sure this is not the way to do it, but i'm no libtool autoconf
   master, so i'm hoping for help here...

   After this 'fix' gnuradio compiles under debian sid with gcc-4.5

A solution somewhat higher up the automake logic:

LDADD = \
       $(USRP_LA) \
       $(GNURADIO_CORE_LA) \
       $(GR_USRP_LA) \
       $(BOOST_LDFLAGS) \
       $(BOOST_PROGRAM_OPTIONS_LIB)

Maybe i can paste this directly into Makefile.am. Does anybody know how to have automake regenerate the Makefile.in / Makefile again, locally in the directory?


Gr. Sim


Great! Thanks for tracking that down. Looks like a potentially easy solution to the problem.

Tom
 

reply via email to

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