Project

General

Profile

Bug #3855

Cannot build gr-osmosdr with Gnuradio 3.8

Added by martymac 7 months ago. Updated 16 days ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
03/22/2019
Due date:
% Done:

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.

gqrx_segfault.png View gqrx_segfault.png 21.5 KB st1905, 07/28/2019 01:47 PM
gqrx_backtrace.png View gqrx_backtrace.png 150 KB st1905, 07/28/2019 01:47 PM
osmosdr.png View osmosdr.png 174 KB st1905, 07/28/2019 01:47 PM
gqrx_freebsd12_soapy.png View gqrx_freebsd12_soapy.png 145 KB st1905, 08/11/2019 11:06 AM
gqrx-2.11.5_9,1.txz gqrx-2.11.5_9,1.txz 541 KB For FreeBSD 12 st1905, 08/12/2019 09:43 PM
gr-osmosdr-0.1.4.99_8,1.txz gr-osmosdr-0.1.4.99_8,1.txz 315 KB For FreeBSD 12 st1905, 08/12/2019 09:43 PM
3798
3799
3800
3816

History

#1 Updated by laforge 7 months ago

  • Assignee set to horiz0n

assigning to horiz0n

#2 Updated by ckoval7 4 months ago

Any movement on this? I'm also having trouble compiling for GR3.8

#3 Updated by st1905 4 months 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

#4 Updated by martymac 4 months ago

st1905 wrote:

Have a look at this, it should compile for gnuradio 3.8.

https://github.com/igorauad/gr-osmosdr/tree/gr3.8

Thanks! Do you know if/when the branch will be merged back to the official repository ?

#5 Updated by st1905 4 months ago

martymac wrote:

st1905 wrote:

Have a look at this, it should compile for gnuradio 3.8.

https://github.com/igorauad/gr-osmosdr/tree/gr3.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

#6 Updated by martymac 4 months 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!

#7 Updated by st1905 3 months ago

3798
3799
3800

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.

#8 Updated by st1905 2 months ago

3816

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.

#9 Updated by st1905 2 months ago

Only UHD causes segfault, all other builtin sources work fine.

#10 Updated by st1905 2 months ago

Added packages for FreeBSD 12 in case someone would like to use them.

#11 Updated by martymac 2 months 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...

#12 Updated by martymac about 2 months 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.

#13 Updated by martymac about 2 months ago

EDIT: anyway, it would be nice if the gr3.8 branch could be merged upstream :p

#14 Updated by ferrellsl about 2 months ago

martymac wrote:

st1905 wrote:

Have a look at this, it should compile for gnuradio 3.8.

https://github.com/igorauad/gr-osmosdr/tree/gr3.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.

#15 Updated by laforge 16 days 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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)