[Xorp-hackers] xorp1.8.3 build error on debian 5, but xorp1.8.2 build pass on my computer

wxh585 at 126.com wxh585 at 126.com
Sun Mar 20 03:23:38 PDT 2011


/home/zs/xorp# scons
scons: `obj/i686-pc-linux-gnu/etc/templates/fea.tp' is up to date.
scons: `obj/i686-pc-linux-gnu/fea/data_plane/ifconfig/libxorp_fea_ifconfig.so' is up to date.
scons: `obj/i686-pc-linux-gnu/fea/data_plane/fibconfig/libxorp_fea_fibconfig.so' is up to date.
scons: `obj/i686-pc-linux-gnu/fea/data_plane/io/libxorp_fea_io.so' is up to date.
scons: `obj/i686-pc-linux-gnu/fea/data_plane/control_socket/libxorp_fea_control_socket.so' is up to date.
scons: `obj/i686-pc-linux-gnu/fea/data_plane/managers/libxorp_fea_data_plane_managers.so' is up to date.
g++ -o obj/i686-pc-linux-gnu/fea/data_plane/firewall/firewall_get_netfilter.os -c -O1 -g3 -Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Woverloaded-virtual -ftemplate-depth-25 -pipe -fPIC -DXRL_PF=120 -D_FORTIFY_SOURCE=0 -Iobj/i686-pc-linux-gnu -I. -I. fea/data_plane/firewall/firewall_get_netfilter.cc
In file included from fea/data_plane/firewall/firewall_get_netfilter.cc:51:
/usr/include/linux/netfilter_ipv4/ip_tables.h: In function 鈞t_entry_target* ipt_get_target(ipt_entry*)?
/usr/include/linux/netfilter_ipv4/ip_tables.h:221: error: pointer of type 鈜oid *?used in arithmetic
/usr/include/linux/netfilter_ipv4/ip_tables.h:221: error: invalid conversion from 鈜oid*?to 鈞t_entry_target*?
fea/data_plane/firewall/firewall_get_netfilter.cc: In member function 鈜irtual int FirewallGetNetfilter::get_table6(std::list<FirewallEntry, std::allocator<FirewallEntry> >&, std::string&)?
fea/data_plane/firewall/firewall_get_netfilter.cc:346: error: aggregate 鈏p6t_getinfo info6?has incomplete type and cannot be defined
fea/data_plane/firewall/firewall_get_netfilter.cc:357: error: 釯P6T_SO_GET_INFO?was not declared in this scope
fea/data_plane/firewall/firewall_get_netfilter.cc:366: error: invalid application of 鈙izeof?to incomplete type 鈏p6t_get_entries?
fea/data_plane/firewall/firewall_get_netfilter.cc:368: error: 釯P6T_SO_GET_ENTRIES?was not declared in this scope
fea/data_plane/firewall/firewall_get_netfilter.cc:387: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:413: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:416: error: invalid use of incomplete type 鈙truct ip6t_entry_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:382: error: forward declaration of 鈙truct ip6t_entry_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:416: error: 釯P6T_STANDARD_TARGET?was not declared in this scope
fea/data_plane/firewall/firewall_get_netfilter.cc:417: error: invalid use of incomplete type 鈙truct ip6t_entry_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:382: error: forward declaration of 鈙truct ip6t_entry_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:419: error: invalid use of incomplete type 鈙truct ip6t_entry_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:382: error: forward declaration of 鈙truct ip6t_entry_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:423: error: invalid use of incomplete type 鈙truct ip6t_entry_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:382: error: forward declaration of 鈙truct ip6t_entry_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:424: error: invalid use of incomplete type 鈙truct ip6t_standard_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:383: error: forward declaration of 鈙truct ip6t_standard_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:432: error: invalid use of incomplete type 鈙truct ip6t_standard_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:383: error: forward declaration of 鈙truct ip6t_standard_target?
fea/data_plane/firewall/firewall_get_netfilter.cc:441: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:442: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:448: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:449: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:450: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:451: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:459: error: invalid application of 鈙izeof?to incomplete type 鈏p6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:459: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:463: error: invalid use of incomplete type 鈙truct ip6t_entry_match?
fea/data_plane/firewall/firewall_get_netfilter.cc:381: error: forward declaration of 鈙truct ip6t_entry_match?
fea/data_plane/firewall/firewall_get_netfilter.cc:464: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:468: error: invalid use of incomplete type 鈙truct ip6t_entry_match?
fea/data_plane/firewall/firewall_get_netfilter.cc:381: error: forward declaration of 鈙truct ip6t_entry_match?
fea/data_plane/firewall/firewall_get_netfilter.cc:469: error: invalid use of incomplete type 鈙truct ip6t_tcp?
fea/data_plane/firewall/firewall_get_netfilter.cc:467: error: forward declaration of 鈙truct ip6t_tcp?
fea/data_plane/firewall/firewall_get_netfilter.cc:470: error: invalid use of incomplete type 鈙truct ip6t_tcp?
fea/data_plane/firewall/firewall_get_netfilter.cc:467: error: forward declaration of 鈙truct ip6t_tcp?
fea/data_plane/firewall/firewall_get_netfilter.cc:471: error: invalid use of incomplete type 鈙truct ip6t_tcp?
fea/data_plane/firewall/firewall_get_netfilter.cc:467: error: forward declaration of 鈙truct ip6t_tcp?
fea/data_plane/firewall/firewall_get_netfilter.cc:472: error: invalid use of incomplete type 鈙truct ip6t_tcp?
fea/data_plane/firewall/firewall_get_netfilter.cc:467: error: forward declaration of 鈙truct ip6t_tcp?
fea/data_plane/firewall/firewall_get_netfilter.cc:478: error: invalid use of incomplete type 鈙truct ip6t_entry_match?
fea/data_plane/firewall/firewall_get_netfilter.cc:381: error: forward declaration of 鈙truct ip6t_entry_match?
fea/data_plane/firewall/firewall_get_netfilter.cc:479: error: invalid use of incomplete type 鈙truct ip6t_udp?
fea/data_plane/firewall/firewall_get_netfilter.cc:477: error: forward declaration of 鈙truct ip6t_udp?
fea/data_plane/firewall/firewall_get_netfilter.cc:480: error: invalid use of incomplete type 鈙truct ip6t_udp?
fea/data_plane/firewall/firewall_get_netfilter.cc:477: error: forward declaration of 鈙truct ip6t_udp?
fea/data_plane/firewall/firewall_get_netfilter.cc:481: error: invalid use of incomplete type 鈙truct ip6t_udp?
fea/data_plane/firewall/firewall_get_netfilter.cc:477: error: forward declaration of 鈙truct ip6t_udp?
fea/data_plane/firewall/firewall_get_netfilter.cc:482: error: invalid use of incomplete type 鈙truct ip6t_udp?
fea/data_plane/firewall/firewall_get_netfilter.cc:477: error: forward declaration of 鈙truct ip6t_udp?
fea/data_plane/firewall/firewall_get_netfilter.cc:493: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:494: error: invalid use of incomplete type 鈙truct ip6t_entry?
fea/data_plane/firewall/firewall_get_netfilter.cc:380: error: forward declaration of 鈙truct ip6t_entry?
scons: *** [obj/i686-pc-linux-gnu/fea/data_plane/firewall/firewall_get_netfilter.os] Error 1
scons: building terminated because of errors.
55:/home/zs/xorp#




--


王星海

电话:13312601392
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20110320/f6515266/attachment-0001.html 


More information about the Xorp-hackers mailing list