ghpsdr3-alex icon indicating copy to clipboard operation
ghpsdr3-alex copied to clipboard

cannot find -lsdrutil due to missing -lbctoolbox in dspserver makefile

Open murray-lang opened this issue 1 year ago • 0 comments

I got cannot find -lsdrutil at the make step. Following the advice in https://github.com/alexlee188/ghpsdr3-alex/issues/55, i.e. cd trunk/src/dspserver && make libsdrutil.a && make resulted in...

/usr/bin/ld: tx.o: undefined reference to symbol 'bctbx_set_log_level_mask'
/usr/bin/ld: /lib/x86_64-linux-gnu/libbctoolbox.so.1: error adding symbols: DSO

Google turned up https://www.mail-archive.com/[email protected]/msg1778282.html, with the crucial advice: "you also need to link to -lbctoolbox" Adding -lbctoolbox to the other -ls in the Makefile fixed the dspserver build for me, and the sdrutil problem went away.

murray-lang avatar Mar 17 '23 11:03 murray-lang