[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Discuss-gnuradio] Frustrating
From: |
Moir, Tom |
Subject: |
RE: [Discuss-gnuradio] Frustrating |
Date: |
Fri, 12 Aug 2005 09:02:37 +1200 |
Thank you Eric. I am using Fedora 3 on a PC trying to compile the core. That
worked (compiling single precision for the FFTW library). So it got through the
.configure stage. Then when I make the core
it does tests... it passed the codec test ok and the next 59 tests it then said
Pass: test-all
However, after that it comes up with loads of errors (all the same one repeated
at different stages). Here is one of them
----------------------------------------------
make[5]: Entering directory
`/root/Desktop/soft/gnuradio-temp/gnuradio-core/src/ python/gnuradio/gr'
Traceback (most recent call last):
File "./qa_add_and_friends.py", line 23, in ?
from gnuradio import gr, gr_unittest
File
"/root/Desktop/soft/gnuradio-temp/gnuradio-core/src/python/gnuradio/gr/__
init__.py", line 29, in ?
from flow_graph import *
File
"/root/Desktop/soft/gnuradio-temp/gnuradio-core/src/python/gnuradio/gr/fl
ow_graph.py", line 26, in ?
from gnuradio_swig_python import buffer, buffer_add_reader, block_detail, \
ImportError: cannot import name buffer
and this last error 'cannot find import name buffer' appears again and again.
any ideas?
regards
Tom
-----Original Message-----
From: Eric Blossom [mailto:address@hidden
Sent: Thu 8/11/2005 2:44 PM
To: Moir, Tom
Cc: address@hidden
Subject: Re: [Discuss-gnuradio] Frustrating
On Thu, Aug 11, 2005 at 01:52:03PM +1200, Moir, Tom wrote:
> I am getting to the stage where I am compiling the core and get teh following
> error messages
>
>
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to
> `fftwf_import_wisdom_from_f ile'
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to `fftwf_free'
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to `fftwf_malloc'
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to
> `fftwf_export_wisdom_to_fil e'
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to
> `fftwf_destroy_plan'
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to
> `fftwf_plan_dft_1d'
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to
> `fftwf_plan_dft_c2r_1d'
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to
> `fftwf_plan_dft_r2c_1d'
> ../../src/lib/.libs/libgnuradio-core.so: undefined reference to
> `fftwf_execute'
>
> I have installed FFTW so I cannot see why it cannot find these references?
> Can anybody help?
>
> Thanks
>
> Tom
Tom and everybody else: When reporting a problem *please* at a minimum
report your operating system, architecture, distribution and version.
Keeps me from having to try to read your mind...
My guess would be that the version of FFTW you installed did not have
the single precision library built and/or installed. Not sure of your
distribution, but if you build fftw from source, these are the
configure options you want:
$ ./configure --enable-single --enable-shared [ and perhaps --enable-sse or
--enable-3dnow ]
Eric