rtl-sdr: compiling problems under windows using cygwin?

Simon Eigeldinger simon.eigeldinger at vol.at
Sat Apr 18 13:00:07 UTC 2015


Hi all,

I just tried compiling rtl-sdr under cygwin and got the following 
output. maybe someone has a tip for me here:


$ make

Scanning dependencies of target convenience_static
[  5%] Building C object 
src/CMakeFiles/convenience_static.dir/convenience/conve
nience.c.o
Linking C static library libconvenience_static.a
[  5%] Built target convenience_static
Scanning dependencies of target rtlsdr_shared
[ 10%] Building C object src/CMakeFiles/rtlsdr_shared.dir/librtlsdr.c.o
[ 15%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_e4k.c.o
[ 20%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0012.c.o
[ 25%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc0013.c.o
[ 30%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_fc2580.c.o
[ 35%] Building C object src/CMakeFiles/rtlsdr_shared.dir/tuner_r82xx.c.o
Linking C shared library cygrtlsdr-0.dll
[ 35%] Built target rtlsdr_shared
Scanning dependencies of target rtl_adsb
[ 40%] Building C object src/CMakeFiles/rtl_adsb.dir/rtl_adsb.c.o
Linking C executable rtl_adsb.exe
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x18b): 
undefined
reference to `rtlsdr_set_tuner_gain_mode'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x1a7): 
undefined
reference to `rtlsdr_get_tuner_gains'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x1c8): 
undefined
reference to `rtlsdr_get_tuner_gains'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x275): 
undefined
reference to `rtlsdr_set_center_freq'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x2f5): 
undefined
reference to `rtlsdr_set_sample_rate'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x375): 
undefined
reference to `rtlsdr_set_direct_sampling'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x474): 
undefined
reference to `rtlsdr_set_offset_tuning'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x4f4): 
undefined
reference to `rtlsdr_set_tuner_gain_mode'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x575): 
undefined
reference to `rtlsdr_set_tuner_gain_mode'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x58b): 
undefined
reference to `rtlsdr_set_tuner_gain'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x651): 
undefined
reference to `rtlsdr_set_freq_correction'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x6bc): 
undefined
reference to `rtlsdr_reset_buffer'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x70b): 
undefined
reference to `rtlsdr_get_device_count'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x770): 
undefined
reference to `rtlsdr_get_device_usb_strings'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x7ff): 
undefined
reference to `rtlsdr_get_device_usb_strings'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x83b): 
undefined
reference to `rtlsdr_get_device_usb_strings'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x89d): 
undefined
reference to `rtlsdr_get_device_usb_strings'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x918): 
undefined
reference to `rtlsdr_get_device_name'
libconvenience_static.a(convenience.c.o):convenience.c:(.text+0x9ca): 
undefined
reference to `rtlsdr_get_device_name'
collect2: Fehler: ld gab 1 als Ende-Status zurück
src/CMakeFiles/rtl_adsb.dir/build.make:88: die Regel für Ziel 
„src/rtl_adsb.exe“
  scheiterte
make[2]: *** [src/rtl_adsb.exe] Fehler 1
CMakeFiles/Makefile2:175: die Regel für Ziel 
„src/CMakeFiles/rtl_adsb.dir/all“ s
cheiterte
make[1]: *** [src/CMakeFiles/rtl_adsb.dir/all] Fehler 2
Makefile:117: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
http://www.avast.com




More information about the osmocom-sdr mailing list