[Xorp-cvs] [greearb/xorp.ct] ee353c: Start working porting to mingw cross-compile to wi...

noreply at github.com noreply at github.com
Fri Feb 25 16:47:09 PST 2011


Branch: refs/heads/master
Home:   https://github.com/greearb/xorp.ct

Commit: ee353c3828090a68e04f646196b37eea2c181537
    https://github.com/greearb/xorp.ct/commit/ee353c3828090a68e04f646196b37eea2c181537
Author: Ben Greear <greearb at candelatech.com>
Date:   2011-02-23 (Wed, 23 Feb 2011)

Changed paths:
  M xorp/BUILD_NOTES
  M xorp/site_scons/config/allconfig.py

Log Message:
-----------
Start working porting to mingw cross-compile to win32 executable.


Commit: 29c8d6436f0b7e926ba254ee93681742e047efe4
    https://github.com/greearb/xorp.ct/commit/29c8d6436f0b7e926ba254ee93681742e047efe4
Author: Ben Greear <greearb at candelatech.com>
Date:   2011-02-23 (Wed, 23 Feb 2011)

Changed paths:
  M xorp/SConstruct
  M xorp/cli/SConscript
  M xorp/libxipc/finder_tcp.hh
  M xorp/libxipc/finder_tcp_messenger.hh
  M xorp/libxorp/asyncio.hh
  M xorp/libxorp/ipv4.hh
  M xorp/libxorp/selector.hh
  M xorp/libxorp/utils.cc
  M xorp/libxorp/utils.hh
  M xorp/libxorp/xorp.h

Log Message:
-----------
Tweak a few files to aid mingw compile.

Looks like best bet is to try to revert the 400k commit
that removed win32 support:
2e1b0f1bf3a06524593301c0e0a6da833b271a4c

Will attempt that next.

Signed-off-by: Ben Greear <greearb at candelatech.com>


Commit: d8771c047743f779c8ce4d11a9a3fae940496bf6
    https://github.com/greearb/xorp.ct/commit/d8771c047743f779c8ce4d11a9a3fae940496bf6
Author: Ben Greear <greearb at candelatech.com>
Date:   2011-02-25 (Fri, 25 Feb 2011)

