[Olsr-dev] Olsrd v0.9.5 and Openwrt CC v15.05 complie problem

(spam-protected) (spam-protected)
Wed Dec 21 18:38:17 CET 2016


Hi,

I have update latest sources olsrd from git because I have see that
Ferry add new version main.c but  I still  have a problem with compile
olsrd for OpenWRT:


[CC] src/lq_plugin_default_fpm.c
[CC] src/main.c
src/main.c:81:24: fatal error: execinfo.h: No such file or directory
   #include <execinfo.h>
                        ^
compilation terminated.

I have see that others suggest use like:


#if !defined(__UCLIBC__)
        # include <execinfo.h>
 #endif





2016-12-21 8:57 GMT+01:00 Ferry Huberts <(spam-protected)>:
>
>
> On 20/12/16 20:13, Bastian Bittorf wrote:
>>
>> * Bastian Bittorf <(spam-protected)> [20.12.2016 20:08]:
>>>
>>> * (spam-protected) <(spam-protected)> [20.12.2016 19:58]:
>>>>
>>>> make[4]: Entering directory
>>>>
>>>> `/home/users/OpenWRT/15.05/build_dir/target-mips_34kc_uClibc-0.9.33.2/olsrd-0.9.5'
>>>> [CC] src/main.c
>>>> src/main.c:54:26: fatal error: execinfo.h: No such file or directory
>>>>      #include <execinfo.h>
>>>>                           ^
>>>> compilation terminated.
>>
>>
>> sorry, i misunderstood the reason.
>>
>> Ferry: if i read something about this message other
>> projects suggest using this:
>>
>> #ifdef HAVE_EXECINFO_H
>> #include <execinfo.h>
>> #endif
>
>
>
> The only relevant define I see on my Linux system is
> _GLIBCXX_HAVE_EXECINFO_H.
>
> Can you point me to your feed?
> Or just make a PR?
>
> Please do try to upstream fixes.
>
>
>>
>> i have no clue what i'am doing, any option about this?
>>
>> bye, bastian
>>
>
> --
> Ferry Huberts
>
> --
> Olsr-dev mailing list
> (spam-protected)
> https://lists.olsr.org/mailman/listinfo/olsr-dev



More information about the Olsr-dev mailing list