discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] gnuradio compile problem


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] gnuradio compile problem
Date: Sat, 2 Aug 2003 22:04:46 -0700
User-agent: Mutt/1.4i

On Sat, Aug 02, 2003 at 10:54:30AM -0400, w3sz wrote:
> Hello, All!
> 
> I am trying to install gnu-radio on a RHL 8.0 system.
> 
> I am getting an error that I think may be due to the way my fftw files are 
> named /
> installed.  I have seen the caution about needing to make symbolic links for 
> the fftw
> files if they are not named as the default compile settings expect,  but I 
> can't find
> the files on my machine to make the symbolic links. Even after doing 
> 'updatedb' and
> 'locate fftw' I find no executable files named fftw or fft3.  Yet the 'bench' 
> tests
> for fft3 work fine.

For GNU Radio 0.8, you need the FFTW 2.x libraries and headers.
Also, you need to be sure to build the single precision version too.
Take a look at the README for FFTW, it explains how to do this.

The libraries you're looking for are typically found in either:

    /lib
    /usr/lib/
    /usr/local/lib

and have the name librfftw.a or librfftw.so

> The error message I get when I try to compile gnuradio-0.8 by doing 'make' 
> after
> doing './configure' is:
> 
> g++ -g -O2 -Wall -Woverloaded-virtual -o t1 t1.o  ./.libs/libtest.a
> ./../../src/gnu/lib/.libs/libgnuradio.a -lrfftw /usr/local/lib/libfftw3.a -lm
> ./../../cppunit/src/cppunit/.libs/libcppunit.a                  ^^^^^^^^^
> /usr/bin/ld: cannot find -lrfftw                                    
> collect2: ld returned 1 exit status

/usr/local/lib/libfftw3.a is the FFTW 3.x library.  That works great
for the CVS head, but not for the 0.8 tarball.

> Any help from someone with more brains and experience than I have would be
> appreciated!  That should include everyone else on this list, I expect.
> 
> I want to get gnuradio running with my sdr1000 and Matt's software offering.
> 
> If anyone knows where to find the /src/gnu/python/hf directory Matt referred 
> to in
> his email, that info would also be appreciated.

If you check out the CVS version,  you'll find it in:

   gnuradio/src/gnu/python/hf


> Thanks in advance,
> 
> 
> 73,
> Roger Rehr
> W3SZ
> FN20ah
> http://www.qsl.net/w3sz
> 

Eric




reply via email to

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