¿ªÔÆÌåÓý


Need toroids

 

A bit off topic but...
?
I'm running Direwolf with an Easy Digi and a Kenwood TH-F6. RF feedback has been a problem that I have confirmed by running on a dummy load while near another station.? I think I saw a Toroid kit mentioned somewhere but don't have a clue as to what forum. Any suggestions?
?
Thanks
Dave
WB9TEN
?


Re: Compile Error Assistance

 

As it is, digi¡¯ing back on the same channel is marked high priority while cross-channel digi¡¯ing is not. ?Those cross-channel digi¡¯ing could be sent out, one channel at a time after the channel with high priority completes its transmission, in my opinion.
?
-Jeffrey Komori, KH6JUZ


Re: Compile Error Assistance

 

Hi Jeffrey,

While one transmit at a time has some advantage with regards to the DC power budget, there is a reason that digipeated packets are the only packets that are being transmitted with high priority: everybody aware of the original packet should ideally retransmit it at the very same time. Delayed digipeating does cause problems.

73,
Thomas
KK6FPP


Re: Compile Error Assistance

 

John,
While we¡¯re on topic of modifying src/direwolf.h, is there a way to have DireWolf transmit on one channel at a time?
Currently when an APRS packet comes in, all four radios transmits simultaneously and it would be nice if there is a way to have only 1 radio transmit at a time (where each channel takes its turn).
Thanks,
-Jeffrey Komori, KH6JUZ


Re: Compile Error Assistance

 

aprs@KH6JUZ-12:~/direwolf $ cat /etc/direwolf.conf
#
#
ADEVICE plughw:USBINSIDE,0
ARATE 48000
ACHANNELS 1
CHANNEL 0
MYCALL KH6JUZ-12
MODEM 1200 E+ /2
FX25TX 1
PTT CM108
#
#
ADEVICE1 plughw:USBMIDDLE,0
ARATE 96000
ACHANNELS 1
CHANNEL 2
MYCALL KH6JUZ-12
MODEM 9600 +
FX25TX 1
#IL2PTX
PTT CM108
#
#
ADEVICE2 plughw:USBOUTSIDE,0
ARATE 96000
ACHANNELS 1
CHANNEL 4
MYCALL KH6JUZ-12
MODEM 9600 +
FX25TX 1
PTT CM108
#
ADEVICE3 plughw:USBEND,0
ARATE 96000
ACHANNELS 1
CHANNEL 6
MYCALL KH6JUZ-12
MODEM 9600 +
FX25TX 1
PTT CM108
#
AGWPORT 8000
KISSPORT 8001
#
FIX_BITS 0
#
CBEACON sendto=0 ?slot=12 every=60 infocmd="/etc/cbeacon.sh" via=WIDE2-2
CBEACON sendto=2 ?slot=12 every=60 infocmd="/etc/cbeacon.sh" via=WIDE2-2
CBEACON sendto=4 ?slot=12 every=60 infocmd="/etc/cbeacon.sh" via=WIDE2-2
CBEACON sendto=6 ?slot=12 every=60 infocmd="/etc/cbeacon.sh" via=WIDE2-2
#CBEACON sendto=IG slot=12 every=60 infocmd="/etc/cbeacon.sh"
#
PBEACON sendto=0 ?slot=12 every=15 overlay=T symbol="igate" lat=21^35.50N long=158^06.44W comment=" Haleiwa / North Shore Oahu Hawaii USA" via=WIDE2-2
PBEACON sendto=2 ?slot=12 every=15 overlay=T symbol="igate" lat=21^35.50N long=158^06.44W comment=" Haleiwa / North Shore Oahu Hawaii USA" via=WIDE2-2
PBEACON sendto=4 ?slot=12 every=15 overlay=T symbol="igate" lat=21^35.50N long=158^06.44W comment=" Haleiwa / North Shore Oahu Hawaii USA" via=WIDE2-2
PBEACON sendto=6 ?slot=12 every=15 overlay=T symbol="igate" lat=21^35.50N long=158^06.44W comment=" Haleiwa / North Shore Oahu Hawaii USA" via=WIDE2-2
#PBEACON sendto=IG slot=12 every=15 overlay=T symbol="igate" lat=21^35.50N long=158^06.44W comment=" Haleiwa / North Shore Oahu Hawaii USA"
#
# only Digi Direct-heard on 144.39
#FILTER 0 0 ! d/*
#
DIGIPEAT 0 0 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 0 2 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 0 4 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 0 6 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 2 0 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 2 2 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 2 4 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 2 6 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 4 0 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 4 2 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 4 4 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 4 6 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 6 0 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 6 2 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 6 4 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
DIGIPEAT 6 6 ^WIDE[3-7]-[1-7]$|^TEST$ ^WIDE[12]-[12]$ TRACE
#
IGSERVER noam.aprs2.net
IGLOGIN xxxxxx xxxxxxxx
#
# Path of IS-RF
IGTXVIA 0 WIDE2-1
IGTXVIA 2 WIDE2-1
IGTXVIA 4 WIDE2-1
IGTXVIA 6 WIDE2-1
#
# Server side filtering
#IGFILTER m/120.7
#IGFILTER t/m/KH6JUZ-12/100
#
# Client side filtering
#FILTER IG 0 t/m | i/180
#FILTER IG 2 t/m | i/180
#FILTER IG 4 t/m | i/180
#FILTER IG 6 t/m | i/180
#
# IS-RF limits 1min & 5min
IGTXLIMIT 6 30
#
GPSD
#TBEACON EVERY=5 SYMBOL=igate OVERLAY=T alt=1
LOGDIR /home/aprs/logs
#


Re: Compile Error Assistance

 

vi src/direwolf.h
?
changed:
#define MAX_ADEVS 4
?
?


Re: Compile Error Assistance

 

?
Did you modify the source code to allow more than 3 audio devices?? (obviously, yes) ? Where? How?
?
What is in your configuration file?? I would like to reproduce the issue here.
?
73,
John WB2OSZ
?


Re: Compile Error Assistance

 

/usr/local/bin/direwolf -T %H:%M:%S -c /etc/direwolf.conf


Re: Compile Error Assistance

 

As David pointed out, the extra messages during compiling are harmless warnings that can be ignored.
?
The extra messages during run-time are debug messages, not errors.? They are harmless.
?
The question is:? Why are they suddenly showing up??? The related source code has not been changed for many years.
?
What, exactly, does your direwolf command line look like?
?
73,
John WB2OSZ


Re: Compile Error Assistance

 

¿ªÔÆÌåÓý


Understood.? What was the previous version of Direwolf that was successful?? If it's a 1.8DEV version, do you happen to know the date?? I ask all this because while 1.8 should be stable, it is the develop branch and breakages do occur.? If you want the most stable version, it's recommended to run the Direwolf 1.7 release version.

--David
Ki6ZHD


On 09/25/2024 11:38 AM, Jeffrey Komori (KH6JUZ) via groups.io wrote:

As I previously stated (in my opening), I have been successfully using DireWolf with this setup (4 soundcards on 4 radios w/RPi) on previous compilations. ?I¡¯ve only started seeing this error come up over the past month or so.
?
-Jeffrey Komori, KH6JUZ
?
?


Re: Compile Error Assistance

 

As I previously stated (in my opening), I have been successfully using DireWolf with this setup (4 soundcards on 4 radios w/RPi) on previous compilations. ?I¡¯ve only started seeing this error come up over the past month or so.
?
-Jeffrey Komori, KH6JUZ
?
?


Re: Compile Error Assistance

 

¿ªÔÆÌåÓý


Hello Jeffrey,

I would encourage you to review the archives but I would also recommend you run four independent direwolf instances with one sound device per instance to maximize your APRS performance.? The primary reason for this is direwolf does it's transmissions in a sequential basis so that can inject delays where as if you have four direwolf's running.. they will run completely independently.? Having four instances also gives you a bit more fault isolation, etc. though at the small cost of additional RAM consumption.

--David
KI6ZHD



On 09/25/2024 11:09 AM, Jeffrey Komori (KH6JUZ) via groups.io wrote:

I am using a Raspberry Pi5 w/8MB, 4 x Masters Communications DRA-45M, BridgeComSys 2 x BCM-144, 1 x BCM-220 & 1 x BCM-440.
?
-Jeffrey Komori, KH6JUZ


Re: Compile Error Assistance

 

I am using a Raspberry Pi5 w/8MB, 4 x Masters Communications DRA-45M, BridgeComSys 2 x BCM-144, 1 x BCM-220 & 1 x BCM-440.
?
-Jeffrey Komori, KH6JUZ


Re: Compile Error Assistance

 

¿ªÔÆÌåÓý


Hello Jeffrey,

?
$ direwolf -c /etc/direwolf.conf
Dire Wolf DEVELOPMENT version 1.8 D (Sep 25 2024)
Includes optional support for: ?gpsd cm108-ptt libgpiod dns-sd
Reading config file /etc/direwolf.conf
Audio device for both receive and transmit: plughw:USBINSIDE,0 ?(channel 0)
Audio device for both receive and transmit: plughw:USBMIDDLE,0 ?(channel 2)
Audio device for both receive and transmit: plughw:USBOUTSIDE,0 ?(channel 4)
Audio device for both receive and transmit: plughw:USBEND,0 ?(channel 6)

