[Xorp-users] Trouble compiling in FreeBSD 4.10-stable
Atanu Ghosh
atanu@ICSI.Berkeley.EDU
Thu, 08 Jul 2004 17:19:06 -0700
Which g++ compiler are you using (g++ -v)?
We normally build with:
gcc version 2.95.4 20020320 [FreeBSD]
gcc version 3.3.4 20040322 (prerelease) [FreeBSD]
gcc version 3.4.0 20040310 (prerelease) [FreeBSD]
Atanu.
>>>>> "Joćo" == Joćo Carlos Mendes Luķs <jcmendes@int.gov.br> writes:
Joćo> I have just updated xorp sources from CVS. The compile machine is a
Joćo> FreeBSD-4-stable, very up-to-date.
Joćo> ...
Joćo> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -pipe -W -Wall -Wwrite-strings -
Joćo> Wcast-qual -Werror -Wpointer-arith -Wcast-align -Wstrict-prototypes -Woverloaded
Joćo> -virtual -Wnon-const-format -Wtraditional -ftemplate-depth-20 -c -o
Joćo> route_table_nhlookup.o `test -f route_table_nhlookup.cc || echo
Joćo> './'`route_table_nhlookup.cc
Joćo> cc1plus: warnings being treated as errors
Joćo> route_table_nhlookup.cc: In method `int
Joćo> NhLookupTable<IPv4>::delete_route(const InternalMessage<IPv4> &,
Joćo> BGPRouteTable<IPv4> *)':
Joćo> route_table_nhlookup.cc:396: instantiated from here
Joćo> route_table_nhlookup.cc:264: warning: `bool dont_send_delete' might be
Joćo> used uninitialized in this function
Joćo> route_table_nhlookup.cc: In method `int
Joćo> NhLookupTable<IPv6>::delete_route(const InternalMessage<IPv6> &,
Joćo> BGPRouteTable<IPv6> *)':
Joćo> route_table_nhlookup.cc:397: instantiated from here
Joćo> route_table_nhlookup.cc:264: warning: `bool dont_send_delete' might be
Joćo> used uninitialized in this function
Joćo> gmake[3]: *** [route_table_nhlookup.o] Error 1
Joćo> gmake[3]: Leaving directory `/usr/home/users/jonny/tmp/xorp/cvs/xorp/bgp'
Joćo> gmake[2]: *** [all-recursive] Error 1
Joćo> gmake[2]: Leaving directory `/usr/home/users/jonny/tmp/xorp/cvs/xorp/bgp'
Joćo> gmake[1]: *** [all-recursive] Error 1
Joćo> gmake[1]: Leaving directory `/usr/home/users/jonny/tmp/xorp/cvs/xorp'
Joćo> gmake: *** [all] Error 2
Joćo> Now it is compiling without -Werror, but this takes looooooong...
Joćo> _______________________________________________
Joćo> Xorp-users mailing list
Joćo> Xorp-users@xorp.org
Joćo> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users