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: Sim IJskes
Subject: Re: [Discuss-gnuradio] compiling gnuradio with gcc-4.5
Date: Tue, 29 Mar 2011 10:02:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

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







reply via email to

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