Please describe your setup here.? I see you have FOUR sound sources configured in Direwolf.? Are these four unique sound devices, or four unique SDR hardware devices, maybe four slices off one SDR created via ALSA plugins?? I also assume you've mapped these devices to human friendly names in udev correct?


Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 2.
Channel 2: 9600 baud, K9NG/G3RUH, +, 96000 sample rate x 2.
The ratio of audio samples per sec (96000) to data rate in baud (9600) is 10.0
This is a suitable ratio for good performance.
Channel 4: 9600 baud, K9NG/G3RUH, +, 96000 sample rate x 2.
The ratio of audio samples per sec (96000) to data rate in baud (9600) is 10.0
This is a suitable ratio for good performance.
Channel 6: 9600 baud, K9NG/G3RUH, +, 96000 sample rate x 2.
The ratio of audio samples per sec (96000) to data rate in baud (9600) is 10.0
This is a suitable ratio for good performance.

What computer hardware are you running this all on to enable a /2 decimation value?


Using /dev/hidraw2 GPIO 3 for channel 0 PTT control.
Using /dev/hidraw1 GPIO 3 for channel 2 PTT control.
Using /dev/hidraw0 GPIO 3 for channel 4 PTT control.
Using /dev/hidraw3 GPIO 3 for channel 6 PTT control.

Having four PTT controls configured infers these are four REAL radios


dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=2, ...)
dlq_remove (type=7, chan=2, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=2, ...)
dlq_remove (type=7, chan=2, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)

Have you enabled any debugging statements to see these statements?? If you haven't enabled direwolf, you might try that to see what else you can learn:
--
?????? -d x?? Debug options.? Specify one or more of the following in place of x.
???????????????????? a = AGWPE network protocol client.
???????????????????? k = KISS serial port client.
???????????????????? n = Network KISS client.
???????????????????? u = Display non-ASCII text in hexadecimal.
???????????????????? p = Packet dump in hexadecimal.
???????????????????? g = GPS interface.
???????????????????? W = Waypoints for position or object reports.
???????????????????? t = Tracker beacon.
???????????????????? o = Output controls such as PTT and DCD.
???????????????????? i = IGate
???????????????????? h = Hamlib verbose level.? Repeat for more.
???????????????????? m = Monitor heard station list.
???????????????????? f = Packet filtering.
???????????????????? x = FX.25 increase verbose level.
???????????????????? d = APRStt (DTMF to APRS object conversion).
--


--David
KI6ZHD


Re: Compile Error Assistance

 

When I try to run the compiled version, I get these error messages (which keep repeating and no digipeat/igate happens, when I run a previously compiled version, it runs fine with the same config file):
?
$ direwolf -c /etc/direwolf.conf
Dire Wolf DEVELOPMENT version 1.8 D (Sep 25 2024)
Includes optional support for: ?gpsd cm108-ptt libgpiod dns-sd
Reading config file /etc/direwolf.conf
Audio device for both receive and transmit: plughw:USBINSIDE,0 ?(channel 0)
Audio device for both receive and transmit: plughw:USBMIDDLE,0 ?(channel 2)
Audio device for both receive and transmit: plughw:USBOUTSIDE,0 ?(channel 4)
Audio device for both receive and transmit: plughw:USBEND,0 ?(channel 6)
Channel 0: 1200 baud, AFSK 1200 & 2200 Hz, E+, 48000 sample rate / 2.
Channel 2: 9600 baud, K9NG/G3RUH, +, 96000 sample rate x 2.
The ratio of audio samples per sec (96000) to data rate in baud (9600) is 10.0
This is a suitable ratio for good performance.
Channel 4: 9600 baud, K9NG/G3RUH, +, 96000 sample rate x 2.
The ratio of audio samples per sec (96000) to data rate in baud (9600) is 10.0
This is a suitable ratio for good performance.
Channel 6: 9600 baud, K9NG/G3RUH, +, 96000 sample rate x 2.
The ratio of audio samples per sec (96000) to data rate in baud (9600) is 10.0
This is a suitable ratio for good performance.
Using /dev/hidraw2 GPIO 3 for channel 0 PTT control.
Using /dev/hidraw1 GPIO 3 for channel 2 PTT control.
Using /dev/hidraw0 GPIO 3 for channel 4 PTT control.
Using /dev/hidraw3 GPIO 3 for channel 6 PTT control.
Ready to accept AGW client application 0 on port 8000 ...
Ready to accept KISS TCP client application 0 on port 8001 ...
DNS-SD: Avahi: Announcing KISS TCP on port 8001 as 'Dire Wolf on KH6JUZ-12'
GPSD: No location fix.
DNS-SD: Avahi: Service 'Dire Wolf on KH6JUZ-12' successfully registered.
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=2, ...)
dlq_remove (type=7, chan=2, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=4, ...)
dlq_remove (type=7, chan=2, ...)
dlq_remove (type=7, chan=2, ...)
dlq_remove (type=7, chan=6, ...)
dlq_remove (type=7, chan=6, ...)


Re: Compile Error Assistance

 

¿ªÔÆÌåÓý


Hello Jeffrey,

I see you're using Debian 64bit on the 6.6.47 which I assume is running on a Raspberry Pi hardware.? Regardless, what you're seeing are just warnings and NOT errors.? Your compile completed 100%.

--David
KI6ZHD


On 09/25/2024 08:53 AM, Jeffrey Komori (KH6JUZ) via groups.io wrote:

?

Lately, when I try to download and compile the latest dev version of DireWolf, I get a lot of compile-time errors.

Not being a programmer, I don¡¯t understand what it all means and the compiled version of direwolf fails to run.

I¡¯ve included the output of my compile attempt below and would appreciate if anybody can tell me what I need to do/install to correct the errors.

?

Thanks,

-Jeffrey Komori, KH6JUZ

?

$ uname -a

Linux KH6JUZ 6.6.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.47-1+rpt1 (2024-09-02) aarch64 GNU/Linux?

?

$ git clone

Cloning into 'direwolf'...

warning: redirecting to

remote: Enumerating objects: 4052, done.

remote: Counting objects: 100% (1583/1583), done.

remote: Compressing objects: 100% (415/415), done.

remote: Total 4052 (delta 1297), reused 1301 (delta 1156), pack-reused 2469 (from 1)

Receiving objects: 100% (4052/4052), 139.53 MiB | 4.22 MiB/s, done.

Resolving deltas: 100% (2858/2858), done.

$ cd direwolf

$ git checkout dev

branch 'dev' set up to track 'origin/dev'.

Switched to a new branch 'dev'

$ vi src/direwolf.h

$ mkdir build

$ cd build

$ cmake ..

-- The C compiler identification is GNU 12.2.0

-- The CXX compiler identification is GNU 12.2.0

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /usr/bin/cc - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++ - skipped

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Found Git: /usr/bin/git (found version "2.39.5")?

-- Dire Wolf Version: 1.8.0-0734e46

-- Build type set to: Release

CMake system: Linux

-- Target architecture: ARM64

-- Use NEON SIMD instructions

-- Looking for strlcpy

-- Looking for strlcpy - not found

-- Looking for strlcat

-- Looking for strlcat - not found

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success

-- Found Threads: TRUE ?

-- Checking for module 'libgps'

-- ? Found libgps, version 3.22

-- Found GPSD: /usr/lib/aarch64-linux-gnu/libgps.so

-- Checking for module 'hamlib'

-- ? Package 'hamlib', required by 'virtual:world', not found

-- Could NOT find hamlib (missing: HAMLIB_LIBRARY HAMLIB_INCLUDE_DIR)?

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")?

-- Found gpiod: /usr/lib/aarch64-linux-gnu/libgpiod.so ?

-- Found ALSA: /usr/lib/aarch64-linux-gnu/libasound.so (found version "1.2.8")?

-- Checking for module 'libudev'

-- ? Found libudev, version 252

-- Found udev: /usr/lib/aarch64-linux-gnu/libudev.so ?

-- Found Avahi: TRUE ?

-- Configuring done

-- Generating done

-- Build files have been written to: /home/aprs/direwolf/build

$ make -j4

[ ?1%] Building C object external/misc/CMakeFiles/misc.dir/strlcpy.c.o

[ ?1%] Building C object external/geotranz/CMakeFiles/geotranz.dir/mgrs.c.o

[ ?1%] Building C object external/misc/CMakeFiles/misc.dir/strlcat.c.o

[ ?2%] Building C object external/geotranz/CMakeFiles/geotranz.dir/error_string.c.o

[ ?2%] Building C object external/geotranz/CMakeFiles/geotranz.dir/polarst.c.o

[ ?2%] Linking C static library libmisc.a

[ ?3%] Building C object external/geotranz/CMakeFiles/geotranz.dir/tranmerc.c.o

[ ?3%] Built target misc

[ ?3%] Building C object src/CMakeFiles/decode_aprs.dir/decode_aprs.c.o

[ ?4%] Building C object src/CMakeFiles/text2tt.dir/tt_text.c.o

[ ?4%] Building C object external/geotranz/CMakeFiles/geotranz.dir/ups.c.o

[ ?5%] Building C object external/geotranz/CMakeFiles/geotranz.dir/usng.c.o

[ ?5%] Building C object external/geotranz/CMakeFiles/geotranz.dir/utm.c.o

[ ?6%] Building C object src/CMakeFiles/decode_aprs.dir/deviceid.c.o

[ ?7%] Linking C static library libgeotranz.a

[ ?7%] Building C object src/CMakeFiles/decode_aprs.dir/ais.c.o

[ ?7%] Linking C executable text2tt

[ ?7%] Built target geotranz

