sm0svx / svxlink

Advanced repeater system software with EchoLink support for Linux including a GUI, Qtel - the Qt EchoLink client
http://svxlink.org/
Other
435 stars 173 forks source link

Compile on Jessie will fail in 2023. #650

Open riku2015 opened 11 months ago

riku2015 commented 11 months ago

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 commented 11 months ago

The current version is recommended to be installed on buster or bullseye. I have used bullseye Debian 11 for some time. There are too many holes in the repos for bookworm Debian 12. To use any OS prior to buster, will generate issues. Many of the repos for the necessary software will have gone to archive or even gone altogether. Best of luck with the upgrade.

On Fri, 3 Nov 2023, 14:47 riku2015, @.***> wrote:

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.

@.:/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. @.:/work/src$ cd svxlink/src @.:/work/src/svxlink/src$ mkdir build @.:/work/src/svxlink/src$ cd build @.:/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 @.:/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 @.:/work/src/svxlink/src/build$

— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/650, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5EMELZV6VX72JAQMBDYCT7Z5AVCNFSM6AAAAAA64RSEJGVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TMMZWG4YTOOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

riku2015 commented 11 months ago

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