[quagga-dev 3578] Re: build of isisd broken on NetBSD, at least

Greg Troxel gdt at ir.bbn.com
Wed Aug 10 16:13:02 BST 2005


Thanks.    Compiles now for me (but not cleanly):

if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/zebra/\" -I. -I. -I../.. -I.. -I../.. -I../../lib   -I/usr/pkg/include  -Os -g  -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -MT spgrid.o -MD -MP -MF ".deps/spgrid.Tpo" -c -o spgrid.o spgrid.c;  then mv -f ".deps/spgrid.Tpo" ".deps/spgrid.Po"; else rm -f ".deps/spgrid.Tpo"; exit 1; fi
In file included from spgrid.c:5:
random.c: In function `init_rand':
random.c:54: warning: cast does not match function type
random.c: In function `rand01':
random.c:116: warning: cast does not match function type
spgrid.c: At top level:
spgrid.c:30: warning: initialization discards qualifiers from pointer target type
spgrid.c:31: warning: initialization discards qualifiers from pointer target type
spgrid.c:33: warning: initialization discards qualifiers from pointer target type
spgrid.c: In function `spgrid_check_params':
spgrid.c:344: warning: cast does not match function type
spgrid.c:348: warning: cast does not match function type
spgrid.c:375: warning: cast does not match function type
spgrid.c:379: warning: cast does not match function type
spgrid.c:383: warning: cast does not match function type
spgrid.c:407: warning: cast does not match function type
spgrid.c:411: warning: cast does not match function type
spgrid.c:455: warning: cast does not match function type
spgrid.c:459: warning: cast does not match function type
spgrid.c:476: warning: cast does not match function type
spgrid.c:480: warning: cast does not match function type
spgrid.c: At top level:
random.c:101: warning: `xrand' defined but not used
if gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/zebra/\" -I. -I. -I../.. -I.. -I../.. -I../../lib   -I/usr/pkg/include  -Os -g  -Wall -Wsign-compare -Wpointer-arith -Wbad-function-cast -Wwrite-strings -MT random.o -MD -MP -MF ".deps/random.Tpo" -c -o random.o random.c;  then mv -f ".deps/random.Tpo" ".deps/random.Po"; else rm -f ".deps/random.Tpo"; exit 1; fi
random.c: In function `init_rand':
random.c:54: warning: cast does not match function type
random.c: In function `rand01':
random.c:116: warning: cast does not match function type
random.c: At top level:
random.c:101: warning: `xrand' defined but not used
rm -f libtopology.a
ar cru libtopology.a spgrid.o random.o ../../lib/libzebra.la
ranlib libtopology.a



More information about the Quagga-dev mailing list