[ ?7%] Building C object src/CMakeFiles/tt2text.dir/tt_text.c.o

[ ?7%] Built target text2tt

[ ?8%] Building C object src/CMakeFiles/ll2utm.dir/ll2utm.c.o

[ ?8%] Building C object src/CMakeFiles/ll2utm.dir/textcolor.c.o

[ ?9%] Linking C executable ll2utm

[ ?9%] Built target ll2utm

[ 10%] Building C object src/CMakeFiles/utm2ll.dir/utm2ll.c.o

[ 10%] Building C object src/CMakeFiles/utm2ll.dir/textcolor.c.o

[ 11%] Linking C executable tt2text

[ 12%] Linking C executable utm2ll

[ 12%] Built target tt2text

[ 13%] Building C object src/CMakeFiles/decode_aprs.dir/kiss_frame.c.o

[ 13%] Built target utm2ll

[ 13%] Building C object src/CMakeFiles/log2gpx.dir/log2gpx.c.o

[ 14%] Building C object src/CMakeFiles/gen_packets.dir/gen_packets.c.o

[ 14%] Building C object src/CMakeFiles/decode_aprs.dir/ax25_pad.c.o

[ 15%] Building C object src/CMakeFiles/log2gpx.dir/textcolor.c.o

[ 15%] Linking C executable log2gpx

[ 15%] Building C object src/CMakeFiles/atest.dir/atest.c.o

[ 15%] Built target log2gpx

[ 15%] Building C object src/CMakeFiles/aclients.dir/aclients.c.o

[ 15%] Building C object src/CMakeFiles/gen_packets.dir/ax25_pad.c.o

[ 16%] Building C object src/CMakeFiles/atest.dir/ais.c.o

[ 16%] Building C object src/CMakeFiles/aclients.dir/ax25_pad.c.o

[ 17%] Building C object src/CMakeFiles/decode_aprs.dir/dwgpsnmea.c.o

[ 17%] Building C object src/CMakeFiles/atest.dir/demod.c.o

[ 17%] Building C object src/CMakeFiles/decode_aprs.dir/dwgps.c.o

[ 18%] Building C object src/CMakeFiles/decode_aprs.dir/dwgpsd.c.o

[ 18%] Building C object src/CMakeFiles/decode_aprs.dir/serial_port.c.o

[ 18%] Building C object src/CMakeFiles/gen_packets.dir/ax25_pad2.c.o

[ 19%] Building C object src/CMakeFiles/decode_aprs.dir/symbols.c.o

[ 20%] Building C object src/CMakeFiles/aclients.dir/fcs_calc.c.o

[ 21%] Building C object src/CMakeFiles/gen_packets.dir/fx25_encode.c.o

[ 22%] Building C object src/CMakeFiles/atest.dir/demod_afsk.c.o

[ 22%] Building C object src/CMakeFiles/aclients.dir/textcolor.c.o

[ 22%] Building C object src/CMakeFiles/decode_aprs.dir/textcolor.c.o

[ 22%] Building C object src/CMakeFiles/gen_packets.dir/fx25_extract.c.o

[ 23%] Linking C executable aclients

[ 23%] Building C object src/CMakeFiles/decode_aprs.dir/fcs_calc.c.o

[ 23%] Built target aclients

[ 23%] Building C object src/CMakeFiles/kissutil.dir/kissutil.c.o

[ 24%] Building C object src/CMakeFiles/decode_aprs.dir/latlong.c.o

[ 24%] Building C object src/CMakeFiles/atest.dir/demod_psk.c.o

[ 24%] Building C object src/CMakeFiles/decode_aprs.dir/log.c.o

[ 25%] Building C object src/CMakeFiles/gen_packets.dir/fx25_init.c.o

[ 26%] Building C object src/CMakeFiles/kissutil.dir/kiss_frame.c.o

[ 26%] Building C object src/CMakeFiles/kissutil.dir/ax25_pad.c.o

[ 27%] Building C object src/CMakeFiles/decode_aprs.dir/telemetry.c.o

[ 27%] Building C object src/CMakeFiles/gen_packets.dir/fx25_send.c.o

[ 28%] Building C object src/CMakeFiles/atest.dir/demod_9600.c.o

[ 29%] Building C object src/CMakeFiles/gen_packets.dir/hdlc_send.c.o

[ 29%] Building C object src/CMakeFiles/decode_aprs.dir/tt_text.c.o

[ 29%] Building C object src/CMakeFiles/gen_packets.dir/fcs_calc.c.o

[ 29%] Building C object src/CMakeFiles/atest.dir/dsp.c.o

[ 30%] Building C object src/CMakeFiles/gen_packets.dir/gen_tone.c.o

[ 31%] Building C object src/CMakeFiles/atest.dir/fx25_extract.c.o

[ 31%] Building C object src/CMakeFiles/gen_packets.dir/il2p_codec.c.o

[ 32%] Building C object src/CMakeFiles/gen_packets.dir/il2p_scramble.c.o

[ 33%] Linking C executable decode_aprs

[ 33%] Building C object src/CMakeFiles/gen_packets.dir/il2p_payload.c.o

[ 33%] Built target decode_aprs

[ 34%] Building C object src/CMakeFiles/kissutil.dir/fcs_calc.c.o

[ 35%] Building C object src/CMakeFiles/tnctest.dir/tnctest.c.o

[ 36%] Building C object src/CMakeFiles/gen_packets.dir/il2p_init.c.o

[ 36%] Building C object src/CMakeFiles/kissutil.dir/textcolor.c.o

[ 36%] Building C object src/CMakeFiles/atest.dir/fx25_encode.c.o

[ 37%] Building C object src/CMakeFiles/kissutil.dir/serial_port.c.o

[ 37%] Building C object src/CMakeFiles/atest.dir/fx25_init.c.o

[ 37%] Building C object src/CMakeFiles/gen_packets.dir/il2p_header.c.o

[ 37%] Building C object src/CMakeFiles/kissutil.dir/dtime_now.c.o

[ 38%] Building C object src/CMakeFiles/kissutil.dir/dwsock.c.o

[ 38%] Building C object src/CMakeFiles/tnctest.dir/textcolor.c.o

[ 39%] Building C object src/CMakeFiles/tnctest.dir/dtime_now.c.o

[ 39%] Linking C executable kissutil

[ 40%] Building C object src/CMakeFiles/atest.dir/fx25_rec.c.o

[ 40%] Built target kissutil

[ 40%] Building C object src/CMakeFiles/tnctest.dir/serial_port.c.o

[ 41%] Building C object src/CMakeFiles/cm108.dir/cm108.c.o

[ 42%] Building C object src/CMakeFiles/gen_packets.dir/il2p_send.c.o

[ 43%] Linking C executable tnctest

[ 43%] Building C object src/CMakeFiles/gen_packets.dir/morse.c.o

[ 43%] Building C object src/CMakeFiles/atest.dir/hdlc_rec.c.o

[ 43%] Built target tnctest

[ 43%] Building C object src/CMakeFiles/ttcalc.dir/ttcalc.c.o

[ 43%] Building C object src/CMakeFiles/cm108.dir/textcolor.c.o

[ 44%] Building C object src/CMakeFiles/ttcalc.dir/ax25_pad.c.o

[ 45%] Building C object src/CMakeFiles/gen_packets.dir/dtmf.c.o

[ 46%] Linking C executable cm108

[ 47%] Building C object src/CMakeFiles/atest.dir/hdlc_rec2.c.o

[ 47%] Built target cm108

[ 47%] Building C object src/CMakeFiles/ttcalc.dir/fcs_calc.c.o

[ 48%] Building C object src/CMakeFiles/ttcalc.dir/textcolor.c.o

[ 48%] Building C object src/CMakeFiles/atest.dir/il2p_codec.c.o

[ 48%] Building C object src/CMakeFiles/gen_packets.dir/textcolor.c.o

[ 49%] Building C object src/CMakeFiles/gen_packets.dir/dsp.c.o

[ 50%] Building C object src/CMakeFiles/atest.dir/il2p_scramble.c.o

[ 50%] Building C object src/CMakeFiles/appserver.dir/appserver.c.o

[ 50%] Building C object src/CMakeFiles/atest.dir/il2p_rec.c.o

[ 50%] Linking C executable gen_packets

[ 50%] Built target gen_packets

[ 51%] Building C object src/CMakeFiles/atest.dir/il2p_payload.c.o

[ 51%] Building C object src/CMakeFiles/atest.dir/il2p_init.c.o

[ 52%] Building C object src/CMakeFiles/appserver.dir/agwlib.c.o

[ 53%] Building C object src/CMakeFiles/atest.dir/il2p_header.c.o

[ 53%] Building C object src/CMakeFiles/direwolf.dir/direwolf.c.o

[ 53%] Building C object src/CMakeFiles/appserver.dir/dwsock.c.o

[ 54%] Building C object src/CMakeFiles/appserver.dir/dtime_now.c.o

[ 54%] Building C object src/CMakeFiles/atest.dir/multi_modem.c.o

[ 54%] Building C object src/CMakeFiles/appserver.dir/ax25_pad.c.o

[ 54%] Linking C executable ttcalc

[ 54%] Built target ttcalc

[ 55%] Building C object src/CMakeFiles/appserver.dir/fcs_calc.c.o

/home/aprs/direwolf/src/multi_modem.c: In function ¡®multi_modem_process_rec_frame¡¯:

