[Olsr-dev] [(spam-protected): erro compiling 'master' with musl]

Ferry Huberts (spam-protected)
Wed Feb 24 10:01:09 CET 2016


Fixed on master

On 23/02/16 21:06, Bastian Bittorf wrote:
> ----- Forwarded message from Bastian Bittorf <(spam-protected)> -----
>
> Date: Fri, 12 Feb 2016 11:12:14 +0100
> From: Bastian Bittorf <(spam-protected)>
> To: mailinglist <(spam-protected)>
> Subject: erro compiling 'master' with musl
>
> (spam-protected):~/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
>
> ----- End forwarded message -----
>

-- 
Ferry Huberts



More information about the Olsr-dev mailing list