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

Henning Rogge (spam-protected)
Sun Jun 20 22:30:24 CEST 2010


Am Sonntag 20 Juni 2010, 22:08:17 schrieb Michael Rack:
>   Dear developers,
> 
> i have a probleme while do
> 
> # make
> gcc -Wall -Wextra -Wold-style-definition -Wdeclaration-after-statement
> -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
> -Wsign-compare -Waggregate-return -Wmissing-noreturn
> -Wmissing-format-attribute -Wno-multichar -Wno-deprecated-declarations
> -Wendif-labels -Wwrite-strings -Wbad-function-cast -Wpointer-arith
> -Wcast-qual -Wshadow -Wsequence-point -Wpointer-arith -Wcast-align
> -Wnested-externs -Winline -Wdisabled-optimization
> -finline-functions-called-once -funit-at-a-time -fearly-inlining
> -finline-limit=350   -ggdb -Isrc -pthread  -DUSE_FPM -Dlinux
> -DLINUX_NETLINK_ROUTING -DDEBUG    -c -o src/unix/ifnet.o src/unix/ifnet.c
> 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
olsr_cnf->tos is defined in olsr_cfg.h, line 226.

please try to reproduce the error with a fresh download from the repository.

Henning Rogge

-- 
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/20100620/036f9708/attachment.sig>


More information about the Olsr-users mailing list