Changed paths:
  M xorp/BUILD_NOTES
  M xorp/SConstruct
  M xorp/bgp/SConscript
  M xorp/bgp/crash_dump.cc
  M xorp/bgp/harness/SConscript
  M xorp/bgp/harness/peer.cc
  M xorp/bgp/iptuple.cc
  M xorp/bgp/peer.cc
  M xorp/bgp/socket.cc
  M xorp/bgp/tests/test_cache.cc
  M xorp/bgp/tests/test_decision.cc
  M xorp/bgp/tests/test_deletion.cc
  M xorp/bgp/tests/test_dump.cc
  M xorp/bgp/tests/test_fanout.cc
  M xorp/bgp/tests/test_filter.cc
  M xorp/bgp/tests/test_main.cc
  M xorp/bgp/tests/test_nhlookup.cc
  M xorp/bgp/tests/test_plumbing.cc
  M xorp/bgp/tests/test_policy.cc
  M xorp/bgp/tests/test_ribin.cc
  M xorp/bgp/tests/test_ribout.cc
  M xorp/bgp/tools/SConscript
  M xorp/cli/cli_client.cc
  M xorp/cli/cli_node_net.cc
  M xorp/cli/libtecla/SConscript
  M xorp/cli/tools/SConscript
  M xorp/contrib/olsr/SConscript
  M xorp/contrib/olsr/tools/SConscript
  M xorp/fea/SConscript
  M xorp/fea/data_plane/control_socket/SConscript
  M xorp/fea/data_plane/control_socket/click_socket.cc
  M xorp/fea/data_plane/control_socket/routing_socket_utilities.cc
  M xorp/fea/data_plane/control_socket/routing_socket_utilities.hh
  M xorp/fea/data_plane/fibconfig/SConscript
  M xorp/fea/data_plane/fibconfig/fibconfig_entry_parse_routing_socket.cc
  M xorp/fea/data_plane/fibconfig/fibconfig_table_parse_routing_socket.cc
  M xorp/fea/data_plane/ifconfig/SConscript
  M xorp/fea/data_plane/ifconfig/ifconfig_parse_ioctl.cc
  M xorp/fea/data_plane/ifconfig/ifconfig_set_click.cc
  M xorp/fea/data_plane/io/io_ip_socket.cc
  M xorp/fea/data_plane/io/io_ip_socket.hh
  M xorp/fea/data_plane/io/io_tcpudp_socket.cc
  M xorp/fea/data_plane/io/io_tcpudp_socket.hh
  M xorp/fea/data_plane/managers/SConscript
  M xorp/fea/fea_node.cc
  M xorp/fea/mfea_mrouter.cc
  M xorp/fea/tools/SConscript
  M xorp/fib2mrib/SConscript
  M xorp/libcomm/comm_sock.c
  M xorp/libcomm/comm_user.c
  M xorp/libcomm/tests/test_connect.cc
  M xorp/libxipc/SConscript
  M xorp/libxipc/sockutil.cc
  M xorp/libxipc/tests/test_finder_events.cc
  M xorp/libxipc/tests/test_stcp.cc
  M xorp/libxipc/xrl_atom.cc
  M xorp/libxipc/xrl_pf_factory.cc
  M xorp/libxipc/xrl_pf_unix.cc
  M xorp/libxipc/xrl_pf_unix.hh
  M xorp/libxipc/xrl_std_router.cc
  M xorp/libxorp/SConscript
  M xorp/libxorp/asyncio.cc
  M xorp/libxorp/asyncio.hh
  M xorp/libxorp/buffered_asyncio.cc
  M xorp/libxorp/c_format.cc
  M xorp/libxorp/clock.cc
  M xorp/libxorp/daemon.c
  M xorp/libxorp/daemon.h
  M xorp/libxorp/eventloop.cc
  M xorp/libxorp/eventloop.hh
  A xorp/libxorp/gai_strerror.c
  M xorp/libxorp/inet_ntop.c
  M xorp/libxorp/inet_pton.c
  M xorp/libxorp/popen.cc
  M xorp/libxorp/popen.hh
  M xorp/libxorp/random.c
  M xorp/libxorp/run_command.cc
  M xorp/libxorp/run_command.hh
  M xorp/libxorp/selector.cc
  M xorp/libxorp/selector.hh
  M xorp/libxorp/strptime.c
  M xorp/libxorp/tests/test_asyncio.cc
  M xorp/libxorp/tests/test_observers.cc
  M xorp/libxorp/tests/test_run_command.cc
  M xorp/libxorp/tests/test_utils.cc
  M xorp/libxorp/timer.cc
  M xorp/libxorp/timer.hh
  M xorp/libxorp/timeval.hh
  M xorp/libxorp/utils.cc
  M xorp/libxorp/utils.hh
  A xorp/libxorp/win_dispatcher.cc
  A xorp/libxorp/win_io.c
  M xorp/libxorp/xlog.c
  M xorp/libxorp/xorp.h
  M xorp/libxorp/xorp_osdep_begin.h
  M xorp/libxorp/xorp_osdep_end.h
  M xorp/libxorp/xorp_osdep_mid.h
  M xorp/libxorp/xorpfd.hh
  M xorp/mld6igmp/SConscript
  M xorp/mrt/buffer.h
  M xorp/ospf/SConscript
  M xorp/ospf/tools/SConscript
  M xorp/pim/SConscript
  M xorp/pim/pim_proto.h
  M xorp/pim/pim_vif.cc
  M xorp/policy/SConscript
  M xorp/rib/SConscript
  M xorp/rib/tools/SConscript
  M xorp/rip/SConscript
  M xorp/rip/tools/SConscript
  M xorp/rtrmgr/SConscript
  M xorp/rtrmgr/cli.cc
  A xorp/rtrmgr/glob_win32.c
  A xorp/rtrmgr/glob_win32.h
  M xorp/rtrmgr/main_rtrmgr.cc
  M xorp/rtrmgr/master_conf_tree.cc
  M xorp/rtrmgr/master_template_tree.cc
  M xorp/rtrmgr/master_template_tree_node.cc
  M xorp/rtrmgr/module_manager.cc
  M xorp/rtrmgr/op_commands.cc
  M xorp/rtrmgr/randomness.cc
  M xorp/rtrmgr/template_tree.cc
  M xorp/rtrmgr/template_tree_node.cc
  M xorp/rtrmgr/tests/test_templates.cc
  M xorp/rtrmgr/userdb.cc
  M xorp/rtrmgr/util.cc
  M xorp/rtrmgr/xorpsh_main.cc
  M xorp/rtrmgr/xorpsh_main.hh
  M xorp/rtrmgr/xrl_rtrmgr_interface.cc
  M xorp/rtrmgr/xrldb.cc
  M xorp/site_scons/config/allconfig.py
  M xorp/static_routes/SConscript
  M xorp/utils/runit.cc
  M xorp/vrrp/SConscript
  M xorp/xrl/targets/test_socket6.tgt

Log Message:
-----------
Re-enable Windows support for Xorp.CT.  This basically
reverts commit:  e1b0f1bf3a06524593301c0e0a6da833b271a4c
With additional hacks and merge fixes.

It now compiles under mingw, at least.

IPv6 support looks a bit dodgy, but IPv4 has
a good chance of working.

