Skip to content

Build fails on Kali #283

@eabase

Description

@eabase

Tried to build manually in Latest Kali.

# git clone --depth 1 https://github.com/flightaware/dump1090.git && cd dump1090

# ...

# ake BLADERF=no HACKRF=yes LIMESDR=yes SOAPYSDR=yes RTLSDR=yes 
Package libhackrf was not found in the pkg-config search path.
Perhaps you should add the directory containing `libhackrf.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libhackrf', required by 'virtual:world', not found
Package LimeSuite was not found in the pkg-config search path.
Perhaps you should add the directory containing `LimeSuite.pc'
to the PKG_CONFIG_PATH environment variable
Package 'LimeSuite', required by 'virtual:world', not found
Package SoapySDR was not found in the pkg-config search path.
Perhaps you should add the directory containing `SoapySDR.pc'
to the PKG_CONFIG_PATH environment variable
Package 'SoapySDR', required by 'virtual:world', not found
Building with:
  Version string:   unknown
  Architecture:     x86_64
  DSP mix:          x86
  RTLSDR support:   yes
  BladeRF support:  no
  HackRF support:   yes
  LimeSDR support:  yes
  SoapySDR support: yes
cc  -I. -D_POSIX_C_SOURCE=200112L -DMODES_DUMP1090_VERSION=\"unknown\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -D_DEFAULT_SOURCE -DENABLE_CPUFEATURES -Icpu_features/include -DENABLE_RTLSDR -DENABLE_HACKRF -DENABLE_LIMESDR -DENABLE_SOAPYSDR -DSTARCH_MIX_X86 -O3 -g -std=c11 -fno-common -Wall -Wmissing-declarations -Werror -Wformat-signedness -W -I/usr/include/ -c interactive.c -o interactive.o
interactive.c: In function ‘interactiveShowData’:
interactive.c:143:23: error: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (5 chars into 4 available) [-Werror=unterminated-string-initialization]
  143 |     char spinner[4] = "|/-\\";
      |                       ^~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:223: interactive.o] Error 1

Seem related to #257

How to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions