alexlee188 / ghpsdr3-alex

Modifications of John Melton's ghpsdr3
GNU General Public License v3.0
63 stars 38 forks source link

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

Open murray-lang opened 1 year ago

murray-lang commented 1 year ago

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/debian-bugs-dist@lists.debian.org/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.