Re: using uhd_fft with USRP1

On Wed, Apr 30, 2014 at 4:17 AM, Martin B.
[email protected]wrote:

Unfortunately it becomes incompatible after the uhd update:

RuntimeError:
GR-UHD detected ABI compatibility mismatch with UHD library.
GR-UHD was build against ABI: 3.7.0-0,
but UHD library reports ABI: 3.7.1-0
Suggestion: install an ABI compatible version of UHD,
or rebuild GR-UHD component against this ABI version.

So, how to update the ABI, without a complete gnuradio rebuild …?

On Mon, May 19, 2014 at 12:40 AM, Activecat [email protected] wrote:

Cheers,
Suggestion: install an ABI compatible version of UHD,
or rebuild GR-UHD component against this ABI version.

So, how to update the ABI, without a complete gnuradio rebuild …?

If you still have the build directory from your previous build of GNU
Radio, you can just go into the gr-uhd directory and type make and make
install. You might want to make clean to make sure it rebuilds and
therefore links against the newest versions; gr-uhd isn’t that big, so
rebuilding the whole component isn’t that time consuming.

If you did not save the original build directory, you will have to
rebuild
the whole thing to update the library.

Tom

On Mon, May 19, 2014 at 9:04 PM, Tom R. [email protected] wrote:

help.
GR-UHD was build against ABI: 3.7.0-0,
therefore links against the newest versions; gr-uhd isn’t that big, so
rebuilding the whole component isn’t that time consuming.

If you did not save the original build directory, you will have to rebuild
the whole thing to update the library.

Tom

Do I need to “cmake …/” first? The “make” within gr-uhd produces
following error:

[email protected]: ~/download/gnuradio37/gnuradio/gr-uhd $ make
make: *** No targets specified and no makefile found. Stop.

You should be inside your build directory when you run make.

On Mon, May 19, 2014 at 9:15 AM, Activecat [email protected] wrote:

using ‘master’, you can simply update UHD and reinstall (git pull etc.).

If you still have the build directory from your previous build of GNU

Do I need to “cmake …/” first? The “make” within gr-uhd produces
following error:

[email protected]: ~/download/gnuradio37/gnuradio/gr-uhd $ make
make: *** No targets specified and no makefile found. Stop.

Is that the build directory or the source directory? Looks like the
latter
to me. But if it is the build directory, then missing the make files
means
that you’ve gotten rid of the build, so yes, you’d have to rerun cmake.

Tom

On Mon, May 19, 2014 at 9:20 PM, Tom R. [email protected] wrote:

So, how to update the ABI, without a complete gnuradio rebuild …?

Is that the build directory or the source directory? Looks like the latter
to me. But if it is the build directory, then missing the make files means
that you’ve gotten rid of the build, so yes, you’d have to rerun cmake.

Tom

During gnuradio installation, I executed the build-gnuradio in folder
~/download/gnuradio37
I am unsure of which are considered as build directories.

[email protected]: ~/download/gnuradio37 $ l
total 76k
drwxr-xr-x 9 sgku sgku 4.0K Apr 9 08:31 bladeRF/
-rwxr-xr-x 1 sgku sgku 37K Apr 5 07:47 build-gnuradio*
drwxr-xr-x 31 sgku sgku 4.0K Apr 9 08:46 gnuradio/
drwxr-xr-x 14 sgku sgku 4.0K Apr 9 09:50 gr-baz/
drwxr-xr-x 11 sgku sgku 4.0K Apr 9 09:52 grextras/
drwxr-xr-x 13 sgku sgku 4.0K Apr 9 09:47 gr-iqbal/
drwxr-xr-x 12 sgku sgku 4.0K Apr 9 09:50 gr-osmosdr/
drwxr-xr-x 10 sgku sgku 4.0K Apr 9 09:47 hackrf/
drwxr-xr-x 8 sgku sgku 4.0K Apr 9 09:47 rtl-sdr/
drwxr-xr-x 8 sgku sgku 4.0K May 15 22:42 uhd/

Are below directories considered “build directory” ?
[email protected]: ~/download/gnuradio37 $ find -name build
./uhd/host/build
./gnuradio/build
./grextras/build
./gr-baz/build
./gr-iqbal/build

On Mon, May 19, 2014 at 9:39 PM, Tom R. [email protected] wrote:

Yes, in this case, you want to look in gnuradio/build/gr-uhd.
Tom

Thanks. Next time I could try to rebuild this part only.
Earlier I had rebuilt the whole gnuradio already.

On Mon, May 19, 2014 at 9:28 AM, Activecat [email protected] wrote:

but UHD library reports ABI: 3.7.1-0
rebuilding the whole component isn’t that time consuming.

drwxr-xr-x 31 sgku sgku 4.0K Apr 9 08:46 gnuradio/
[email protected]: ~/download/gnuradio37 $ find -name build
./uhd/host/build
./gnuradio/build
./grextras/build
./gr-baz/build
./gr-iqbal/build

Yes, in this case, you want to look in gnuradio/build/gr-uhd.

Tom

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs