setup_init.sh errors

Discuss KerberosSDR - 4x Coherent RTL-SDR
Post Reply
dr_radar
Posts: 2
Joined: Sat May 23, 2020 12:20 pm

setup_init.sh errors

Post by dr_radar » Sat May 23, 2020 12:24 pm

Hey

I'm setting up the Kerberos on a Ubuntu laptop (18.04 LTS).

I have followed the instructions here https://www.rtl-sdr.com/ksdr/but when running the setup_init.sh file I get the following errors

Code: Select all

Compile C files
gcc -Wall -march=native rtl_daq.c -lpthread -lrtlsdr -o rtl_daq
rtl_daq.c: In function ‘main’:
rtl_daq.c:361:7: warning: unused variable ‘data_ready’ [-Wunused-variable]
   int data_ready = 1;
       ^~~~~~~~~~
rtl_daq.c:340:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
     int rc;
         ^~
/tmp/ccP7C4hF.o: In function `fifo_read_tf':
rtl_daq.c:(.text+0x302): undefined reference to `rtlsdr_set_gpio'
rtl_daq.c:(.text+0x33d): undefined reference to `rtlsdr_set_gpio'
/tmp/ccP7C4hF.o: In function `read_thread_entry':
rtl_daq.c:(.text+0x42f): undefined reference to `rtlsdr_set_dithering'
collect2: error: ld returned 1 exit status
Makefile:27: recipe for target 'rtl_daq' failed
make: *** [rtl_daq] Error 1
[ INFO ] Set file executation rights
chmod: cannot access '_receiver/C/rtl_daq': No such file or directory
chmod: cannot access '_receiver/C/sim': No such file or directory
chmod: cannot access '_receiver/C/sync': No such file or directory
chmod: cannot access '_receiver/C/gate': No such file or directory

Post Reply