Giter Site home page Giter Site logo

Comments (7)

zuckschwerdt avatar zuckschwerdt commented on September 21, 2024

Out of curiosity, which driver modules did you encounter this problem with?

from soapysdr.

npm-sdr avatar npm-sdr commented on September 21, 2024

It's a custom driver module I wrote for my own hardware - I started with rtlsdr Soapy driver module as a starting point. I have two different generations of H/W and for this I created two different Soapy driver modules so that I can link each Soapy driver module against a hardware specific low-level driver library. I've given these Soapy driver modules unique driver names as below and built 2 independent shared libraries:

static SoapySDR::Registry registerSDRFE("soapy_sdrfe_sc5", &findSDRFE, &makeSDRFE, SOAPY_SDR_ABI_VERSION);

and

static SoapySDR::Registry registerSDRFE("soapy_sdrfe_sc7", &findSDRFE, &makeSDRFE, SOAPY_SDR_ABI_VERSION);

from soapysdr.

zuckschwerdt avatar zuckschwerdt commented on September 21, 2024

Effectively all your symbols are duplicated, and perhaps one of registerSDRFE, findSDRFE, makeSDRFE then creates this problem? You might be the first one to encounter this oddity then :) It should go away when stripping the symbols (nm -u) from the modules, right?

Nevertheless the suggestion to explicity choose RTLD_LOCAL seems a good idea.

from soapysdr.

npm-sdr avatar npm-sdr commented on September 21, 2024

I tried renaming findSDRFE/makeSDRFE to findSDRFE_sc5/makeSDRFE_sc5 and findSDRFE_sc7/makeSDRFE_sc7 in the 2 Soapy driver modules and that didn't help. Also tried stripping the symbols and that didn't work either.

from soapysdr.

npm-sdr avatar npm-sdr commented on September 21, 2024

@zuckschwerdt, is SoapySDR still being maintained? There hasn't been any commits or bug fixes since middle of last year.

from soapysdr.

zuckschwerdt avatar zuckschwerdt commented on September 21, 2024

There are admins still around and active maintainers tending mostly to the modules. I guess development slowed down as things are working well and are somewhat feature-complete?

I'll PR this fix and merge it in ~2 weeks -- should give everyone a chance to chime in if needed.

from soapysdr.

npm-sdr avatar npm-sdr commented on September 21, 2024

There are admins still around and active maintainers tending mostly to the modules. I guess development slowed down as things are working well and are somewhat feature-complete?

I'll PR this fix and merge it in ~2 weeks -- should give everyone a chance to chime in if needed.

Great - thank you.

from soapysdr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.