Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error #971

Closed
HarleyWaagmeester opened this issue Aug 4, 2021 · 4 comments
Closed

Compile error #971

HarleyWaagmeester opened this issue Aug 4, 2021 · 4 comments

Comments

@HarleyWaagmeester
Copy link

Using Debian 11.
Wayland X.
When I attempt to compile gqrx ( cd build; cmake ..; make; )
i get the following error from the gnu compiler:

gqrx/src/interfaces/udp_sink_f.cpp:100:36: error: no matching function for call to ‘udp_sink_f::connect(gr::blocks::float_to_short::sptr&, int, gr::blocks::udp_sink::sptr&, int)’
100 | connect(d_f2s, 0, d_sink, 0);

I don't see anything overtly incorrect in the code.
But i have sub-zero C++ skills.

And also from the gqrx-sdr debian 11 package, when i run gqrx i get this:
gqrx exited with an exception:
std::bad_alloc
and the console says 'Segmentation fault.'
Can anyone advise me about this ?
TNX

@markjfine
Copy link

Strange that it would fail on the second connect(d_f2s, 0, d_sink, 0); and not the one in the if (stereo) block on line 95.

Anyway, all of this is supposed to interface to gnuradio, which I assume you have installed, otherwise it would barf on the includes in the .h file. Are you sure you are building with the correct version of gnuradio (>=3.8)?

@argilo
Copy link
Member

argilo commented Sep 17, 2021

I'm not sure what's going on here. I installed Debian 11 in a virtual machine, and I was able to build gqrx from source without issue. I also didn't experience a segfault when using the pre-built gqrx-sdr package. Are there any other details of your setup that might be relevant?

The compilation error looks similar to the one reported in #952.

@argilo
Copy link
Member

argilo commented Sep 17, 2021

A couple questions:

  • Did cmake .. complete without errors?
  • Do you have the gnuradio-dev package installed?

@argilo
Copy link
Member

argilo commented Oct 4, 2021

Sine I haven't heard anything back, I'll close this off for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants