Fpga_regs*.h and libusrp.so missing from Debian/Ubuntu binary packages

Hi,
I just installed Gnuradio 3.1.2 binary packages on Ubuntu 8.04 (using
instructions on the wiki page,
http://www.gnuradio.org/trac/wiki/DebianPackages). This works very
well, except a few files are missing from the packages. In particular,
at least the following header files

fpga_regs_standard.h, fpga_regs_common.h,

as well as others from usrp/firmware/include are not in any of the
packages. Also, it looks like /usr/lib/libusrp.so link is not getting
created by default. libusrp.so.0 and libusrp.so.0.0 are there, but
the simple .so link is not.

The above files are needed in order to compile the software gps
receiver from GPS-SDR.COM. I ended up having to get the source tarball
in order to get these files.

Are these files omitted for a reason? If not, then can someone please
add these to the appropriate package? Probably libusrp0-dev for the
header files and libusrp0c2a for the library link.

Thanks in advance!!

Greg Ushomirsky

Greg Ushomirsky wrote:

Are these files omitted for a reason?

Good catch, they should have been in there. These will get fixed for
the GNU Radio 3.1.3 release packages.

If not, then can someone please add these to the appropriate package?
Probably libusrp0-dev for the header files and libusrp0c2a for the
library link.

Correct.

-----Original Message-----
From:
discuss-gnuradio-bounces+per.zetterberg=removed_email_address@domain.invalid
[mailto:discuss-gnuradio-bounces+per.zetterberg=ee.kth.se@gnu.
org] On Behalf Of Johnathan C.
Good catch, they should have been in there. These will get
fixed for the GNU Radio 3.1.3 release packages.

If not, then can someone please add these to the
appropriate package?
Probably libusrp0-dev for the header files and libusrp0c2a for the
library link.

Correct.

I don’t think the libusrp.so link is included in libusrp0-dev. I had to
add
it.

A beginners question:
Is the debian libraries built using the shell scripts build_all.sh,
build_bins.h and build_src.sh ?

BR/
Per

Per Z. wrote:

I don’t think the libusrp.so link is included in libusrp0-dev. I had to add
it.

The file debian/libusrp0c2a.install has a line:

usr/lib/libusrp02ca.so.*

…which should be:

usr/lib/libusrp02ca.so*

The two header files you mentioned are not currently installed into
$(prefix)/include/gnuradio, so they don’t get put into the binary
packages. That will require a change to:

usrp/firmware/include/Makefile.am

Both of these changes will be done on the trunk and will get included in
release 3.1.3, but you can make the modifications locally if you want.

A beginners question:
Is the debian libraries built using the shell scripts build_all.sh,
build_bins.h and build_src.sh ?

Yes, but these are undocumented and might change without notice. You
also need to have a few additional Debian packages installed
(svn-buildpackage, debhelper, etc.), which are not documented.

Assuming you figure those out, just run build_all.sh from within the
debian directory to create all the packages.