Closed ant-thomas closed 7 years ago
And just regular make
root@pi:~/dump1090-mut-2016/dump1090# make
gcc -DMODES_DUMP1090_VERSION=\"v1.15-dev-305-gb957166\" -O2 -g -Wall -Werror -W -std=c11 -D_DEFAULT_SOURCE `pkg-config --cflags librtlsdr` -c dump1090.c -o dump1090.o
cc1: error: unrecognized command line option ‘-std=c11’
Makefile:49: recipe for target 'dump1090.o' failed
make: *** [dump1090.o] Error 1
root@pi:~/dump1090-mut-2016/dump1090#
You need to update your gcc to version 4.9. See http://stackoverflow.com/questions/25147363/how-to-install-g-4-9-on-debian-wheezy-armel for hints to do that.
Alternatively you might want to look at what dump1090-fa does to built on wheezy
https://github.com/flightaware/dump1090/blob/master/debian-wheezy/rules
tl;dr: pass -std=gnu1x
In general I don't test dump1090-mutability on wheezy; maybe it works, maybe it doesn't.
dump1090-fa takes more care as it needs to support some legacy wheezy images.
If you have patches for wheezy for dump1090-mutability I'm happy to take a PR.
After not updating my RPi2 system for a long time I've decided to build dump1090 again to update everything. Trying to build from scratch and I'm getting the following...
Just tried to build on an x86_64 system and it worked fine first time (not cross-compile).
I have done
apt-get update && apt-get upgrade && apt-get dist-upgrade
- running Raspbian Wheezy.Am I missing a new package or dependency? GCC version -
gcc (Debian 4.6.3-14+rpi1) 4.6.3