Marius,
I now receive less error output, but there's still an error:
--------------------------------------------------
user@ubuntu-comp:~/ampr-ripd-1.16.2$ make CC=mips-openwrt-linux-gcc
LD=mips-openwrt-linux-ld
mips-openwrt-linux-gcc -Wall -O2 -o ampr-ripd ampr-ripd.c
ampr-ripd.c: In function 'main':
ampr-ripd.c:1865:13: error: 'struct udphdr' has no member named 'dest'
(udh->dest == htons(IPPORT_ROUTESERVER)) &&
^
ampr-ripd.c:1866:13: error: 'struct udphdr' has no member named 'source'
(udh->source == htons(IPPORT_ROUTESERVER)))
^
Makefile:30: recipe for target 'ampr-ripd' failed
make: *** [ampr-ripd] Error 1
--------------------------------------------------
On 04/17/2017:
This should not happen but anyway....
Add a line:
#define IPPORT_ROUTESERVER 520
somewhere at the beginning of the c file and try again.
Marius, YO2LOJ