[Olsr-dev] MID refactoring
Kaplan L. Aaron
(spam-protected)
Sun Sep 7 22:21:26 CEST 2008
build break in os x:
src/bsd/kernel_routes.c: In function 'add_del_route':
src/bsd/kernel_routes.c:115: warning: implicit declaration of
function 'getpid'
src/bsd/kernel_routes.c:115: warning: nested extern declaration of
'getpid'
src/bsd/kernel_routes.c:225: warning: implicit declaration of
function 'write'
src/bsd/kernel_routes.c:225: warning: nested extern declaration of
'write'
/opt/local/bin/ccache 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 -Wnested-externs -Winline -Wdisabled-
optimization -funit-at-a-time -finline-limit=350 -ggdb -Isrc -
DUSE_FPM -D__MacOSX__ -DDEBUG -c -o src/bsd/net.o src/bsd/net.c
In file included from src/bsd/net.c:44:
src/bsd/../net_os.h:78: warning: 'struct timeval' declared inside
parameter list
src/bsd/../net_os.h:78: warning: its scope is only this definition or
declaration, which is probably not what you want
src/bsd/net.c: In function 'get_ipv6_address':
src/bsd/net.c:558: warning: implicit declaration of function 'strscpy'
src/bsd/net.c:558: warning: nested extern declaration of 'strscpy'
src/bsd/net.c: At top level:
src/bsd/net.c:791: error: conflicting types for 'olsr_select'
src/bsd/../net_os.h:78: error: previous declaration of 'olsr_select'
was here
make: *** [src/bsd/net.o] Error 1
stabil:~/olsrd-current/olsrd aaron$
On Sep 7, 2008, at 6:33 PM, Bernd Petrovitsch wrote:
> On Fre, 2008-09-05 at 17:27 +0200, Hannes Gredler wrote:
> [....]
>> asking for review & testing,
>
> make build_all yields hereover (Fedora-9)
> ---- snip ----
> /usr/bin/ccache 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 -Wnested-externs -Winline
> -Wdisabled-optimization -Werror -finline-functions-called-once -
> funit-at-a-time -fearly-inlining -fomit-frame-pointer -finline-
> limit=350 -fPIC -Isrc -I../../src -pthread -DOLSR_PLUGIN -
> DUSE_FPM -Dlinux -DNDEBUG -c -o src/Bmf.o src/Bmf.c
> cc1: warnings being treated as errors
> src/Bmf.c: In function ‘MainAddressOf’:
> src/Bmf.c:135: error: implicit declaration of function
> ‘mid_lookup_main_addr’
> src/Bmf.c:135: error: nested extern declaration of
> ‘mid_lookup_main_addr’
> src/Bmf.c:135: error: assignment makes pointer from integer without
> a cast
> make[1]: *** [src/Bmf.o] Error 1
> make[1]: Leaving directory `/home/bernd/src/olsrd/hg/hg-gredler/lib/
> bmf'
> make: *** [libs] Error 2
> ---- snip ----
>
> Bernd
> --
> Firmix Software GmbH http://www.firmix.at/
> mobil: +43 664 4416156 fax: +43 1 7890849-55
> Embedded Linux Development and Services
>
>
> --
> Olsr-dev mailing list
> (spam-protected)
> http://lists.olsr.org/mailman/listinfo/olsr-dev
More information about the Olsr-dev
mailing list