[Olsr-users] ifnet.c chk_if_up() tos undeclared

Michael Rack (spam-protected)
Mon Jun 21 19:09:50 CEST 2010


  # ./make/guess_os.sh
linux

It is linux of course ;-)
i686, Gentoo 2010.06 snapshot, Linux Kernel Vanilla 2.6.34, gcc 4.4.3

Liebe Grüße aus Freilassing,

Michael Rack
RSM Freilassing
-- 
RSM Freilassing                 Tel.: +49 8654 607110
Nocksteinstr. 13                Fax.: +49 8654 670438
D-83395 Freilassing            www.rsm-freilassing.de


Am 21.06.2010 19:04, schrieb Henning Rogge:
> Am Montag 21 Juni 2010, 18:55:20 schrieb Michael Rack:
>>    Also the current GIT-Repository results in this error message!
>>
>> # git clone git://olsr.org/olsrd.git
>> # make
> So you are compiling the master branch ? (just want to be sure)
>
>> In the current GIT-Version "uint16_t tos" is defined on line 182 at
>> olsr_cfg.h. Im not familiar with C, but unix/ifnet.c includes ifnet.h
>> and ifnet.h includes olsr_cfg.h where struct olsr_config is defined with
>> TOS as unsigned int16. But the gcc compiler returns an error.
>>
>> After removing the "#ifdef linux" part, the source compile just fine.
> Okay, that might be a good clue.
>
> Maybe the OS detection is nor working well in your case.
>
> What does happen if you start "./make/guess_os.sh" from your command line ?
>
> Henning
>




More information about the Olsr-users mailing list