Hi,
I’m trying to build faup1090 from source, so that I can upload to flioghtaware from my existing dumnp1090 install.
I’m doing this on a 32 bit linux machine running Mint 17
I’m failing with the below errors:
git clone https://github.com/flightaware/dump1090_mr.git
cd dump1090_mr/
make -f makefaup1090
gcc -O2 -g -Wall -W `pkg-config --cflags librtlsdr` -c faup1090.c
gcc -O2 -g -Wall -W `pkg-config --cflags librtlsdr` -c anet.c
gcc -O2 -g -Wall -W `pkg-config --cflags librtlsdr` -c interactive.c
gcc -O2 -g -Wall -W `pkg-config --cflags librtlsdr` -c mode_ac.c
gcc -O2 -g -Wall -W `pkg-config --cflags librtlsdr` -c mode_s.c
gcc -O2 -g -Wall -W `pkg-config --cflags librtlsdr` -c net_io.c
net_io.c: In function ‘modesFreeClient’:
net_io.c:174:5: warning: suggest parentheses around assignment used as truth value -Wparentheses]
} else if (c->service = Modes.fatsvos) {
^
gcc -g -o faup1090 faup1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o coaa1090.obj `pkg-config --libs librtlsdr` -lpthread -lm
/usr/bin/ld: coaa1090.obj: Relocations in generic ELF (EM: 40)
/usr/bin/ld: coaa1090.obj: Relocations in generic ELF (EM: 40)
/usr/bin/ld: coaa1090.obj: Relocations in generic ELF (EM: 40)
/usr/bin/ld: coaa1090.obj: Relocations in generic ELF (EM: 40)
/usr/bin/ld: coaa1090.obj: Relocations in generic ELF (EM: 40)
/usr/bin/ld: coaa1090.obj: Relocations in generic ELF (EM: 40)
coaa1090.obj: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make: *** [faup1090] Error 1
Any suggestions…?