/home/aprs/direwolf/src/multi_modem.c:340:73: warning: ¡®snprintf¡¯ output may be truncated before the last format character [-Wformat-truncation=]

? 340 | ? ? ? ? ? snprintf (monfmt, sizeof(monfmt), "AIS>%s%1d%1d,NOGATE:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_AIS, nmea);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^

/home/aprs/direwolf/src/multi_modem.c:340:11: note: ¡®snprintf¡¯ output between 22 and 277 bytes into a destination of size 276

? 340 | ? ? ? ? ? snprintf (monfmt, sizeof(monfmt), "AIS>%s%1d%1d,NOGATE:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_AIS, nmea);

? ? ? | ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 55%] Building C object src/CMakeFiles/appserver.dir/textcolor.c.o

[ 56%] Building C object src/CMakeFiles/atest.dir/rrbb.c.o

[ 57%] Building C object src/CMakeFiles/direwolf.dir/ais.c.o

[ 57%] Building C object src/CMakeFiles/direwolf.dir/aprs_tt.c.o

[ 57%] Building C object src/CMakeFiles/atest.dir/fcs_calc.c.o

[ 58%] Building C object src/CMakeFiles/atest.dir/ax25_pad.c.o

[ 59%] Building C object src/CMakeFiles/direwolf.dir/audio_stats.c.o

[ 59%] Building C object src/CMakeFiles/direwolf.dir/ax25_link.c.o

[ 60%] Building C object src/CMakeFiles/direwolf.dir/ax25_pad.c.o

[ 61%] Linking C executable appserver

[ 61%] Built target appserver

[ 61%] Building C object src/CMakeFiles/direwolf.dir/ax25_pad2.c.o

[ 62%] Building C object src/CMakeFiles/direwolf.dir/beacon.c.o

[ 62%] Building C object src/CMakeFiles/atest.dir/ax25_pad2.c.o

[ 62%] Building C object src/CMakeFiles/direwolf.dir/config.c.o

/home/aprs/direwolf/src/ax25_link.c: In function ¡®dl_connect_request¡¯:

/home/aprs/direwolf/src/ax25_link.c:1002:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?1002 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, E->client, ok_to_create);

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1002:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1002:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?1002 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, E->client, ok_to_create);

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1002:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

[ 63%] Building C object src/CMakeFiles/atest.dir/decode_aprs.c.o

/home/aprs/direwolf/src/ax25_link.c: In function ¡®dl_disconnect_request¡¯:

/home/aprs/direwolf/src/ax25_link.c:1094:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?1094 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, E->client, ok_to_create);

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1094:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

In file included from /home/aprs/direwolf/src/ax25_link.c:180:

