Compiling the latest dump1900-fa from github fails.
There was a similar topic here where the suggestion was to use the dev branch, that fails as well.
Anyone managed to compile it?
time make BLADERF=no
cc -g -o dump1090 dump1090.o anet.o interactive.o mode_ac.o mode_s.o comm_b.o net_io.o crc.o demod_2400.o stats.o cpr.o icao_filter.o track.o util.o convert.o sdr_ifile.o sdr.o sdr_rtlsdr.o -lpthread -lm -lrt -lrtlsdr -lusb-1.0 -lncurses
/usr/bin/ld: interactive.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: mode_ac.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: mode_s.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: comm_b.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: net_io.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: crc.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: demod_2400.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: stats.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: icao_filter.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: track.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: util.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: convert.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: sdr_ifile.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: sdr.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
/usr/bin/ld: sdr_rtlsdr.o:/usr/src/prg/dump1090-fa/dump1090.h:390: multiple definition of `Modes'; dump1090.o:/usr/src/prg/dump1090-fa/dump1090.h:390: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:44: dump1090] Error 1
real 0m3.607s
user 0m0.986s
sys 0m0.304s
At least they could’ve include a version number so we know whats up
Anyway I hope it will work as I see some old options are nuked:
./dump1090 --interactive --enable-agc --metric --aggressive --net --net-http-port 8080
warning: --aggressive not supported in this build, option ignored (consider '--fix-2bit' instead)
warning: --net-http-port not supported in this build, option ignored.
Sun Dec 4 10:37:51 2022 CET dump1090-fa unknown starting up.
**I have test-installed on various OS, the latest versions (7.2) of dump1090-fa by using source code from Flightaware Repository https://github.com/flightaware/dump1090.
The .deb packages were built using the bash script given below. This script detects the OS Version, and builds matching .deb package of dump1090-fa:
The version number is passed in by the package build infrastructure, if you’re not using the package build infrastructure it doesn’t have a version to use.
These went away long ago, probably it’s just that the new version is better about telling you about that.