[Olsr-users] no previous prototype for 'olsr_kernel_del_route6'

Henning Rogge (spam-protected)
Thu Jan 29 21:46:54 CET 2009

On Donnerstag 29 Januar 2009 21:37:25 Mathias Mahnke wrote:
> FYI.. after hg clone http://gredler.at/hg/olsrd/
> mac:olsrd$ 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 -Werror
> -funit-at-a-time -finline-limit=350 -O0  -ggdb -Isrc
> -DOLSRD_CONF_FILE_NAME='"olsrd.conf"'
> -DOLSRD_GLOBAL_CONF_FILE='"/usr/local/etc/olsrd.conf"'  -D__MacOSX__
> -DDEBUG    -c -o src/bsd/kernel_routes.o src/bsd/kernel_routes.c
> cc1: warnings being treated as errors
> src/bsd/kernel_routes.c:397: warning: no previous prototype for
> 'olsr_kernel_del_route6'
> make: *** [src/bsd/kernel_routes.o] Error 1
> I guess this is related to this recent change:
> http://gredler.at/hg/olsrd/diff/c6a72905834a/src/bsd/kernel_routes.c
We have a fix for this in the pipeline, unfortunately another part of the same 
fix was faulty...

just replace 'olsr_kernel_del_route6' with 'olsr_kernel_del_route' as the 
functions name in line 397.

> Regards
> Mathias
> PS: I tried the current devoloper version since if seen that my last
> working olsrd version ist 0.5.5 which successfully sent out broadcasts /
> hellos under Mac OS X. For whatever reason... will have a closer look.
The fix for this problem is too in the pipeline... I hope we will get an 
0.5.6-r4 out soon... the development tree should already contain the fix.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20090129/fc4af67f/attachment.sig>

More information about the Olsr-users mailing list