user@box:~/openwrt$ cat logs/package/feeds/routing/olsrd/compile.txt
make[4]: Entering directory 
`/home/bastian/openwrt/build_dir/target-mips_34kc_musl-1.1.12/olsrd-master'
[CC] src/main.c
src/main.c:48:22: fatal error: execinfo.h: No such file or directory
compilation terminated.
make[4]: *** [src/main.o] Error 1
make[4]: Leaving directory
`/home/bastian/openwrt/build_dir/target-mips_34kc_musl-1.1.12/olsrd-master'
make[3]: ***
[/home/bastian/openwrt/build_dir/target-mips_34kc_musl-1.1.12/olsrd-master/.built]
Error 2

this was introduced with 9e95a76e
execinfo.h is a GNU specific header, and doesn't exist under musl.

as far as i read we should replace the 

#ifdef __linux__
with
#ifdef __GLIBC__

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to