Package Details: gnss-sdr-git v0.0.6.4935-1

Git Clone URL: https://aur.archlinux.org/gnss-sdr-git.git (read-only, click to copy)
Package Base: gnss-sdr-git
Description: GNSS (Global Navigation Satellite System) software receiver
Upstream URL: http://gnss-sdr.org
Licenses: GPL3
Conflicts: gnss-sdr
Provides: gnss-sdr
Submitter: rchmielarz
Maintainer: rchmielarz
Last Packager: rchmielarz
Votes: 4
Popularity: 0.000000
First Submitted: 2015-10-09 16:14 (UTC)
Last Updated: 2019-09-05 20:12 (UTC)

Latest Comments

1 2 Next › Last »

dreieck commented on 2024-02-15 21:12 (UTC) (edited on 2024-02-15 21:26 (UTC) by dreieck)

Build fails for me while linking, even if I add options+=('!lto') to the PKGBUILD:

[...]
[100%] Linking CXX executable gnss-sdr
/usr/bin/ld: warning: librtlsdr.so.2, needed by /usr/lib/libgnuradio-osmosdr.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_xtal_freq'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_reset_buffer'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_device_usb_strings'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_tuner_if_gain'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_cancel_async'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_agc_mode'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_tuner_gain_mode'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_sample_rate'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_usb_strings'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_tuner_gains'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_tuner_gain'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_direct_sampling'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_xtal_freq'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_index_by_serial'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_freq_correction'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_offset_tuning'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_center_freq'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_tuner_gain'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_close'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_tuner_type'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_center_freq'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_open'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_read_async'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_freq_correction'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_sample_rate'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_set_bias_tee'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_device_count'
/usr/bin/ld: /usr/lib/libgnuradio-osmosdr.so: undefined reference to `rtlsdr_get_device_name'
collect2: error: ld returned 1 exit status
make[2]: *** [src/main/CMakeFiles/gnss-sdr.dir/build.make:178: src/main/gnss-sdr] Error 1
make[1]: *** [CMakeFiles/Makefile2:2348: src/main/CMakeFiles/gnss-sdr.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

(As rtl-sdr provider I have installed the package rtl-sdr-blog-git.)

Using rtl-sdr from the Arch repositories makes it building.
(↗ Comment at rtl-sdr-blog-git)

Regards!

dreieck commented on 2024-02-15 20:57 (UTC)

Please strip off the leading v from $pkgver as required by the Arch Linux VCS packaging guidelines.

Regards and thanks for maintaining!

MarsSeed commented on 2023-08-13 13:21 (UTC)

I recommend to switch this to depend on the optimized blas-openblas instead of the slow blas.

Distag commented on 2022-03-20 10:34 (UTC) (edited on 2022-03-23 10:23 (UTC) by Distag)

Hello,

It seems not work correctly.

I installed the package. I followed the “Hello, world!” for GNSS-SDR from https://gnss-sdr.org/my-first-fix/ . But I obtain the following error:

gnss-sdr --config_file=./my-first-GNSS-SDR-receiver.conf
Initializing GNSS-SDR v0.0.16 ... Please wait.
Logging will be written at "/tmp"
Use gnss-sdr --log_dir=/path/to/log to change that.
RF Channels: 1
Starting a TCP/IP server of RTCM messages on port 2101
The TCP/IP server of RTCM messages is up and running. Accepting connections ...
Processing file /home/user/work/2013_04_04_GNSS_SIGNAL_at_CTTC_SPAIN/2013_04_04_GNSS_SIGNAL_at_CTTC_SPAIN.dat, which contains 800000000 samples (1600000000 bytes)
GNSS signal recorded time to be processed: 99.95 [s]
/usr/include/c++/11.2.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::complex<float>; _Alloc = volk_gnsssdr::alloc<std::complex<float> >; std::vector<_Tp, _Alloc>::reference = std::complex<float>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
/usr/include/c++/11.2.0/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = std::complex<float>; _Alloc = volk_gnsssdr::alloc<std::complex<float> >; std::vector<_Tp, _Alloc>::reference = std::complex<float>&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
[1]    19064 IOT instruction (core dumped)  gnss-sdr --config_file=./my-first-GNSS-SDR-receiver.conf

EDIT: this works correctly in docker (github.com/carlesfernandez/docker-gnsssdr.git)

eimis commented on 2019-10-12 12:25 (UTC)

Thank you rchmielarz, it does work fine now with hackrf (which also depends on the same). but I had to run for f in /usr/lib/libboost_*.so; do ln -s $f $f.1.69.0; done as boost had updated (recompiling this package didn't help).

rchmielarz commented on 2019-09-05 20:13 (UTC) (edited on 2019-09-05 20:13 (UTC) by rchmielarz)

This is what You get for doing a commit late at night.. @eimis: please check if it works for You now, I've deleted the unit test binaries and added dongle support by default.

eimis commented on 2019-09-05 17:42 (UTC)

I had to change line 22 to cmake -D CMAKE_INSTALL_PREFIX=/usr -DENABLE_OSMOSDR=ON -DENABLE_UNIT_TESTING=OFF .. for my cheapo rtl sdr to work

rchmielarz commented on 2019-09-03 21:54 (UTC)

Hi,

Package has been updated and at least it is building. I'm not a very active maintainer by this point so if anybody wants to take over feel free.

jdsnape commented on 2019-09-03 13:53 (UTC)

I also had to change the dependency from gnutls-openssl to gnutls. I also had to install some missing libraries (pacman -S boost hdf5) and apply the below patch to stop it complaining about an 'in-tree' build.

diff --unified --recursive --text gnss-sdr.orig/CMakeLists.txt gnss-sdr.new/CMakeLists.txt --- gnss-sdr.orig/CMakeLists.txt 2019-09-03 14:35:15.070725342 +0100 +++ gnss-sdr.new/CMakeLists.txt 2019-09-03 14:35:38.484112585 +0100 @@ -19,9 +19,9 @@ ################################################################################ # Project setup ################################################################################ -if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) - message(FATAL_ERROR "Prevented in-tree build, it is bad practice.\nTry 'cd build && cmake ..' instead.") -endif() +# if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR}) +# message(FATAL_ERROR "Prevented in-tree build, it is bad practice.\nTry 'cd build && cmake ..' instead.") +# endif()

cmake_minimum_required(VERSION 2.8.12...3.15) project(gnss-sdr CXX C)