# Re: using uhd\_fft with USRP1

**URL:** <https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208>\
**Category:** GNU Radio\
**Created:** [May 19, 2014, 6:42am UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208 "2014-05-19T06:42:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [May 19, 2014, 6:42am UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208/1 "2014-05-19T06:42:25Z")

</div>

On Wed, Apr 30, 2014 at 4:17 AM, Martin B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)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 …?

---

<div class="post-metadata">

**Author:** ![activecat\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@activecat\_k](https://www.ruby-forum.com/u/activecat_k)\
**Post date:** [May 19, 2014, 3:06pm UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208/2 "2014-05-19T15:06:53Z")

</div>

On Mon, May 19, 2014 at 12:40 AM, Activecat [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![activecat\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@activecat\_k](https://www.ruby-forum.com/u/activecat_k)\
**Post date:** [May 19, 2014, 3:18pm UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208/3 "2014-05-19T15:18:36Z")

</div>

On Mon, May 19, 2014 at 9:04 PM, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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:

activecat@rs: ~/download/gnuradio37/gnuradio/gr-uhd $ make  
make: \*\*\* No targets specified and no makefile found. Stop.

---

<div class="post-metadata">

**Author:** ![activecat\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@activecat\_k](https://www.ruby-forum.com/u/activecat_k)\
**Post date:** [May 19, 2014, 3:19pm UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208/4 "2014-05-19T15:19:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![activecat\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@activecat\_k](https://www.ruby-forum.com/u/activecat_k)\
**Post date:** [May 19, 2014, 3:21pm UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208/5 "2014-05-19T15:21:41Z")

</div>

On Mon, May 19, 2014 at 9:15 AM, Activecat [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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:
> 
> activecat@rs: ~/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

---

<div class="post-metadata">

**Author:** ![activecat\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@activecat\_k](https://www.ruby-forum.com/u/activecat_k)\
**Post date:** [May 19, 2014, 3:30pm UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208/6 "2014-05-19T15:30:20Z")

</div>

On Mon, May 19, 2014 at 9:20 PM, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

activecat@rs: ~/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” ?  
activecat@rs: ~/download/gnuradio37 $ find -name build  
./uhd/host/build  
./gnuradio/build  
./grextras/build  
./gr-baz/build  
./gr-iqbal/build

---

<div class="post-metadata">

**Author:** ![activecat\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@activecat\_k](https://www.ruby-forum.com/u/activecat_k)\
**Post date:** [May 19, 2014, 3:55pm UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208/7 "2014-05-19T15:55:01Z")

</div>

On Mon, May 19, 2014 at 9:39 PM, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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.

---

<div class="post-metadata">

**Author:** ![activecat\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@activecat\_k](https://www.ruby-forum.com/u/activecat_k)\
**Post date:** [May 19, 2014, 3:48pm UTC](https://www.ruby-forum.com/t/re-using-uhd-fft-with-usrp1/241208/8 "2014-05-19T15:48:51Z")

</div>

On Mon, May 19, 2014 at 9:28 AM, Activecat [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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/  
> activecat@rs: ~/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
