I can’t get any of the various dump978’s to compile. I keep getting errors like this when I run make. Can anyone point me inthe right direction? I just wanted to get uat2enst up and running. -Brendan
uat2esnt.c:46:28: error: ‘esnt_frame’ may be used uninitialized [-Werror=maybe-uninitialized]
46 | frame[lb >> 3] = (frame[lb >> 3] & imask) | aligned;
uat2esnt.c: In function ‘handle_frame’:
uat2esnt.c:518:13: note: ‘esnt_frame’ declared here
518 | uint8_t esnt_frame[14];
| ^~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:9: uat2esnt.o] Error 1
Considering this requires socat and a pipe, consider the following:
git clone --depth 1 https://github.com/wiedehopf/readsb
cd readsb
make -j4
./readsb --net --quiet --net-ro-port 20002 --net-connector 127.0.0.1,30978,uat_in
This pretty much uses the code of uat2esnt but means you don’t need to use any socat.
Well at least if you want it on a tcp listen port and not on the console.
But then you can still use socat to connect to 20002 in the above example.
That won’t compile on my Raspi 3 either, what’s going on here? ideas?
In file included from readsb.h:101,
from mode_ac.c:51:
threadpool.h:36:14: fatal error: zstd.h: No such file or directory
36 | #include <zstd.h>
| ^~~~~~~~
compilation terminated.
In file included from readsb.h:101,
from interactive.c:54:
threadpool.h:36:14: fatal error: zstd.h: No such file or directory
36 | #include <zstd.h>
| ^~~~~~~~
compilation terminated.
make: *** [Makefile:148: mode_ac.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:148: interactive.o] Error 1