Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile on Jessie will fail in 2023. #650

Open
riku2015 opened this issue Nov 3, 2023 · 2 comments
Open

Compile on Jessie will fail in 2023. #650

riku2015 opened this issue Nov 3, 2023 · 2 comments

Comments

@riku2015
Copy link

riku2015 commented Nov 3, 2023

Having old system where is debian 8 jessie, a modern svxlink will fail to compile, reason why i need it is Incompatible protocol version when using remotertx. Latest stable svxlink will compile but protocol version.
Maybe upgrade cmake to detect old compiler or libs?
Tried to remove echolink but still other files using async.. as i only need remotertx.
Will fix this issue probably by upgrading whole PC system and reinstalling newer os when have time.

riku@websdr:/work/src$ git clone https://github.com/sm0svx/svxlink.git
Cloning into 'svxlink'...
remote: Enumerating objects: 34036, done.
remote: Counting objects: 100% (1171/1171), done.
remote: Compressing objects: 100% (543/543), done.
remote: Total 34036 (delta 842), reused 815 (delta 623), pack-reused 32865
Receiving objects: 100% (34036/34036), 9.80 MiB | 6.16 MiB/s, done.
Resolving deltas: 100% (24877/24877), done.
Checking connectivity... done.
riku@websdr:/work/src$ cd svxlink/src
riku@websdr:/work/src/svxlink/src$ mkdir build
riku@websdr:/work/src/svxlink/src$ cd build
riku@websdr:/work/src/svxlink/src/build$ cmake -DCMAKE_INSTALL_PREFIX=/opt/svxlink -DSYSCONF_INSTALL_DIR=/opt -DSVX_SYSCONF_INSTALL_DIR=/opt/svxlink -DLOCAL_STATE_DIR=/opt/svxlink -DUSE_QT=no -DSVXLINK_USER=riku -DSVXLINK_GROUP=riku ..
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for module 'sigc++-2.0'
--   found sigc++-2.0, version 2.4.0
-- Found SIGC2: /usr/lib/x86_64-linux-gnu/libsigc-2.0.so  
-- Found chown: /bin/chown
-- SvxLink user = riku
-- SvxLink group = riku
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.8") 
-- Found groff: /usr/bin/groff
-- Found gzip: /bin/gzip
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found DL: /usr/lib/x86_64-linux-gnu/libdl.so  
-- Found RT: /usr/lib/x86_64-linux-gnu/librt.so  
-- Found Speex: /usr/lib/x86_64-linux-gnu/libspeex.so (found version "1.2rc1") 
-- Found Opus: /usr/lib/x86_64-linux-gnu/libopus.so (found version "1.1") 
-- Found OGG: /usr/lib/x86_64-linux-gnu/libogg.so (found version "1.3.2") 
-- checking for module 'alsa'
--   found alsa, version 1.0.28
-- checking for module 'popt'
--   found popt, version 1.16
-- Found Popt: /usr/lib/x86_64-linux-gnu/libpopt.so  
-- With Systemd = OFF
-- Looking for HIDIOCGRAWINFO
-- Looking for HIDIOCGRAWINFO - found
-- Found GCrypt: /usr/lib/x86_64-linux-gnu/libgcrypt.so  
-- Found RtlSdr: /usr/local/lib/librtlsdr.so;/usr/lib/x86_64-linux-gnu/libusb-1.0.so  
-- Could NOT find GPIOD (missing:  GPIOD_LIBRARY GPIOD_INCLUDE_DIR) 
--   The gpiod library is an optional dependency.
--   Accessing GPIO pins using GPIOD will be unavailable.
--   Access through the deprecated sysfs interface will still
--   work though.
-- checking for module 'jsoncpp'
--   found jsoncpp, version 0.6.0
-- Found Tclsh: /usr/bin/tclsh (found version "8.6") 
-- Found TCL: /usr/lib/x86_64-linux-gnu/libtcl.so
-- Found CURL: /usr/include  
-- Package Version = 19.09.1.341.g5c5b05f
-- Configuring done
-- Generating done
-- Build files have been written to: /work/src/svxlink/src/build
riku@websdr:/work/src/svxlink/src/build$ make
Scanning dependencies of target asynccore
[  0%] Building CXX object async/core/CMakeFiles/asynccore.dir/AsyncApplication.cpp.o
In file included from /work/src/svxlink/src/async/core/AsyncApplication.cpp:60:0:
/work/src/svxlink/src/async/core/AsyncFdWatch.h:164:31: error: expected ',' or '...' before '&&' token
     FdWatch& operator=(FdWatch&& other);
                               ^
async/core/CMakeFiles/asynccore.dir/build.make:54: recipe for target 'async/core/CMakeFiles/asynccore.dir/AsyncApplication.cpp.o' failed
make[2]: *** [async/core/CMakeFiles/asynccore.dir/AsyncApplication.cpp.o] Error 1
CMakeFiles/Makefile2:866: recipe for target 'async/core/CMakeFiles/asynccore.dir/all' failed
make[1]: *** [async/core/CMakeFiles/asynccore.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
riku@websdr:/work/src/svxlink/src/build$ 

@f5vmr
Copy link

f5vmr commented Nov 3, 2023 via email

@riku2015
Copy link
Author

riku2015 commented Nov 3, 2023

Yeah, I understand we are moving on, but it would be nice to know what to upgrade if needed. Sometimes old systems. As I have also 5x c.h.i.p:s, they all run, if I remember correctly, jessie and runned past alot svxlink. Protocol change on remoterxtx, I don’t know what is so different, only that there is less options and audio goes through network. But yeah, upgrading system should be priority, as mine is running websdr.fi. My intention is to get signal from it(shared rtl-sdr) to voter :) For now i could route audio via nc tool trough network to other device :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants