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

Henning Rogge (spam-protected)
Mon Jun 21 19:04:08 CEST 2010


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

-- 
1) You can't win.
2) You can't break even.
3) You can't leave the game.
— The Laws of Thermodynamics, summarized
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20100621/ea1375db/attachment.sig>


More information about the Olsr-users mailing list