[Olsr-dev] OLSDR on FreeRunner
Vincent Nuttin
(spam-protected)
Wed Mar 9 10:35:00 CET 2011
Hi,
The "tos" problem is fixed but, for now, I have a problem a few lines
later with "bison".
bison -d -o "src/cfgparser/oparse.c-tmp" "src/cfgparser/oparse.y"
make: *** [src/cfgparser/oparse.c] Error 141
Bison is installed but I really don't understand this error.
Why is it so difficult to get OLSRd running on an Openmoko :-(
Thanks for your help ! :)
2011/3/9 Vincent Nuttin <(spam-protected)>:
> Thanks a lot !!
> It works !
>
> 2011/3/9 La Chi Anh <(spam-protected)>:
>> You can fix the bug manually.
>>
>> In /usr/include/netinet/ip.h,find the definition of
>> IPTOS_CLASS:
>> #define IPTOS_CLASS(class) ((tos) & IPTOS_CLASS_MASK)
>>
>> and replace it with:
>>
>> #define IPTOS_CLASS(class) ((class) & IPTOS_CLASS_MASK)
>>
>> Hope this helps
>>
>>
>>
>> On Wed, Mar 9, 2011 at 9:28 AM, Vincent Nuttin <(spam-protected)> wrote:
>>> Hello,
>>>
>>> I'm trying to use olsrd on my FreeRunner but I cannot compile it. When I
>>> type "make", I get a error :
>>>
>>> src/unix/ifnet.c: In function 'chk_if_up':
>>> src/unix/ifnet.c:551: error: 'tos' undeclared (first use in this function)
>>> src/unix/ifnet.c:551: error: (Each undeclared identifier is reported only
>>> once
>>> src/unix/ifnet.c:551: error: for each function it appears in.)
>>> make: *** [src/unix/ifnet.o] Error 1
>>>
>>>
>>> Complete log here : http://www.geosharing-project.org/logs/log_olsrd-1.txt
>>>
>>> Do you have an idea why I cannot compile it ? I'm using SHR on my
>>> FreeRunner.
>>>
>>> Thanks a lot !
>>>
>>> Vinc.be
>>>
>>> --
>>> Olsr-dev mailing list
>>> (spam-protected)
>>> http://lists.olsr.org/mailman/listinfo/olsr-dev
>>>
>>
>
>
>
> --
> Vincent Nuttin
> +32 474 48 43 52
>
--
Vincent Nuttin
+32 474 48 43 52
More information about the Olsr-dev
mailing list