Bug #3855
openCannot build gr-osmosdr with Gnuradio 3.8
0%
Description
Hi,
Gnuradio has updated their CMake build files for the upcoming version 3.8 :
https://github.com/gnuradio/gnuradio/commit/ab2fb35677e38a384df3f9503d1f45f64bbc0374
Unfortunately, gr-osmosdr does not build anymore with those changes. Can you update build files to fix build against Gnuradio 3.8 ?
An example seems to be provided in the following commit :
https://github.com/gnuradio/gnuradio/commit/c04188d7f4e7c7673e6ecc839a6455a6f6b20453
Thanks,
Ganael.
Files
Updated by ckoval7 over 4 years ago
Any movement on this? I'm also having trouble compiling for GR3.8
Updated by st1905 over 4 years ago
ckoval7 wrote:
Any movement on this? I'm also having trouble compiling for GR3.8
Have a look at this, it should compile for gnuradio 3.8.
https://github.com/igorauad/gr-osmosdr/tree/gr3.8
To convert the xml to yaml, you can use this script
https://gist.github.com/haakov/4228ff6a14486641add538483093e86b
Updated by martymac over 4 years ago
st1905 wrote:
Have a look at this, it should compile for gnuradio 3.8.
Thanks! Do you know if/when the branch will be merged back to the official repository ?
Updated by st1905 over 4 years ago
martymac wrote:
st1905 wrote:
Have a look at this, it should compile for gnuradio 3.8.
Thanks! Do you know if/when the branch will be merged back to the official repository ?
I don`t know if it is going to be merged to the official repo but you can ask Mickey Vänskä >> https://github.com/mvaenskae
Updated by martymac over 4 years ago
st1905 wrote:
I don`t know if it is going to be merged to the official repo but you can ask Mickey Vänskä >> https://github.com/mvaenskae
I've asked him, thanks!
Updated by st1905 over 4 years ago
- File gqrx_backtrace.png gqrx_backtrace.png added
- File gqrx_segfault.png gqrx_segfault.png added
- File osmosdr.png osmosdr.png added
st1905 wrote:
ckoval7 wrote:
Any movement on this? I'm also having trouble compiling for GR3.8
Have a look at this, it should compile for gnuradio 3.8.
https://github.com/igorauad/gr-osmosdr/tree/gr3.8
To convert the xml to yaml, you can use this script
https://gist.github.com/haakov/4228ff6a14486641add538483093e86b
I can confirm that gr-osmosdr is working on FreeBSD 12(Gnuradio 3.8) but i cant make gqrx work, it always segfaults.
Updated by st1905 over 4 years ago
- File gqrx_freebsd12_soapy.png gqrx_freebsd12_soapy.png added
Today i got GQRX working fine too, i had to use "built-in source types: soapy" only soapy is compiled otherwise gqrx segfaults or aborts. All working fine now.
Updated by st1905 over 4 years ago
- File gqrx-2.11.5_9,1.txz gqrx-2.11.5_9,1.txz added
- File gr-osmosdr-0.1.4.99_8,1.txz gr-osmosdr-0.1.4.99_8,1.txz added
Added packages for FreeBSD 12 in case someone would like to use them.
Updated by martymac over 4 years ago
st1905 wrote:
Added packages for FreeBSD 12 in case someone would like to use them.
Thanks!
I will update the port ASAP. Stay tuned...
Updated by martymac over 4 years ago
martymac wrote:
I will update the port ASAP. Stay tuned...
Hello,
Well, I've just committed updates to comms/gr-osmosdr and comms/gqrx FreeBSD ports.
For gr-osmosdr, I've used the branch from : https://github.com/igorauad/gr-osmosdr/tree/gr3.8 (as well as a small fix for gnuradio-blocks detection : FILE and RTL_TCP were always disabled).
For gqrx, I've used the patch from that pull request : https://github.com/csete/gqrx/pull/696
To all people involved: thanks a lot for your hard work, comments and links, it helped me a lot!
Cheers,
Ganael.
Updated by martymac over 4 years ago
EDIT: anyway, it would be nice if the gr3.8 branch could be merged upstream :p
Updated by ferrellsl over 4 years ago
martymac wrote:
st1905 wrote:
Have a look at this, it should compile for gnuradio 3.8.
Thanks! Do you know if/when the branch will be merged back to the official repository ?
Thanks so much. I've been struggling for the better part of a week with this and now it works great due to your efforts. I was even able to do a successful build using gr3.9 by a simple edit to the cmakelists.txt file to have it look for 3.9 instead of 3.8.
Updated by laforge about 4 years ago
FYI: We're actively looking for a new gr-osmosdr maintainer (or team of maintainers), who would then take care (among other things) of integrating gr3.8 support, see http://lists.osmocom.org/pipermail/osmocom-sdr/2019-September/001983.html
Feel free to step up! Thanks.
Updated by tnt about 4 years ago
I had a quick look yesterday at the port to 3.8 on github (both are the same, with just one more commit). gnuradio-blocks wasn't found despite that "fix" because it's not complete / correct.
Adding more patches (from Maitland, the GR package maintainer for debian), I got a more complete version but :
- The updated build system is still far from being "proper".
The remaining issues are too numerous to list (and if I knew them all, I could fix them ... reviewing and finding them is the hard part).
But a couple of examples:
set(GR_REQUIRED_COMPONENTS RUNTIME PMT BLOCKS)
That stuff doesn't exist in 3.8 anymore
All the GrXXXX in cmake/Modules/... : In 3.8 policy is to always use the ones installed and not local copies anymore. They need to be removed and all the cmake logic adapted to work with the upstream ones.
- It's still missing updates version of the apps that ship with osmosdr. (osmocom-fft / osmocom-siggen / ...) Someone needs to pretty much rewrite those from scratch using the Qt widgets.
Only once someone submits something that fixes both the issue above will a 3.8 release be possible.
Updated by wiml over 3 years ago
For what it's worth, I had no trouble compiling the current `master` (`af2fda2`, tag `v0.2.0`) against gnuradio 3.8 (the ubuntu 3.8.1.0~gnuradio~eoan-1 package) and using it with an rtl-sdr dongle.