Signed-off-by: Ben Greear <greearb at candelatech.com>


Commit: ca31829453dc98fcc0feaf8a7c3dd729d2586fb0
    https://github.com/greearb/xorp.ct/commit/ca31829453dc98fcc0feaf8a7c3dd729d2586fb0
Author: Ben Greear <greearb at candelatech.com>
Date:   2011-02-25 (Fri, 25 Feb 2011)

Changed paths:
  A xorp/fea/data_plane/control_socket/windows_routing_socket.h
  A xorp/fea/data_plane/control_socket/windows_rras_support.cc
  A xorp/fea/data_plane/control_socket/windows_rras_support.hh
  A xorp/fea/data_plane/control_socket/windows_rtm_pipe.cc
  A xorp/fea/data_plane/control_socket/windows_rtm_pipe.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_get_iphelper.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_get_iphelper.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_get_rtmv2.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_get_rtmv2.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_observer_iphelper.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_observer_iphelper.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_observer_rtmv2.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_observer_rtmv2.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_set_iphelper.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_set_iphelper.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_set_rtmv2.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_entry_set_rtmv2.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_forwarding_windows.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_forwarding_windows.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_table_get_iphelper.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_table_get_iphelper.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_table_observer_iphelper.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_table_observer_iphelper.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_table_observer_rtmv2.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_table_observer_rtmv2.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_table_set_iphelper.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_table_set_iphelper.hh
  A xorp/fea/data_plane/fibconfig/fibconfig_table_set_rtmv2.cc
  A xorp/fea/data_plane/fibconfig/fibconfig_table_set_rtmv2.hh
  A xorp/fea/data_plane/ifconfig/ifconfig_get_iphelper.cc
  A xorp/fea/data_plane/ifconfig/ifconfig_get_iphelper.hh
  A xorp/fea/data_plane/ifconfig/ifconfig_observer_iphelper.cc
  A xorp/fea/data_plane/ifconfig/ifconfig_observer_iphelper.hh
  A xorp/fea/data_plane/ifconfig/ifconfig_property_windows.cc
  A xorp/fea/data_plane/ifconfig/ifconfig_property_windows.hh
  A xorp/fea/data_plane/ifconfig/ifconfig_set_iphelper.cc
  A xorp/fea/data_plane/ifconfig/ifconfig_set_iphelper.hh
  A xorp/fea/data_plane/managers/fea_data_plane_manager_windows.cc
  A xorp/fea/data_plane/managers/fea_data_plane_manager_windows.hh
  A xorp/libxorp/win_dispatcher.hh
  A xorp/libxorp/win_io.h

Log Message:
-----------
Add missing files to support Windows.

Signed-off-by: Ben Greear <greearb at candelatech.com>


Commit: 30d64824f27cbbfa4fcbb7f4eaf76f94f71c04f4
    https://github.com/greearb/xorp.ct/commit/30d64824f27cbbfa4fcbb7f4eaf76f94f71c04f4
Author: Ben Greear <greearb at candelatech.com>
Date:   2011-02-25 (Fri, 25 Feb 2011)

Changed paths:
  M xorp/BUILD_NOTES
  M xorp/SConstruct
  M xorp/fea/data_plane/fibconfig/fibconfig_entry_set_iphelper.cc
  M xorp/fea/data_plane/fibconfig/fibconfig_table_get_iphelper.cc
  M xorp/fea/data_plane/fibconfig/fibconfig_table_get_netlink_socket.hh
  M xorp/fea/data_plane/fibconfig/fibconfig_table_parse_netlink_socket.cc
  M xorp/fea/data_plane/ifconfig/ifconfig_get_iphelper.cc
  M xorp/fea/data_plane/ifconfig/ifconfig_get_iphelper.hh
  M xorp/fea/iftree.cc
  M xorp/libxorp/utils.hh
  M xorp/rtrmgr/module_manager.cc
  M xorp/rtrmgr/util.cc
  M xorp/utils/runit.cc

Log Message:
-----------
win32:  Fix some path errors, and some fea issues.

OSPF (at least) seems to work OK now on Windows.


Commit: e120bfde8857f12f0bcc3954b9aefb8c915c0a15
    https://github.com/greearb/xorp.ct/commit/e120bfde8857f12f0bcc3954b9aefb8c915c0a15
Author: Ben Greear <greearb at candelatech.com>
Date:   2011-02-25 (Fri, 25 Feb 2011)

Changed paths:
  M xorp/SConstruct
  M xorp/cli/libtecla/SConscript
  M xorp/fea/data_plane/fibconfig/SConscript

Log Message:
-----------
Fix some non-win32 build breakage introduced in the win32 port.

Signed-off-by: Ben Greear <greearb at candelatech.com>




More information about the Xorp-cvs mailing list