# Still problems building gr 3.4.2 / Debian

**URL:** <https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057>\
**Category:** GNU Radio\
**Created:** [August 2, 2013, 6:29am UTC](https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057 "2013-08-02T06:29:20Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [August 2, 2013, 10:54pm UTC](https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057/21 "2013-08-02T22:54:00Z")

</div>

On Fri, Aug 2, 2013 at 11:38 PM, Ralph A. Schmid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> mv: cannot stat `gen/lib/Makefile.am’: No such file or directory  
> ras@dk5ras:~/gnuradio-3.4.2$

Not good. Try this from the beginning. It built on my Fedora 19  
machine 30 seconds ago.

$ git clone -b fedora17 git://github.com/ttsou/gnuradio.git

$ ./bootstrap

$ ./configure --disable-volk --with-fusb-tech=libusb1 --disable-usrp2  
–disable-gr-msdd6000 --disable-gr-audio --disable-gr-atsc  
–disable-gr-cvsd-vocoder --disable-gr-gpio  
–disable-gr-gsm-fr-vocoder --disable-gr-noaa --disable-gr-pager  
–disable-gr-radar-mono --disable-gr-radio-astronomy  
–disable-gr-trellis --disable-gr-wxgui --disable-gr-sounder  
–disable-gr-utils --disable-gnuradio-examples --disable-grc  
–disable-docs

…

* * *

The following GNU Radio components have been successfully configured:

config  
gruel  
usrp

$ make  
$ make install

-TT

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [August 3, 2013, 9:05am UTC](https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057/22 "2013-08-03T09:05:24Z")

</div>

Hi,

Without gr-usrp everything builds and installs just fine - but when  
trying  
to compile OpenBTS, I get the message “No package usrp found”.

So I assume this one is needed…

Ralph.

> -----Original Message-----  
> From: Tom T. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
> Sent: Friday, 02 August, 2013 22:39  
> To: Ralph A. Schmid, dk5ras  
> Cc: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> Subject: Re: [Discuss-gnuradio] Still problems building gr 3.4.2 / Debian
> 
> On Fri, Aug 2, 2013 at 10:19 PM, Ralph A. Schmid, dk5ras  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
> 
> > command line  
> > make[2]: Leaving directory `/home/ras/gnuradio-3.4.2/gr-usrp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ras/gnuradio-3.4.2’  
> > make: \*\*\* [all] Error 2  
> > ras@dk5ras:~/gnuradio-3.4.2$
> 
> If I’m not mistaken, that means the driver is built. Anyhow, the gr-usrp  
> module isn’t needed so you can add that to the disable list too  
> '–disable-gr-

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [August 3, 2013, 9:08am UTC](https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057/23 "2013-08-03T09:08:54Z")

</div>

Hi,

Without gr-usrp everything builds and installs just fine - but when  
trying  
to compile OpenBTS, I get the message “No package usrp found”.

So I assume this one is needed…

Ralph.

> -----Original Message-----  
> From: Tom T. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
> Sent: Friday, 02 August, 2013 22:39  
> To: Ralph A. Schmid, dk5ras  
> Cc: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> Subject: Re: [Discuss-gnuradio] Still problems building gr 3.4.2 / Debian
> 
> On Fri, Aug 2, 2013 at 10:19 PM, Ralph A. Schmid, dk5ras  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
> 
> > command line  
> > make[2]: Leaving directory `/home/ras/gnuradio-3.4.2/gr-usrp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ras/gnuradio-3.4.2’  
> > make: \*\*\* [all] Error 2  
> > ras@dk5ras:~/gnuradio-3.4.2$
> 
> If I’m not mistaken, that means the driver is built. Anyhow, the gr-usrp  
> module isn’t needed so you can add that to the disable list too  
> '–disable-gr-

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [August 2, 2013, 11:40pm UTC](https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057/24 "2013-08-02T23:40:46Z")

</div>

On Fri, Aug 2, 2013 at 10:19 PM, Ralph A. Schmid, dk5ras  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> collect2: error: ld returned 1 exit status  
> make: \*\*\* [all] Error 2  
> ras@dk5ras:~/gnuradio-3.4.2$

If I’m not mistaken, that means the driver is built. Anyhow, the  
gr-usrp module isn’t needed so you can add that to the disable list  
too ‘–disable-gr-usrp’.

Or, since you _only_ care about the usrp driver, just go into the  
‘usrp’ subdirectory and run make and make install from there and  
ignore everything else.

-TT

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [August 3, 2013, 11:27am UTC](https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057/25 "2013-08-03T11:27:21Z")

</div>

On Aug 3, 2013 9:18 AM, “Ralph A. Schmid, dk5ras” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Without gr-usrp everything builds and installs just fine - but when trying  
> to compile OpenBTS, I get the message “No package usrp found”.
> 
> So I assume this one is needed…

It’s not.

What are the contents of the following directories?

/usr/local/lib/pkgconfig  
/usr/local/lib64/pkgconfig

-TT

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [August 3, 2013, 9:19am UTC](https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057/26 "2013-08-03T09:19:25Z")

</div>

Hi,

Without gr-usrp everything builds and installs just fine - but when  
trying  
to compile OpenBTS, I get the message “No package usrp found”.

So I assume this one is needed…

Ralph.

> -----Original Message-----  
> From: Tom T. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
> Sent: Friday, 02 August, 2013 22:39  
> To: Ralph A. Schmid, dk5ras  
> Cc: [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> Subject: Re: [Discuss-gnuradio] Still problems building gr 3.4.2 / Debian
> 
> On Fri, Aug 2, 2013 at 10:19 PM, Ralph A. Schmid, dk5ras  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
> 
> > command line  
> > make[2]: Leaving directory `/home/ras/gnuradio-3.4.2/gr-usrp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ras/gnuradio-3.4.2’  
> > make: \*\*\* [all] Error 2  
> > ras@dk5ras:~/gnuradio-3.4.2$
> 
> If I’m not mistaken, that means the driver is built. Anyhow, the gr-usrp  
> module isn’t needed so you can add that to the disable list too  
> '–disable-gr-

---

<div class="post-metadata">

**Author:** ![Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Ralph\_ASSchmidS\_dk](https://www.ruby-forum.com/u/Ralph_ASSchmidS_dk)\
**Post date:** [August 6, 2013, 7:20am UTC](https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057/27 "2013-08-06T07:20:20Z")

</div>

It works now. It is a number of traps a newby never could figure out on  
his  
own, but finally it is possible, and even not too complicated when you  
know  
what you need to do.

I had no choice, as I have a relative new tablet PC (Microsoft Surface  
pro),  
and it even was difficult to find a Linux distribution that worked  
without  
too much of a hassle. Many hours during the last weeks and months seem  
to be  
wasted and could have been used for so much interesting SDR experiments,  
but  
now I have a super portable system. As I am traveling a lot, this is  
very  
useful, especially when the long awaited BladeRF finally arrives.

With best regards

Ralph.

From: Christophe Devine [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]  
Sent: Saturday, August 03, 2013 1:33 PM  
To: Ralph A. Schmid, dk5ras  
Subject: Re: [Discuss-gnuradio] Still problems building gr 3.4.2 /  
Debian

Ralph,

I tried the same as you, compiling 3.4.2 on the latest Debian. I gave  
up,  
and went back to Ubuntu 12.04. What you can do is to compile 3.4.2 to  
obtain  
just libusrp on Ubuntu 12.04 (or older), for example using a VM, then  
move  
the libusrp library to your Debian, to enable compilation with OpenBTS.  
I  
haven’t tried this in practise though, as I still use 12.04.

On Fri, Aug 2, 2013 at 6:27 AM, Ralph A. Schmid, dk5ras  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

Hi,

After compiling and installing sdcc2.9 from source this problem seems to  
be  
solved, but now building gr 3.4.2 on a Debian / Jessie (testing) AMD64  
machine gives right after confirming the sdcc version another error. It  
says  
that it does not find libusb, but in fact the packages are installed,  
and gr  
3.7 uses them just fine.

Any ideas what the reason could be?

–

Ralph A. Schmid  
Mondstr. 10  
90762 Frth  
+49-171-3631223 tel:%2B49-171-3631223  
removed\_email\_address@domain.invalid  
[http://www.bclog.de/](http://www.bclog.de/)

[Previous page](https://www.ruby-forum.com/t/still-problems-building-gr-3-4-2-debian/236057.md?page=1)
