pi@RaspiNura:~ $ sudo apt install build-essential libtool automake autoconf librtlsdr-dev libfftw3-dev
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
autoconf ya está en su versión más reciente (2.69-11).
automake ya está en su versión más reciente (1:1.16.1-4).
build-essential ya está en su versión más reciente (12.6).
libfftw3-dev ya está en su versión más reciente (3.3.8-2).
libtool ya está en su versión más reciente (2.4.6-9).
librtlsdr-dev ya está en su versión más reciente (0.6-1+rpt1).
El paquete indicado a continuación se instaló de forma automática y ya no es necesario.
point-rpi
Utilice «sudo apt autoremove» para eliminarlo.
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 0 no actualizados.
pi@RaspiNura:~ $ git clone
https://github.com/steve-m/kalibrate-rtl
fatal: la ruta de destino 'kalibrate-rtl' ya existe y no es un directorio vacío.
pi@RaspiNura:~ $ cd kalibrate-rtl/
pi@RaspiNura:~/kalibrate-rtl $ ./bootstrap && CXXFLAGS='-W -Wall -O3'
pi@RaspiNura:~/kalibrate-rtl $ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for inline... inline
checking for working strtod... yes
checking for floor... no
checking for getpagesize... yes
checking for memset... yes
checking for sqrt... no
checking for strtoul... yes
checking for strtol... yes
checking for library containing basename... none required
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FFTW3... yes
checking for LIBRTLSDR... yes
checking for rtlsdr_set_dithering in -lrtlsdr... no
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
pi@RaspiNura:~/kalibrate-rtl $ make
make all-recursive
make[1]: se entra en el directorio '/home/pi/kalibrate-rtl'
Making all in src
make[2]: se entra en el directorio '/home/pi/kalibrate-rtl/src'
g++ -I/ -g -O2 -o kal kal-arfcn_freq.o kal-c0_detect.o kal-circular_buffer.o kal-fcch_detector.o kal-kal.o kal-offset.o kal-usrp_source.o kal-util.o -lfftw3 -L -lrtlsdr -lrt
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source::~usrp_source()':
/home/pi/kalibrate-rtl/src/usrp_source.cc:89: referencia a `rtlsdr_close' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source::tune(double)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:135: referencia a `rtlsdr_set_center_freq' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:140: referencia a `rtlsdr_get_center_freq' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source:
et_freq_correction(int)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:150: referencia a `rtlsdr_set_freq_correction' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source:
et_gain(float)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:170: referencia a `rtlsdr_set_tuner_gain_mode' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:175: referencia a `rtlsdr_set_tuner_gain' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source::open(unsigned int)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:191: referencia a `rtlsdr_get_device_count' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:199: referencia a `rtlsdr_get_device_name' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:202: referencia a `rtlsdr_get_device_name' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:206: referencia a `rtlsdr_open' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:213: referencia a `rtlsdr_set_sample_rate' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:218: referencia a `rtlsdr_reset_buffer' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:218: referencia a `rtlsdr_reset_buffer' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source::fill(unsigned int, unsigned int*)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:245: referencia a `rtlsdr_read_sync' sin definir
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:403: kal] Error 1
make[2]: se sale del directorio '/home/pi/kalibrate-rtl/src'
make[1]: *** [Makefile:378: all-recursive] Error 1
make[1]: se sale del directorio '/home/pi/kalibrate-rtl'
make: *** [Makefile:319: all] Error 2
pi@RaspiNura:~/kalibrate-rtl $ sudo make install
Making install in src
make[1]: se entra en el directorio '/home/pi/kalibrate-rtl/src'
g++ -I/ -g -O2 -o kal kal-arfcn_freq.o kal-c0_detect.o kal-circular_buffer.o kal-fcch_detector.o kal-kal.o kal-offset.o kal-usrp_source.o kal-util.o -lfftw3 -L -lrtlsdr -lrt
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source::~usrp_source()':
/home/pi/kalibrate-rtl/src/usrp_source.cc:89: referencia a `rtlsdr_close' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source::tune(double)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:135: referencia a `rtlsdr_set_center_freq' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:140: referencia a `rtlsdr_get_center_freq' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source:
et_freq_correction(int)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:150: referencia a `rtlsdr_set_freq_correction' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source:
et_gain(float)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:170: referencia a `rtlsdr_set_tuner_gain_mode' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:175: referencia a `rtlsdr_set_tuner_gain' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source::open(unsigned int)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:191: referencia a `rtlsdr_get_device_count' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:199: referencia a `rtlsdr_get_device_name' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:202: referencia a `rtlsdr_get_device_name' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:206: referencia a `rtlsdr_open' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:213: referencia a `rtlsdr_set_sample_rate' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:218: referencia a `rtlsdr_reset_buffer' sin definir
/usr/bin/ld: /home/pi/kalibrate-rtl/src/usrp_source.cc:218: referencia a `rtlsdr_reset_buffer' sin definir
/usr/bin/ld: kal-usrp_source.o: en la función `usrp_source::fill(unsigned int, unsigned int*)':
/home/pi/kalibrate-rtl/src/usrp_source.cc:245: referencia a `rtlsdr_read_sync' sin definir
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:403: kal] Error 1
make[1]: se sale del directorio '/home/pi/kalibrate-rtl/src'
make: *** [Makefile:378: install-recursive] Error 1
pi@RaspiNura:~/kalibrate-rtl $ rtl_test -p
Found 1 device(s):
0: Realtek, RTL2838UHIDIR, SN: 00000001
Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Supported gain values (29): 0.0 0.9 1.4 2.7 3.7 7.7 8.7 12.5 14.4 15.7 16.6 19.7 20.7 22.9 25.4 28.0 29.7 32.8 33.8 36.4 37.2 38.6 40.2 42.1 43.4 43.9 44.5 48.0 49.6
[R82XX] PLL not locked!
Sampling at 2048000 S/s.
Reporting PPM error measurement every 10 seconds...
Press ^C after a few minutes.
Reading samples in async mode...
Allocating 15 zero-copy buffers
lost at least 64 bytes
lost at least 296 bytes
real sample rate: 2047772 current PPM: -111 cumulative PPM: -111
real sample rate: 2048005 current PPM: 2 cumulative PPM: -53
real sample rate: 2048010 current PPM: 5 cumulative PPM: -33
real sample rate: 2047984 current PPM: -7 cumulative PPM: -27
real sample rate: 2048023 current PPM: 11 cumulative PPM: -19
real sample rate: 2048015 current PPM: 7 cumulative PPM: -15
real sample rate: 2048006 current PPM: 3 cumulative PPM: -12
real sample rate: 2047993 current PPM: -3 cumulative PPM: -11
real sample rate: 2048019 current PPM: 9 cumulative PPM: -9
real sample rate: 2048001 current PPM: 1 cumulative PPM: -8
real sample rate: 2048006 current PPM: 3 cumulative PPM: -7
real sample rate: 2048002 current PPM: 1 cumulative PPM: -6
real sample rate: 2048017 current PPM: 8 cumulative PPM: -5
real sample rate: 2048002 current PPM: 1 cumulative PPM: -4
real sample rate: 2048008 current PPM: 4 cumulative PPM: -4
real sample rate: 2047992 current PPM: -4 cumulative PPM: -4
real sample rate: 2048018 current PPM: 9 cumulative PPM: -3
real sample rate: 2047996 current PPM: -2 cumulative PPM: -3
real sample rate: 2048020 current PPM: 10 cumulative PPM: -2
real sample rate: 2047992 current PPM: -4 cumulative PPM: -2
real sample rate: 2048003 current PPM: 1 cumulative PPM: -2
real sample rate: 2047972 current PPM: -13 cumulative PPM: -3
real sample rate: 2047965 current PPM: -17 cumulative PPM: -3
real sample rate: 2047971 current PPM: -14 cumulative PPM: -4
real sample rate: 2047964 current PPM: -17 cumulative PPM: -4
real sample rate: 2047985 current PPM: -7 cumulative PPM: -4
real sample rate: 2047967 current PPM: -16 cumulative PPM: -5
real sample rate: 2047963 current PPM: -18 cumulative PPM: -5
real sample rate: 2047985 current PPM: -7 cumulative PPM: -5
real sample rate: 2047971 current PPM: -14 cumulative PPM: -6
real sample rate: 2047981 current PPM: -9 cumulative PPM: -6
real sample rate: 2047972 current PPM: -13 cumulative PPM: -6
real sample rate: 2047961 current PPM: -19 cumulative PPM: -6
real sample rate: 2047983 current PPM: -8 cumulative PPM: -6
real sample rate: 2047980 current PPM: -9 cumulative PPM: -7
real sample rate: 2047982 current PPM: -8 cumulative PPM: -7
real sample rate: 2047953 current PPM: -23 cumulative PPM: -7
real sample rate: 2047996 current PPM: -2 cumulative PPM: -7
real sample rate: 2047980 current PPM: -9 cumulative PPM: -7
real sample rate: 2047973 current PPM: -13 cumulative PPM: -7
real sample rate: 2047969 current PPM: -15 cumulative PPM: -7
real sample rate: 2047992 current PPM: -4 cumulative PPM: -7
real sample rate: 2047985 current PPM: -7 cumulative PPM: -7
real sample rate: 2047979 current PPM: -10 cumulative PPM: -7
real sample rate: 2047972 current PPM: -13 cumulative PPM: -7
real sample rate: 2047989 current PPM: -5 cumulative PPM: -7
^CSignal caught, exiting!
User cancel, exiting...
Samples per million lost (minimum): 0
pi@RaspiNura:~/kalibrate-rtl $ kal -s 900 -g 49.6 -e -7
bash: kal: orden no encontrada
pi@RaspiNura:~/kalibrate-rtl $ cd
pi@RaspiNura:~ $ kal -s 900 -g 49.6 -e -7
bash: kal: orden no encontrada
pi@RaspiNura:~ $