[Xorp-users] Trouble compiling in FreeBSD 4.10-stable

Joćo Carlos Mendes Luķs jonny@jonny.eng.br
Thu, 08 Jul 2004 22:42:49 -0300


oma::jonny pim [557] gcc -v
Using builtin specs.
gcc version 2.95.4 20020320 [FreeBSD]
roma::jonny pim [558] uname -a
FreeBSD roma.coe.ufrj.br 4.10-BETA FreeBSD 4.10-BETA #4: Fri Apr 16 03:25:06 BRT 
2004     jonny@roma.coe.ufrj.br:/usr/cvsup/RELENG_4/src/sys/compile/ROMA  i386
roma::jonny pim [559]

Atanu Ghosh wrote:

> 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
> _______________________________________________
> Xorp-users mailing list
> Xorp-users@xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users

-- 

                                         Jonny

-- 
Joćo Carlos Mendes Luķs - Networking Engineer - jonny@jonny.eng.br