/home/aprs/direwolf/src/ax25_pad2.h:30:39: warning: ¡®ax25_u_frame_debug¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1125:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?1125 | ? ? ? ? ? ? packet_t pp15 = ax25_u_frame (S->addrs, S->num_addr, cr_cmd, frame_type_U_DISC, p1, nopid0, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: note: referencing argument 1 of type ¡®char[10][12]¡¯

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1125:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?1125 | ? ? ? ? ? ? packet_t pp15 = ax25_u_frame (S->addrs, S->num_addr, cr_cmd, frame_type_U_DISC, p1, nopid0, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:23:10: note: in a call to function ¡®ax25_u_frame_debug¡¯

? ?23 | packet_t ax25_u_frame_debug (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, cmdres_t cr, ax25_frame_type_t ftype, int pf, int pid, unsigned char *pinfo, int info_len, char *src_file, int src_line);

? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1094:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?1094 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, E->client, ok_to_create);

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1094:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: warning: ¡®ax25_u_frame_debug¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1125:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?1125 | ? ? ? ? ? ? packet_t pp15 = ax25_u_frame (S->addrs, S->num_addr, cr_cmd, frame_type_U_DISC, p1, nopid0, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: note: referencing argument 1 of type ¡®char[10][12]¡¯

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1125:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?1125 | ? ? ? ? ? ? packet_t pp15 = ax25_u_frame (S->addrs, S->num_addr, cr_cmd, frame_type_U_DISC, p1, nopid0, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:23:10: note: in a call to function ¡®ax25_u_frame_debug¡¯

? ?23 | packet_t ax25_u_frame_debug (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, cmdres_t cr, ax25_frame_type_t ftype, int pf, int pid, unsigned char *pinfo, int info_len, char *src_file, int src_line);

? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c: In function ¡®lm_data_indication¡¯:

/home/aprs/direwolf/src/ax25_link.c:2270:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?2270 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, client_not_applicable,

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

?2271 | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? (ftype == frame_type_U_SABM) | (ftype == frame_type_U_SABME));

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:2270:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

[ 63%] Building C object src/CMakeFiles/atest.dir/deviceid.c.o

[ 64%] Building C object src/CMakeFiles/direwolf.dir/decode_aprs.c.o

In function ¡®t1_expiry¡¯,

? ? inlined from ¡®dl_timer_expiry¡¯ at /home/aprs/direwolf/src/ax25_link.c:5287:6:

/home/aprs/direwolf/src/ax25_pad2.h:30:39: warning: ¡®ax25_u_frame_debug¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:5472:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?5472 | ? ? ? ? ? ? ? packet_t pp = ax25_u_frame (S->addrs, S->num_addr, cr, frame_type_U_DM, f, nopid, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: note: referencing argument 1 of type ¡®char[10][12]¡¯

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:5472:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?5472 | ? ? ? ? ? ? ? packet_t pp = ax25_u_frame (S->addrs, S->num_addr, cr, frame_type_U_DM, f, nopid, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h: In function ¡®dl_timer_expiry¡¯:

/home/aprs/direwolf/src/ax25_pad2.h:23:10: note: in a call to function ¡®ax25_u_frame_debug¡¯

? ?23 | packet_t ax25_u_frame_debug (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, cmdres_t cr, ax25_frame_type_t ftype, int pf, int pid, unsigned char *pinfo, int info_len, char *src_file, int src_line);

? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~~~~

In function ¡®t1_expiry¡¯,

? ? inlined from ¡®dl_timer_expiry¡¯ at /home/aprs/direwolf/src/ax25_link.c:5287:6:

/home/aprs/direwolf/src/ax25_pad2.h:30:39: warning: ¡®ax25_u_frame_debug¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:5472:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?5472 | ? ? ? ? ? ? ? packet_t pp = ax25_u_frame (S->addrs, S->num_addr, cr, frame_type_U_DM, f, nopid, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: note: referencing argument 1 of type ¡®char[10][12]¡¯

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:5472:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?5472 | ? ? ? ? ? ? ? packet_t pp = ax25_u_frame (S->addrs, S->num_addr, cr, frame_type_U_DM, f, nopid, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h: In function ¡®dl_timer_expiry¡¯:

/home/aprs/direwolf/src/ax25_pad2.h:23:10: note: in a call to function ¡®ax25_u_frame_debug¡¯

? ?23 | packet_t ax25_u_frame_debug (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, cmdres_t cr, ax25_frame_type_t ftype, int pf, int pid, unsigned char *pinfo, int info_len, char *src_file, int src_line);

? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~~~~

[ 64%] Building C object src/CMakeFiles/direwolf.dir/deviceid.c.o

[ 65%] Building C object src/CMakeFiles/direwolf.dir/dedupe.c.o

[ 65%] Building C object src/CMakeFiles/direwolf.dir/demod_9600.c.o

[ 66%] Building C object src/CMakeFiles/atest.dir/dwgpsnmea.c.o

[ 67%] Building C object src/CMakeFiles/direwolf.dir/demod_afsk.c.o

[ 67%] Building C object src/CMakeFiles/atest.dir/dwgps.c.o

[ 68%] Building C object src/CMakeFiles/atest.dir/dwgpsd.c.o

[ 68%] Building C object src/CMakeFiles/atest.dir/serial_port.c.o

[ 68%] Building C object src/CMakeFiles/atest.dir/telemetry.c.o

[ 69%] Building C object src/CMakeFiles/atest.dir/dtime_now.c.o

[ 69%] Building C object src/CMakeFiles/atest.dir/latlong.c.o

[ 70%] Building C object src/CMakeFiles/atest.dir/symbols.c.o

[ 70%] Building C object src/CMakeFiles/direwolf.dir/demod_psk.c.o

[ 70%] Building C object src/CMakeFiles/direwolf.dir/demod.c.o

[ 70%] Building C object src/CMakeFiles/atest.dir/tt_text.c.o

[ 71%] Building C object src/CMakeFiles/direwolf.dir/digipeater.c.o

[ 71%] Building C object src/CMakeFiles/direwolf.dir/cdigipeater.c.o

[ 72%] Building C object src/CMakeFiles/direwolf.dir/dlq.c.o

[ 72%] Building C object src/CMakeFiles/direwolf.dir/dsp.c.o

[ 73%] Building C object src/CMakeFiles/atest.dir/textcolor.c.o

[ 73%] Linking C executable atest

[ 74%] Building C object src/CMakeFiles/direwolf.dir/dtime_now.c.o

[ 74%] Building C object src/CMakeFiles/direwolf.dir/dtmf.c.o

[ 75%] Building C object src/CMakeFiles/direwolf.dir/dwgps.c.o

[ 75%] Built target atest

[ 75%] Building C object src/CMakeFiles/direwolf.dir/dwsock.c.o

[ 76%] Building C object src/CMakeFiles/direwolf.dir/encode_aprs.c.o

[ 76%] Building C object src/CMakeFiles/direwolf.dir/fcs_calc.c.o

[ 77%] Building C object src/CMakeFiles/direwolf.dir/fx25_encode.c.o

[ 77%] Building C object src/CMakeFiles/direwolf.dir/fx25_extract.c.o

[ 78%] Building C object src/CMakeFiles/direwolf.dir/fx25_init.c.o

[ 78%] Building C object src/CMakeFiles/direwolf.dir/fx25_rec.c.o

[ 79%] Building C object src/CMakeFiles/direwolf.dir/fx25_send.c.o

[ 79%] Building C object src/CMakeFiles/direwolf.dir/fx25_auto.c.o

[ 80%] Building C object src/CMakeFiles/direwolf.dir/gen_tone.c.o

[ 80%] Building C object src/CMakeFiles/direwolf.dir/hdlc_rec.c.o

[ 81%] Building C object src/CMakeFiles/direwolf.dir/hdlc_rec2.c.o

[ 81%] Building C object src/CMakeFiles/direwolf.dir/hdlc_send.c.o

[ 81%] Building C object src/CMakeFiles/direwolf.dir/igate.c.o

[ 82%] Building C object src/CMakeFiles/direwolf.dir/il2p_codec.c.o

[ 82%] Building C object src/CMakeFiles/direwolf.dir/il2p_scramble.c.o

[ 83%] Building C object src/CMakeFiles/direwolf.dir/il2p_rec.c.o

[ 83%] Building C object src/CMakeFiles/direwolf.dir/il2p_payload.c.o

[ 84%] Building C object src/CMakeFiles/direwolf.dir/il2p_init.c.o

[ 84%] Building C object src/CMakeFiles/direwolf.dir/il2p_header.c.o

[ 85%] Building C object src/CMakeFiles/direwolf.dir/il2p_send.c.o

[ 86%] Building C object src/CMakeFiles/direwolf.dir/kiss.c.o

[ 86%] Building C object src/CMakeFiles/direwolf.dir/kiss_frame.c.o

[ 86%] Building C object src/CMakeFiles/direwolf.dir/kissserial.c.o

[ 87%] Building C object src/CMakeFiles/direwolf.dir/kissnet.c.o

[ 87%] Building C object src/CMakeFiles/direwolf.dir/latlong.c.o

[ 88%] Building C object src/CMakeFiles/direwolf.dir/log.c.o

[ 88%] Building C object src/CMakeFiles/direwolf.dir/morse.c.o

[ 89%] Building C object src/CMakeFiles/direwolf.dir/multi_modem.c.o

[ 89%] Building C object src/CMakeFiles/direwolf.dir/waypoint.c.o

[ 90%] Building C object src/CMakeFiles/direwolf.dir/nettnc.c.o

[ 90%] Building C object src/CMakeFiles/direwolf.dir/serial_port.c.o

[ 91%] Building C object src/CMakeFiles/direwolf.dir/pfilter.c.o

/home/aprs/direwolf/src/multi_modem.c: In function ¡®multi_modem_process_rec_frame¡¯:

/home/aprs/direwolf/src/multi_modem.c:340:73: warning: ¡®snprintf¡¯ output may be truncated before the last format character [-Wformat-truncation=]

? 340 | ? ? ? ? ? snprintf (monfmt, sizeof(monfmt), "AIS>%s%1d%1d,NOGATE:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_AIS, nmea);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^

/home/aprs/direwolf/src/multi_modem.c:340:11: note: ¡®snprintf¡¯ output between 22 and 277 bytes into a destination of size 276

? 340 | ? ? ? ? ? snprintf (monfmt, sizeof(monfmt), "AIS>%s%1d%1d,NOGATE:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_AIS, nmea);

? ? ? | ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 91%] Building C object src/CMakeFiles/direwolf.dir/ptt.c.o

[ 91%] Building C object src/CMakeFiles/direwolf.dir/recv.c.o

[ 92%] Building C object src/CMakeFiles/direwolf.dir/rrbb.c.o

[ 92%] Building C object src/CMakeFiles/direwolf.dir/server.c.o

[ 93%] Building C object src/CMakeFiles/direwolf.dir/symbols.c.o

[ 93%] Building C object src/CMakeFiles/direwolf.dir/telemetry.c.o

[ 94%] Building C object src/CMakeFiles/direwolf.dir/textcolor.c.o

[ 94%] Building C object src/CMakeFiles/direwolf.dir/tq.c.o

[ 95%] Building C object src/CMakeFiles/direwolf.dir/tt_text.c.o

[ 95%] Building C object src/CMakeFiles/direwolf.dir/tt_user.c.o

[ 96%] Building C object src/CMakeFiles/direwolf.dir/xid.c.o

[ 96%] Building C object src/CMakeFiles/direwolf.dir/xmit.c.o

[ 97%] Building C object src/CMakeFiles/direwolf.dir/dwgpsnmea.c.o

[ 97%] Building C object src/CMakeFiles/direwolf.dir/dwgpsd.c.o

[ 98%] Building C object src/CMakeFiles/direwolf.dir/mheard.c.o

[ 98%] Building C object src/CMakeFiles/direwolf.dir/audio.c.o

[ 99%] Building C object src/CMakeFiles/direwolf.dir/cm108.c.o

[ 99%] Building C object src/CMakeFiles/direwolf.dir/dns_sd_common.c.o

[100%] Building C object src/CMakeFiles/direwolf.dir/dns_sd_avahi.c.o

[100%] Linking C executable direwolf

[100%] Built target direwolf

?

?



Compile Error Assistance

 

?

Lately, when I try to download and compile the latest dev version of DireWolf, I get a lot of compile-time errors.

Not being a programmer, I don¡¯t understand what it all means and the compiled version of direwolf fails to run.

I¡¯ve included the output of my compile attempt below and would appreciate if anybody can tell me what I need to do/install to correct the errors.

?

Thanks,

-Jeffrey Komori, KH6JUZ

?

$ uname -a

Linux KH6JUZ 6.6.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.47-1+rpt1 (2024-09-02) aarch64 GNU/Linux?

?

$ git clone https://www.github.com/wb2osz/direwolf

Cloning into 'direwolf'...

warning: redirecting to https://github.com/wb2osz/direwolf.git/

remote: Enumerating objects: 4052, done.

remote: Counting objects: 100% (1583/1583), done.

remote: Compressing objects: 100% (415/415), done.

remote: Total 4052 (delta 1297), reused 1301 (delta 1156), pack-reused 2469 (from 1)

Receiving objects: 100% (4052/4052), 139.53 MiB | 4.22 MiB/s, done.

Resolving deltas: 100% (2858/2858), done.

$ cd direwolf

$ git checkout dev

branch 'dev' set up to track 'origin/dev'.

Switched to a new branch 'dev'

$ vi src/direwolf.h

$ mkdir build

$ cd build

$ cmake ..

-- The C compiler identification is GNU 12.2.0

-- The CXX compiler identification is GNU 12.2.0

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working C compiler: /usr/bin/cc - skipped

-- Detecting C compile features

-- Detecting C compile features - done

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++ - skipped

-- Detecting CXX compile features

-- Detecting CXX compile features - done

-- Found Git: /usr/bin/git (found version "2.39.5")?

-- Dire Wolf Version: 1.8.0-0734e46

-- Build type set to: Release

CMake system: Linux

-- Target architecture: ARM64

-- Use NEON SIMD instructions

-- Looking for strlcpy

-- Looking for strlcpy - not found

-- Looking for strlcat

-- Looking for strlcat - not found

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD

-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success

-- Found Threads: TRUE ?

-- Checking for module 'libgps'

-- ? Found libgps, version 3.22

-- Found GPSD: /usr/lib/aarch64-linux-gnu/libgps.so

-- Checking for module 'hamlib'

-- ? Package 'hamlib', required by 'virtual:world', not found

-- Could NOT find hamlib (missing: HAMLIB_LIBRARY HAMLIB_INCLUDE_DIR)?

-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")?

-- Found gpiod: /usr/lib/aarch64-linux-gnu/libgpiod.so ?

-- Found ALSA: /usr/lib/aarch64-linux-gnu/libasound.so (found version "1.2.8")?

-- Checking for module 'libudev'

-- ? Found libudev, version 252

-- Found udev: /usr/lib/aarch64-linux-gnu/libudev.so ?

-- Found Avahi: TRUE ?

-- Configuring done

-- Generating done

-- Build files have been written to: /home/aprs/direwolf/build

$ make -j4

[ ?1%] Building C object external/misc/CMakeFiles/misc.dir/strlcpy.c.o

[ ?1%] Building C object external/geotranz/CMakeFiles/geotranz.dir/mgrs.c.o

[ ?1%] Building C object external/misc/CMakeFiles/misc.dir/strlcat.c.o

[ ?2%] Building C object external/geotranz/CMakeFiles/geotranz.dir/error_string.c.o

[ ?2%] Building C object external/geotranz/CMakeFiles/geotranz.dir/polarst.c.o

[ ?2%] Linking C static library libmisc.a

[ ?3%] Building C object external/geotranz/CMakeFiles/geotranz.dir/tranmerc.c.o

[ ?3%] Built target misc

[ ?3%] Building C object src/CMakeFiles/decode_aprs.dir/decode_aprs.c.o

[ ?4%] Building C object src/CMakeFiles/text2tt.dir/tt_text.c.o

[ ?4%] Building C object external/geotranz/CMakeFiles/geotranz.dir/ups.c.o

[ ?5%] Building C object external/geotranz/CMakeFiles/geotranz.dir/usng.c.o

[ ?5%] Building C object external/geotranz/CMakeFiles/geotranz.dir/utm.c.o

[ ?6%] Building C object src/CMakeFiles/decode_aprs.dir/deviceid.c.o

[ ?7%] Linking C static library libgeotranz.a

[ ?7%] Building C object src/CMakeFiles/decode_aprs.dir/ais.c.o

[ ?7%] Linking C executable text2tt

[ ?7%] Built target geotranz

[ ?7%] Building C object src/CMakeFiles/tt2text.dir/tt_text.c.o

[ ?7%] Built target text2tt

[ ?8%] Building C object src/CMakeFiles/ll2utm.dir/ll2utm.c.o

[ ?8%] Building C object src/CMakeFiles/ll2utm.dir/textcolor.c.o

[ ?9%] Linking C executable ll2utm

[ ?9%] Built target ll2utm

[ 10%] Building C object src/CMakeFiles/utm2ll.dir/utm2ll.c.o

[ 10%] Building C object src/CMakeFiles/utm2ll.dir/textcolor.c.o

[ 11%] Linking C executable tt2text

[ 12%] Linking C executable utm2ll

[ 12%] Built target tt2text

[ 13%] Building C object src/CMakeFiles/decode_aprs.dir/kiss_frame.c.o

[ 13%] Built target utm2ll

[ 13%] Building C object src/CMakeFiles/log2gpx.dir/log2gpx.c.o

[ 14%] Building C object src/CMakeFiles/gen_packets.dir/gen_packets.c.o

[ 14%] Building C object src/CMakeFiles/decode_aprs.dir/ax25_pad.c.o

[ 15%] Building C object src/CMakeFiles/log2gpx.dir/textcolor.c.o

[ 15%] Linking C executable log2gpx

[ 15%] Building C object src/CMakeFiles/atest.dir/atest.c.o

[ 15%] Built target log2gpx

[ 15%] Building C object src/CMakeFiles/aclients.dir/aclients.c.o

[ 15%] Building C object src/CMakeFiles/gen_packets.dir/ax25_pad.c.o

[ 16%] Building C object src/CMakeFiles/atest.dir/ais.c.o

[ 16%] Building C object src/CMakeFiles/aclients.dir/ax25_pad.c.o

[ 17%] Building C object src/CMakeFiles/decode_aprs.dir/dwgpsnmea.c.o

[ 17%] Building C object src/CMakeFiles/atest.dir/demod.c.o

[ 17%] Building C object src/CMakeFiles/decode_aprs.dir/dwgps.c.o

[ 18%] Building C object src/CMakeFiles/decode_aprs.dir/dwgpsd.c.o

[ 18%] Building C object src/CMakeFiles/decode_aprs.dir/serial_port.c.o

[ 18%] Building C object src/CMakeFiles/gen_packets.dir/ax25_pad2.c.o

[ 19%] Building C object src/CMakeFiles/decode_aprs.dir/symbols.c.o

[ 20%] Building C object src/CMakeFiles/aclients.dir/fcs_calc.c.o

[ 21%] Building C object src/CMakeFiles/gen_packets.dir/fx25_encode.c.o

[ 22%] Building C object src/CMakeFiles/atest.dir/demod_afsk.c.o

[ 22%] Building C object src/CMakeFiles/aclients.dir/textcolor.c.o

[ 22%] Building C object src/CMakeFiles/decode_aprs.dir/textcolor.c.o

[ 22%] Building C object src/CMakeFiles/gen_packets.dir/fx25_extract.c.o

[ 23%] Linking C executable aclients

[ 23%] Building C object src/CMakeFiles/decode_aprs.dir/fcs_calc.c.o

[ 23%] Built target aclients

[ 23%] Building C object src/CMakeFiles/kissutil.dir/kissutil.c.o

[ 24%] Building C object src/CMakeFiles/decode_aprs.dir/latlong.c.o

[ 24%] Building C object src/CMakeFiles/atest.dir/demod_psk.c.o

[ 24%] Building C object src/CMakeFiles/decode_aprs.dir/log.c.o

[ 25%] Building C object src/CMakeFiles/gen_packets.dir/fx25_init.c.o

[ 26%] Building C object src/CMakeFiles/kissutil.dir/kiss_frame.c.o

[ 26%] Building C object src/CMakeFiles/kissutil.dir/ax25_pad.c.o

[ 27%] Building C object src/CMakeFiles/decode_aprs.dir/telemetry.c.o

[ 27%] Building C object src/CMakeFiles/gen_packets.dir/fx25_send.c.o

[ 28%] Building C object src/CMakeFiles/atest.dir/demod_9600.c.o

[ 29%] Building C object src/CMakeFiles/gen_packets.dir/hdlc_send.c.o

[ 29%] Building C object src/CMakeFiles/decode_aprs.dir/tt_text.c.o

[ 29%] Building C object src/CMakeFiles/gen_packets.dir/fcs_calc.c.o

[ 29%] Building C object src/CMakeFiles/atest.dir/dsp.c.o

[ 30%] Building C object src/CMakeFiles/gen_packets.dir/gen_tone.c.o

[ 31%] Building C object src/CMakeFiles/atest.dir/fx25_extract.c.o

[ 31%] Building C object src/CMakeFiles/gen_packets.dir/il2p_codec.c.o

[ 32%] Building C object src/CMakeFiles/gen_packets.dir/il2p_scramble.c.o

[ 33%] Linking C executable decode_aprs

[ 33%] Building C object src/CMakeFiles/gen_packets.dir/il2p_payload.c.o

[ 33%] Built target decode_aprs

[ 34%] Building C object src/CMakeFiles/kissutil.dir/fcs_calc.c.o

[ 35%] Building C object src/CMakeFiles/tnctest.dir/tnctest.c.o

[ 36%] Building C object src/CMakeFiles/gen_packets.dir/il2p_init.c.o

[ 36%] Building C object src/CMakeFiles/kissutil.dir/textcolor.c.o

[ 36%] Building C object src/CMakeFiles/atest.dir/fx25_encode.c.o

[ 37%] Building C object src/CMakeFiles/kissutil.dir/serial_port.c.o

[ 37%] Building C object src/CMakeFiles/atest.dir/fx25_init.c.o

[ 37%] Building C object src/CMakeFiles/gen_packets.dir/il2p_header.c.o

[ 37%] Building C object src/CMakeFiles/kissutil.dir/dtime_now.c.o

[ 38%] Building C object src/CMakeFiles/kissutil.dir/dwsock.c.o

[ 38%] Building C object src/CMakeFiles/tnctest.dir/textcolor.c.o

[ 39%] Building C object src/CMakeFiles/tnctest.dir/dtime_now.c.o

[ 39%] Linking C executable kissutil

[ 40%] Building C object src/CMakeFiles/atest.dir/fx25_rec.c.o

[ 40%] Built target kissutil

[ 40%] Building C object src/CMakeFiles/tnctest.dir/serial_port.c.o

[ 41%] Building C object src/CMakeFiles/cm108.dir/cm108.c.o

[ 42%] Building C object src/CMakeFiles/gen_packets.dir/il2p_send.c.o

[ 43%] Linking C executable tnctest

[ 43%] Building C object src/CMakeFiles/gen_packets.dir/morse.c.o

[ 43%] Building C object src/CMakeFiles/atest.dir/hdlc_rec.c.o

[ 43%] Built target tnctest

[ 43%] Building C object src/CMakeFiles/ttcalc.dir/ttcalc.c.o

[ 43%] Building C object src/CMakeFiles/cm108.dir/textcolor.c.o

[ 44%] Building C object src/CMakeFiles/ttcalc.dir/ax25_pad.c.o

[ 45%] Building C object src/CMakeFiles/gen_packets.dir/dtmf.c.o

[ 46%] Linking C executable cm108

[ 47%] Building C object src/CMakeFiles/atest.dir/hdlc_rec2.c.o

[ 47%] Built target cm108

[ 47%] Building C object src/CMakeFiles/ttcalc.dir/fcs_calc.c.o

[ 48%] Building C object src/CMakeFiles/ttcalc.dir/textcolor.c.o

[ 48%] Building C object src/CMakeFiles/atest.dir/il2p_codec.c.o

[ 48%] Building C object src/CMakeFiles/gen_packets.dir/textcolor.c.o

[ 49%] Building C object src/CMakeFiles/gen_packets.dir/dsp.c.o

[ 50%] Building C object src/CMakeFiles/atest.dir/il2p_scramble.c.o

[ 50%] Building C object src/CMakeFiles/appserver.dir/appserver.c.o

[ 50%] Building C object src/CMakeFiles/atest.dir/il2p_rec.c.o

[ 50%] Linking C executable gen_packets

[ 50%] Built target gen_packets

[ 51%] Building C object src/CMakeFiles/atest.dir/il2p_payload.c.o

[ 51%] Building C object src/CMakeFiles/atest.dir/il2p_init.c.o

[ 52%] Building C object src/CMakeFiles/appserver.dir/agwlib.c.o

[ 53%] Building C object src/CMakeFiles/atest.dir/il2p_header.c.o

[ 53%] Building C object src/CMakeFiles/direwolf.dir/direwolf.c.o

[ 53%] Building C object src/CMakeFiles/appserver.dir/dwsock.c.o

[ 54%] Building C object src/CMakeFiles/appserver.dir/dtime_now.c.o

[ 54%] Building C object src/CMakeFiles/atest.dir/multi_modem.c.o

[ 54%] Building C object src/CMakeFiles/appserver.dir/ax25_pad.c.o

[ 54%] Linking C executable ttcalc

[ 54%] Built target ttcalc

[ 55%] Building C object src/CMakeFiles/appserver.dir/fcs_calc.c.o

/home/aprs/direwolf/src/multi_modem.c: In function ¡®multi_modem_process_rec_frame¡¯:

/home/aprs/direwolf/src/multi_modem.c:340:73: warning: ¡®snprintf¡¯ output may be truncated before the last format character [-Wformat-truncation=]

? 340 | ? ? ? ? ? snprintf (monfmt, sizeof(monfmt), "AIS>%s%1d%1d,NOGATE:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_AIS, nmea);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^

/home/aprs/direwolf/src/multi_modem.c:340:11: note: ¡®snprintf¡¯ output between 22 and 277 bytes into a destination of size 276

? 340 | ? ? ? ? ? snprintf (monfmt, sizeof(monfmt), "AIS>%s%1d%1d,NOGATE:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_AIS, nmea);

? ? ? | ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 55%] Building C object src/CMakeFiles/appserver.dir/textcolor.c.o

[ 56%] Building C object src/CMakeFiles/atest.dir/rrbb.c.o

[ 57%] Building C object src/CMakeFiles/direwolf.dir/ais.c.o

[ 57%] Building C object src/CMakeFiles/direwolf.dir/aprs_tt.c.o

[ 57%] Building C object src/CMakeFiles/atest.dir/fcs_calc.c.o

[ 58%] Building C object src/CMakeFiles/atest.dir/ax25_pad.c.o

[ 59%] Building C object src/CMakeFiles/direwolf.dir/audio_stats.c.o

[ 59%] Building C object src/CMakeFiles/direwolf.dir/ax25_link.c.o

[ 60%] Building C object src/CMakeFiles/direwolf.dir/ax25_pad.c.o

[ 61%] Linking C executable appserver

[ 61%] Built target appserver

[ 61%] Building C object src/CMakeFiles/direwolf.dir/ax25_pad2.c.o

[ 62%] Building C object src/CMakeFiles/direwolf.dir/beacon.c.o

[ 62%] Building C object src/CMakeFiles/atest.dir/ax25_pad2.c.o

[ 62%] Building C object src/CMakeFiles/direwolf.dir/config.c.o

/home/aprs/direwolf/src/ax25_link.c: In function ¡®dl_connect_request¡¯:

/home/aprs/direwolf/src/ax25_link.c:1002:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?1002 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, E->client, ok_to_create);

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1002:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1002:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?1002 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, E->client, ok_to_create);

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1002:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

[ 63%] Building C object src/CMakeFiles/atest.dir/decode_aprs.c.o

/home/aprs/direwolf/src/ax25_link.c: In function ¡®dl_disconnect_request¡¯:

/home/aprs/direwolf/src/ax25_link.c:1094:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?1094 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, E->client, ok_to_create);

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1094:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

In file included from /home/aprs/direwolf/src/ax25_link.c:180:

/home/aprs/direwolf/src/ax25_pad2.h:30:39: warning: ¡®ax25_u_frame_debug¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1125:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?1125 | ? ? ? ? ? ? packet_t pp15 = ax25_u_frame (S->addrs, S->num_addr, cr_cmd, frame_type_U_DISC, p1, nopid0, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: note: referencing argument 1 of type ¡®char[10][12]¡¯

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1125:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?1125 | ? ? ? ? ? ? packet_t pp15 = ax25_u_frame (S->addrs, S->num_addr, cr_cmd, frame_type_U_DISC, p1, nopid0, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:23:10: note: in a call to function ¡®ax25_u_frame_debug¡¯

? ?23 | packet_t ax25_u_frame_debug (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, cmdres_t cr, ax25_frame_type_t ftype, int pf, int pid, unsigned char *pinfo, int info_len, char *src_file, int src_line);

? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1094:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?1094 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, E->client, ok_to_create);

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1094:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: warning: ¡®ax25_u_frame_debug¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1125:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?1125 | ? ? ? ? ? ? packet_t pp15 = ax25_u_frame (S->addrs, S->num_addr, cr_cmd, frame_type_U_DISC, p1, nopid0, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: note: referencing argument 1 of type ¡®char[10][12]¡¯

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:1125:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?1125 | ? ? ? ? ? ? packet_t pp15 = ax25_u_frame (S->addrs, S->num_addr, cr_cmd, frame_type_U_DISC, p1, nopid0, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:23:10: note: in a call to function ¡®ax25_u_frame_debug¡¯

? ?23 | packet_t ax25_u_frame_debug (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, cmdres_t cr, ax25_frame_type_t ftype, int pf, int pid, unsigned char *pinfo, int info_len, char *src_file, int src_line);

? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c: In function ¡®lm_data_indication¡¯:

/home/aprs/direwolf/src/ax25_link.c:2270:13: warning: ¡®get_link_handle¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

?2270 | ? ? ? ? S = get_link_handle (E->addrs, E->num_addr, E->chan, client_not_applicable,

? ? ? | ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

?2271 | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? (ftype == frame_type_U_SABM) | (ftype == frame_type_U_SABME));

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:2270:13: note: referencing argument 1 of type ¡®char[10][12¡¯

/home/aprs/direwolf/src/ax25_link.c:772:21: note: in a call to function ¡®get_link_handle¡¯

? 772 | static ax25_dlsm_t *get_link_handle (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, int chan, int client, int create)

? ? ? | ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~

[ 63%] Building C object src/CMakeFiles/atest.dir/deviceid.c.o

[ 64%] Building C object src/CMakeFiles/direwolf.dir/decode_aprs.c.o

In function ¡®t1_expiry¡¯,

? ? inlined from ¡®dl_timer_expiry¡¯ at /home/aprs/direwolf/src/ax25_link.c:5287:6:

/home/aprs/direwolf/src/ax25_pad2.h:30:39: warning: ¡®ax25_u_frame_debug¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:5472:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?5472 | ? ? ? ? ? ? ? packet_t pp = ax25_u_frame (S->addrs, S->num_addr, cr, frame_type_U_DM, f, nopid, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: note: referencing argument 1 of type ¡®char[10][12]¡¯

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:5472:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?5472 | ? ? ? ? ? ? ? packet_t pp = ax25_u_frame (S->addrs, S->num_addr, cr, frame_type_U_DM, f, nopid, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h: In function ¡®dl_timer_expiry¡¯:

/home/aprs/direwolf/src/ax25_pad2.h:23:10: note: in a call to function ¡®ax25_u_frame_debug¡¯

? ?23 | packet_t ax25_u_frame_debug (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, cmdres_t cr, ax25_frame_type_t ftype, int pf, int pid, unsigned char *pinfo, int info_len, char *src_file, int src_line);

? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~~~~

In function ¡®t1_expiry¡¯,

? ? inlined from ¡®dl_timer_expiry¡¯ at /home/aprs/direwolf/src/ax25_link.c:5287:6:

/home/aprs/direwolf/src/ax25_pad2.h:30:39: warning: ¡®ax25_u_frame_debug¡¯ accessing 120 bytes in a region of size 12 [-Wstringop-overflow=]

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:5472:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?5472 | ? ? ? ? ? ? ? packet_t pp = ax25_u_frame (S->addrs, S->num_addr, cr, frame_type_U_DM, f, nopid, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h:30:39: note: referencing argument 1 of type ¡®char[10][12]¡¯

? ?30 | #define ax25_u_frame(a,n,c,f,p,q,i,l) ax25_u_frame_debug(a,n,c,f,p,q,i,l,__FILE__,__LINE__)

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_link.c:5472:29: note: in expansion of macro ¡®ax25_u_frame¡¯

?5472 | ? ? ? ? ? ? ? packet_t pp = ax25_u_frame (S->addrs, S->num_addr, cr, frame_type_U_DM, f, nopid, NULL, 0);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^~~~~~~~~~~~

/home/aprs/direwolf/src/ax25_pad2.h: In function ¡®dl_timer_expiry¡¯:

/home/aprs/direwolf/src/ax25_pad2.h:23:10: note: in a call to function ¡®ax25_u_frame_debug¡¯

? ?23 | packet_t ax25_u_frame_debug (char addrs[AX25_MAX_ADDRS][AX25_MAX_ADDR_LEN], int num_addr, cmdres_t cr, ax25_frame_type_t ftype, int pf, int pid, unsigned char *pinfo, int info_len, char *src_file, int src_line);

? ? ? | ? ? ? ? ?^~~~~~~~~~~~~~~~~~

[ 64%] Building C object src/CMakeFiles/direwolf.dir/deviceid.c.o

[ 65%] Building C object src/CMakeFiles/direwolf.dir/dedupe.c.o

[ 65%] Building C object src/CMakeFiles/direwolf.dir/demod_9600.c.o

[ 66%] Building C object src/CMakeFiles/atest.dir/dwgpsnmea.c.o

[ 67%] Building C object src/CMakeFiles/direwolf.dir/demod_afsk.c.o

[ 67%] Building C object src/CMakeFiles/atest.dir/dwgps.c.o

[ 68%] Building C object src/CMakeFiles/atest.dir/dwgpsd.c.o

[ 68%] Building C object src/CMakeFiles/atest.dir/serial_port.c.o

[ 68%] Building C object src/CMakeFiles/atest.dir/telemetry.c.o

[ 69%] Building C object src/CMakeFiles/atest.dir/dtime_now.c.o

[ 69%] Building C object src/CMakeFiles/atest.dir/latlong.c.o

[ 70%] Building C object src/CMakeFiles/atest.dir/symbols.c.o

[ 70%] Building C object src/CMakeFiles/direwolf.dir/demod_psk.c.o

[ 70%] Building C object src/CMakeFiles/direwolf.dir/demod.c.o

[ 70%] Building C object src/CMakeFiles/atest.dir/tt_text.c.o

[ 71%] Building C object src/CMakeFiles/direwolf.dir/digipeater.c.o

[ 71%] Building C object src/CMakeFiles/direwolf.dir/cdigipeater.c.o

[ 72%] Building C object src/CMakeFiles/direwolf.dir/dlq.c.o

[ 72%] Building C object src/CMakeFiles/direwolf.dir/dsp.c.o

[ 73%] Building C object src/CMakeFiles/atest.dir/textcolor.c.o

[ 73%] Linking C executable atest

[ 74%] Building C object src/CMakeFiles/direwolf.dir/dtime_now.c.o

[ 74%] Building C object src/CMakeFiles/direwolf.dir/dtmf.c.o

[ 75%] Building C object src/CMakeFiles/direwolf.dir/dwgps.c.o

[ 75%] Built target atest

[ 75%] Building C object src/CMakeFiles/direwolf.dir/dwsock.c.o

[ 76%] Building C object src/CMakeFiles/direwolf.dir/encode_aprs.c.o

[ 76%] Building C object src/CMakeFiles/direwolf.dir/fcs_calc.c.o

[ 77%] Building C object src/CMakeFiles/direwolf.dir/fx25_encode.c.o

[ 77%] Building C object src/CMakeFiles/direwolf.dir/fx25_extract.c.o

[ 78%] Building C object src/CMakeFiles/direwolf.dir/fx25_init.c.o

[ 78%] Building C object src/CMakeFiles/direwolf.dir/fx25_rec.c.o

[ 79%] Building C object src/CMakeFiles/direwolf.dir/fx25_send.c.o

[ 79%] Building C object src/CMakeFiles/direwolf.dir/fx25_auto.c.o

[ 80%] Building C object src/CMakeFiles/direwolf.dir/gen_tone.c.o

[ 80%] Building C object src/CMakeFiles/direwolf.dir/hdlc_rec.c.o

[ 81%] Building C object src/CMakeFiles/direwolf.dir/hdlc_rec2.c.o

[ 81%] Building C object src/CMakeFiles/direwolf.dir/hdlc_send.c.o

[ 81%] Building C object src/CMakeFiles/direwolf.dir/igate.c.o

[ 82%] Building C object src/CMakeFiles/direwolf.dir/il2p_codec.c.o

[ 82%] Building C object src/CMakeFiles/direwolf.dir/il2p_scramble.c.o

[ 83%] Building C object src/CMakeFiles/direwolf.dir/il2p_rec.c.o

[ 83%] Building C object src/CMakeFiles/direwolf.dir/il2p_payload.c.o

[ 84%] Building C object src/CMakeFiles/direwolf.dir/il2p_init.c.o

[ 84%] Building C object src/CMakeFiles/direwolf.dir/il2p_header.c.o

[ 85%] Building C object src/CMakeFiles/direwolf.dir/il2p_send.c.o

[ 86%] Building C object src/CMakeFiles/direwolf.dir/kiss.c.o

[ 86%] Building C object src/CMakeFiles/direwolf.dir/kiss_frame.c.o

[ 86%] Building C object src/CMakeFiles/direwolf.dir/kissserial.c.o

[ 87%] Building C object src/CMakeFiles/direwolf.dir/kissnet.c.o

[ 87%] Building C object src/CMakeFiles/direwolf.dir/latlong.c.o

[ 88%] Building C object src/CMakeFiles/direwolf.dir/log.c.o

[ 88%] Building C object src/CMakeFiles/direwolf.dir/morse.c.o

[ 89%] Building C object src/CMakeFiles/direwolf.dir/multi_modem.c.o

[ 89%] Building C object src/CMakeFiles/direwolf.dir/waypoint.c.o

[ 90%] Building C object src/CMakeFiles/direwolf.dir/nettnc.c.o

[ 90%] Building C object src/CMakeFiles/direwolf.dir/serial_port.c.o

[ 91%] Building C object src/CMakeFiles/direwolf.dir/pfilter.c.o

/home/aprs/direwolf/src/multi_modem.c: In function ¡®multi_modem_process_rec_frame¡¯:

/home/aprs/direwolf/src/multi_modem.c:340:73: warning: ¡®snprintf¡¯ output may be truncated before the last format character [-Wformat-truncation=]

? 340 | ? ? ? ? ? snprintf (monfmt, sizeof(monfmt), "AIS>%s%1d%1d,NOGATE:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_AIS, nmea);

? ? ? | ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^

/home/aprs/direwolf/src/multi_modem.c:340:11: note: ¡®snprintf¡¯ output between 22 and 277 bytes into a destination of size 276

? 340 | ? ? ? ? ? snprintf (monfmt, sizeof(monfmt), "AIS>%s%1d%1d,NOGATE:{%c%c%s", APP_TOCALL, MAJOR_VERSION, MINOR_VERSION, USER_DEF_USER_ID, USER_DEF_TYPE_AIS, nmea);

? ? ? | ? ? ? ? ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[ 91%] Building C object src/CMakeFiles/direwolf.dir/ptt.c.o

[ 91%] Building C object src/CMakeFiles/direwolf.dir/recv.c.o

[ 92%] Building C object src/CMakeFiles/direwolf.dir/rrbb.c.o

[ 92%] Building C object src/CMakeFiles/direwolf.dir/server.c.o

[ 93%] Building C object src/CMakeFiles/direwolf.dir/symbols.c.o

[ 93%] Building C object src/CMakeFiles/direwolf.dir/telemetry.c.o

[ 94%] Building C object src/CMakeFiles/direwolf.dir/textcolor.c.o

[ 94%] Building C object src/CMakeFiles/direwolf.dir/tq.c.o

[ 95%] Building C object src/CMakeFiles/direwolf.dir/tt_text.c.o

[ 95%] Building C object src/CMakeFiles/direwolf.dir/tt_user.c.o

[ 96%] Building C object src/CMakeFiles/direwolf.dir/xid.c.o

[ 96%] Building C object src/CMakeFiles/direwolf.dir/xmit.c.o

[ 97%] Building C object src/CMakeFiles/direwolf.dir/dwgpsnmea.c.o

[ 97%] Building C object src/CMakeFiles/direwolf.dir/dwgpsd.c.o

[ 98%] Building C object src/CMakeFiles/direwolf.dir/mheard.c.o

[ 98%] Building C object src/CMakeFiles/direwolf.dir/audio.c.o

[ 99%] Building C object src/CMakeFiles/direwolf.dir/cm108.c.o

[ 99%] Building C object src/CMakeFiles/direwolf.dir/dns_sd_common.c.o

[100%] Building C object src/CMakeFiles/direwolf.dir/dns_sd_avahi.c.o

[100%] Linking C executable direwolf

[100%] Built target direwolf

?

?


Re: Please help with udev rules - non-root GPIO for PTT

 

Yes Dominic you are right, I missed the "Linux gpio" column. Sorry
?
@Sergei can you please explain better? When you run direwolf as non-root user the issue is only the ptt? Can you please paste here:
- direwolf stdout with non-root
- direwolf stdout with root
*STDOUT is the text normally printed at screen by direwolf
?
Or simply do you want to run direwolf as root just after boot?


Re: Please help with udev rules - non-root GPIO for PTT

 

Franco Avino <iz4tow@...> wrote:

Are u sure about pin number? 200 is pretty strange
It might be hardware pin #16, see the already referenced website
<>

(I don't use GPIO often so I have no idea but can only assume.)

Dr. Sergey Ievkov <doc.ievkov@...> wrote:

On NanoPi I try to use GPIO ¡í200 (from [1]
index.php/NanoPi_NEO) for PTT in DireWolf.

When running direwolf requires root rights.
AFAIK direwolf does not ask for a root password. How do you start
direwolf?

If I enter the root password, then PTT via GPIO works.
How can I make it so that when the system starts automatically without
root-password? Below is part of my config and the udev rule.
What am I missing?


direwolf.conf:
...
PTT GPIO 200
...

/etc/udev/rules.d/50-gpiod.rules:
KERNEL=="gpiochip*", SUBSYSTEM=="gpio", MODE="0666", GROUP="gpiod"
This looks good. The direwolf config is unknown to me though (but as you
say it works as root it is obviosly correct).

You could try to start direwolf with `strace` and get a few hints,
maybe.

rn1m@nanopineo:/etc/udev/rules.d$ id rn1m
uid=1000(rn1m) gid=1000(rn1m) groups=1000(rn1m),0(root),5(tty),6(disk),20
(dialout),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),999
(systemd-journal),996(input),993(render),108(netdev),1001(gpiod)
Other than all that I remember me having some problems with a modem that
finally made me adding the modem user to the groups gpio and kmem to get
access to `/dev/mem` and `/dev/gpiomem`. Maybe worth a try.

-dominic

--
I'm here to kick ass and chew bubblegum and I'm all out of bubblegum.
(found somewhere online)


Re: Please help with udev rules - non-root GPIO for PTT

 

Are u sure about pin number? 200 is pretty strange?