[Xorp-users] freebsd-5.3

Pavlin Radoslavov pavlin@icir.org
Fri, 17 Sep 2004 01:24:10 -0700


> 
> cvs on: Fri Sep 17 14:18:45 WIT 2004
> 
> my box: FreeBSD ipv6.ppk.itb.ac.id 5.3-BETA3 FreeBSD 5.3-BETA3 
> 
> 
> I got messages:

Dikshie,

I fixed the particular error messages listed below and commited the
fix to the CVS. Apparently, gcc-3.4.2 doesn't like a variable being
named "or"...

However, it appears that there are some other compilation errors on
FreeBSD-5.3-BETAx because of some significant differences in the
firewall-related header files in 5.3 and some earlier FreeBSD
versions. I will leave fixing those problems to our firewall guru :)

In the mean time you can temporary comment-out the problematic code,
because right now the firewall code is not used yet.

Thanks,
Pavlin

> 
> ------------------------------------
> 
> 
> 
> 
>  
> Pavlinving directory `/usr/local/src/xorp/xorp/utils/flower_malloc'
> gmake[2]: Leaving directory `/usr/local/src/xorp/xorp/utils'
> Making all in fea
> gmake[2]: Entering directory `/usr/local/src/xorp/xorp/fea'
> Making all in .
> gmake[3]: Entering directory `/usr/local/src/xorp/xorp/fea'
> source='addr_table.cc' object='addr_table.o' libtool=no \
> depfile='.deps/addr_table.Po' tmpdepfile='.deps/addr_table.TPo' \
> depmode=gcc3 /bin/sh ../config/depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g  -W -Wall -Wwrite-strings -Wcast-qual -Werror -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-20 -c -o addr_table.o `test -f addr_table.cc || echo './'`addr_table.cc
> source='firewall.cc' object='firewall.o' libtool=no \
> depfile='.deps/firewall.Po' tmpdepfile='.deps/firewall.TPo' \
> depmode=gcc3 /bin/sh ../config/depcomp \
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g  -W -Wall -Wwrite-strings -Wcast-qual -Werror -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-20 -c -o firewall.o `test -f firewall.cc || echo './'`firewall.cc
> In file included from ../fea/firewall_ipfw.hh:21,
>                  from firewall.cc:30:
> /usr/include/netinet/ip_fw.h:237: error: `IFNAMSIZ' was not declared in this scope
> In file included from firewall.cc:30:
> ../fea/firewall_ipfw.hh:54: error: expected `,' or `...' before '||' token
> ../fea/firewall_ipfw.hh:61: error: expected `,' or `...' before '||' token
> ../fea/firewall_ipfw.hh: In constructor `IpfwFwRule<N>::IpfwFwRule(const FwRule<N>&)':
> ../fea/firewall_ipfw.hh:64: error: expected primary-expression before '||' token
> ../fea/firewall_ipfw.hh:64: error: expected primary-expression before ')' token
> gmake[3]: *** [firewall.o] Error 1
> gmake[3]: Leaving directory `/usr/local/src/xorp/xorp/fea'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/usr/local/src/xorp/xorp/fea'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/local/src/xorp/xorp'
> gmake: *** [all] Error 2
> ipv6#
> 
> -----------------------------------------------------
> 
> 
> 
> 
> 
> 
> 
> 
> thanks a lot !
> 
> -dikshie-
> 
> _______________________________________________
> Xorp-users mailing list
> Xorp-users@xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users