antirez / dump1090

Dump1090 is a simple Mode S decoder for RTLSDR devices
2.46k stars 1.33k forks source link

Receiving error "unknown warning option '-Wformat-signedness'" #182

Open Awlexegrecki opened 2 months ago

Awlexegrecki commented 2 months ago

I am trying to build dump1090 on Mac OS 11.7.10 using the Stanford article (Stanford.edu) and I am having trouble when typing in "make". Here is all of the output I received after make:

Building with:
  Version string:   unknown
  Architecture:     x86_64
  DSP mix:          x86
  RTLSDR support:   yes
  BladeRF support:  yes
  HackRF support:   yes
  LimeSDR support:  no
  SoapySDR support: yes
cc  -I. -D_POSIX_C_SOURCE=200112L -DMODES_DUMP1090_VERSION=\"unknown\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -DMISSING_NANOSLEEP -DENABLE_CPUFEATURES -Icpu_features/include -DENABLE_RTLSDR -DENABLE_BLADERF -DENABLE_HACKRF -DENABLE_SOAPYSDR -DSTARCH_MIX_X86 -O3 -g -std=c11 -fno-common -Wall -Wmissing-declarations -Werror -Wformat-signedness -W -I/opt/local/include/ -I/opt/local/include/ -I/opt/local/include -I/opt/local/include/libhackrf -I/opt/local/include/libusb-1.0 -I/opt/local/include -c dump1090.c -o dump1090.o
error: unknown warning option '-Wformat-signedness' [-Werror,-Wunknown-warning-option]
make: *** [dump1090.o] Error 1

I looked in the issues for dump1090, and I only found the one from 2021, where you change the text in dump1090.h and dump1090.c. The issue is, that dump1090 has changed since 2021, so the lines that they mention are not in the same spot. Can anyone provide me assistance in fixing this?

artursartamonovs commented 2 months ago

Hi, wrong repository. Tutorial you referring to is using flightaware dump1090, please open ticket on their repo