[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Compile Problems
From: |
Matt Ettus |
Subject: |
Re: [Discuss-gnuradio] Compile Problems |
Date: |
Fri, 16 Nov 2001 11:46:44 -0800 |
> I think we've got a minor misunderstanding. To be concrete, assume
> that you checked out the GNU Radio distribution into your home
> directory, e.g., ~/gnuradio
>
> Also assume that you've created an empty directory ~/gr-build
>
> $ cd ~/gnuradio
> $ ./reconf
> $ cd ~/gr-build
> $ ~/gnuradio/configure
> $ make
I was doing exactly that. The problem was that I needed a fresh checkout.
Having previously done the ./configure in the source directory caused reconf
to fail.
>
> Also, after building, if you've got doxygen installed, type
>
> $ cd ~/gr-build/doc
> $ doxygen
>
> Then examine ~/gr-build/doc/html/index.html with your browser.
> It generates class inheritance hierarchies, etc.
I'll try that.
So compilation started for me, but fails....
Making all in pam
make[4]: Entering directory `/home/mettus/gr-build/src/pspectra/pam'
c++ -DHAVE_CONFIG_H -I. -I/home/mettus/gnuradio/src/pspectra/pam -I../../..
-DUSE_LIBGXX_INLINES -D_REENTRANT -DPARANOID=1 -DCACHESIZE=262144
-I/home/mettus/gnuradio/src/gnu/lib/gr
-I/home/mettus/gnuradio/src/gnu/lib/grio
-I/home/mettus/gnuradio/src/gnu/lib/grgui
-I/home/mettus/gnuradio/src/pspectra/lib/vr
-I/home/mettus/gnuradio/src/pspectra/lib/vrp
-I/home/mettus/gnuradio/src/pspectra/lib/vrio
-I/home/mettus/gnuradio/src/pspectra/lib/vrgui -I/usr/lib/qt-2.3.0/include
-g -O2 -c /home/mettus/gnuradio/src/pspectra/pam/udp_rx.cc
In file included from /home/mettus/gnuradio/src/pspectra/pam/udp_rx.cc:14:
/home/mettus/gnuradio/src/pspectra/lib/vrio/VrFFTSink.h:22:18: fftw.h: No
such file or directory
make[4]: *** [udp_rx.o] Error 1
make[4]: Leaving directory `/home/mettus/gr-build/src/pspectra/pam'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mettus/gr-build/src/pspectra'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mettus/gr-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mettus/gr-build'
make: *** [all-recursive-am] Error 2
It seems to not find fftw, which is installed:
fftw-2.1.3-8
fftw-devel-2.1.3-8
The reason is that fftw.h no longer exists. FFTW now uses sfftw or dfftw to
be more explicit about type:
/usr/include/dfftw.h
/usr/include/dfftw_threads.h
/usr/include/drfftw.h
/usr/include/drfftw_threads.h
/usr/include/sfftw.h
/usr/include/sfftw_threads.h
/usr/include/srfftw.h
/usr/include/srfftw_threads.h
I would change to include the right one, but its not clear which one is
correct in this situation.
Thanks for your help
Matt