Mailing List Archive

Jose's Patch for Route Server Capabilities on Solaris Machines
After applying the patches, compiling crashes at:

la-rs01# gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/etc/\" -I. -I. -I..
-I.. -I.. -I../lib -g -O2 -Wall -c `test -f 'bgp_route.c' || echo
'./'`bgp_route.c
bgp_route.c: In function `bgp_announce_check_rsclient':
bgp_route.c:899: parse error before `{'
bgp_route.c:808: warning: unused variable `info'
bgp_route.c:805: warning: unused variable `ret'
bgp_route.c:908: warning: control reaches end of non-void function
bgp_route.c: At top level:
bgp_route.c:950: parse error before `0'
bgp_route.c:952: warning: type defaults to `int' in declaration of `zlog'
bgp_route.c:952: conflicting types for `zlog'
../lib/log.h:93: previous declaration of `zlog'
bgp_route.c:953: warning: type defaults to `int' in declaration of `p'
bgp_route.c:953: parse error before `->'
bgp_route.c:961: parse error before `->'
bgp_route.c: In function `bgp_update_rsclient':
bgp_route.c:1405: warning: unused variable `buf2'
la-rs01# make depend
make: *** No rule to make target `depend'. Stop.
la-rs01#

This is on:

la-rs01# uname -a
SunOS la-rs01 5.9 Generic_112233-08 sun4u sparc SUNW,Ultra-250
la-rs01#

Moving it to a FreeBSD box, it compiles without a hitch. Any ideas as to
what could be causing the issue?

Mike Gibbs