[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Why error when I buildTor on windows



I try to build Tor on windows following the dircetion of https://tor.addicts.nl/windows/.
I am succeed in compiling but meet several errors while linking:
 
routerlist.obj : error LNK2019: unresolved external symbol _compare_addr_to_addr_policy referenced in function _extrainfo_get_by_descriptor_digest
circuitbuild.obj : error LNK2001: unresolved external symbol _compare_addr_to_addr_policy
circuituse.obj : error LNK2001: unresolved external symbol _compare_addr_to_addr_policy
connection_edge.obj : error LNK2001: unresolved external symbol _compare_addr_to_addr_policy
router.obj : error LNK2001: unresolved external symbol _compare_addr_to_addr_policy
circuitbuild.obj : error LNK2019: unresolved external symbol _fascist_firewall_allows_address_or referenced in function _choose_good_entry_server
directory.obj : error LNK2001: unresolved external symbol _fascist_firewall_allows_address_or
routerlist.obj : error LNK2001: unresolved external symbol _fascist_firewall_allows_address_or
circuitbuild.obj : error LNK2019: unresolved external symbol _firewall_is_fascist_or referenced in function _choose_good_entry_server
config.obj : error LNK2019: unresolved external symbol _policies_parse_from_options referenced in function _options_act
config.obj : error LNK2019: unresolved external symbol _validate_addr_policies referenced in function _options_validate
config.obj : error LNK2001: unresolved external symbol _policies_c_id
config.obj : error LNK2001: unresolved external symbol _ntmain_c_id
connection.obj : error LNK2019: unresolved external symbol _dnsserv_close_listener referenced in function _connection_unregister_events
connection.obj : error LNK2019: unresolved external symbol _dnsserv_reject_request referenced in function _connection_about_to_close_connection
connection.obj : error LNK2019: unresolved external symbol _dnsserv_configure_listener referenced in function _connection_create_listener
connection.obj : error LNK2019: unresolved external symbol _dir_policy_permits_address referenced in function _connection_handle_listener_read
connection.obj : error LNK2019: unresolved external symbol _socks_policy_permits_address referenced in function _connection_handle_listener_read
connection_edge.obj : error LNK2019: unresolved external symbol _dnsserv_resolved referenced in function _connection_ap_handshake_socks_resolved
connection_edge.obj : error LNK2019: unresolved external symbol _policy_is_reject_star referenced in function _connection_ap_can_use_exit
control.obj : error LNK2001: unresolved external symbol _getinfo_helper_policies
control.obj : error LNK2019: unresolved external symbol _dnsserv_launch_request referenced in function _handle_control_resolve
directory.obj : error LNK2019: unresolved external symbol _fascist_firewall_allows_address_dir referenced in function _directory_post_to_dirservers
routerlist.obj : error LNK2001: unresolved external symbol _fascist_firewall_allows_address_dir
directory.obj : error LNK2019: unresolved external symbol _dirvote_get_vote referenced in function _directory_handle_command_get
directory.obj : error LNK2019: unresolved external symbol _dirvote_get_pending_detached_signatures referenced in function _directory_handle_command_get
directory.obj : error LNK2019: unresolved external symbol _dirvote_get_pending_consensus referenced in function _directory_handle_command_get
directory.obj : error LNK2019: unresolved external symbol _dirvote_add_signatures referenced in function _directory_handle_command_post
directory.obj : error LNK2019: unresolved external symbol _dirvote_add_vote referenced in function _directory_handle_command_post
dirserv.obj : error LNK2019: unresolved external symbol _authdir_policy_valid_address referenced in function _dirserv_get_status_impl
dirserv.obj : error LNK2019: unresolved external symbol _authdir_policy_permits_address referenced in function _dirserv_get_status_impl
dirserv.obj : error LNK2019: unresolved external symbol _authdir_policy_badexit_address referenced in function _dirserv_get_status_impl
dirserv.obj : error LNK2019: unresolved external symbol _networkstatus_vote_free referenced in function _format_networkstatus_vote
routerlist.obj : error LNK2001: unresolved external symbol _networkstatus_vote_free
routerparse.obj : error LNK2001: unresolved external symbol _networkstatus_vote_free
dirserv.obj : error LNK2019: unresolved external symbol _authority_cert_dup referenced in function _generate_networkstatus_vote_obj
dirserv.obj : error LNK2019: unresolved external symbol _dirvote_get_start_of_next_interval referenced in function _generate_networkstatus_vote_obj
dirserv.obj : error LNK2019: unresolved external symbol _dirvote_get_preferred_voting_intervals referenced in function _generate_networkstatus_vote_obj
dirserv.obj : error LNK2019: unresolved external symbol _exit_policy_is_general_exit referenced in function _dirserv_compute_performance_thresholds
dns.obj : error LNK2019: unresolved external symbol _evdns_set_transaction_id_fn referenced in function _dns_init
dns.obj : error LNK2019: unresolved external symbol _evdns_search_clear referenced in function _dns_reset
dns.obj : error LNK2019: unresolved external symbol _evdns_clear_nameservers_and_suspend referenced in function _dns_reset
dns.obj : error LNK2019: unresolved external symbol _evdns_set_option referenced in function _configure_nameservers
dns.obj : error LNK2019: unresolved external symbol _evdns_config_windows_nameservers referenced in function _configure_nameservers
dns.obj : error LNK2019: unresolved external symbol _evdns_resume referenced in function _configure_nameservers
dns.obj : error LNK2019: unresolved external symbol _evdns_count_nameservers referenced in function _configure_nameservers
dns.obj : error LNK2019: unresolved external symbol _evdns_resolv_conf_parse referenced in function _configure_nameservers
dns.obj : error LNK2019: unresolved external symbol _evdns_set_log_fn referenced in function _configure_nameservers
dns.obj : error LNK2019: unresolved external symbol _evdns_resolve_reverse referenced in function _launch_resolve
dns.obj : error LNK2019: unresolved external symbol _evdns_resolve_ipv4 referenced in function _launch_resolve
main.obj : error LNK2019: unresolved external symbol _nt_service_is_stopping referenced in function _do_main_loop
main.obj : error LNK2019: unresolved external symbol _dirvote_act referenced in function _run_scheduled_events
main.obj : error LNK2019: unresolved external symbol _policies_free_all referenced in function _tor_free_all
main.obj : error LNK2019: unresolved external symbol _dirvote_free_all referenced in function _tor_free_all
main.obj : error LNK2019: unresolved external symbol _evdns_shutdown referenced in function _tor_free_all
main.obj : error LNK2019: unresolved external symbol _nt_service_set_state referenced in function _tor_main
main.obj : error LNK2019: unresolved external symbol _nt_service_parse_options referenced in function _tor_main
relay.obj : error LNK2019: unresolved external symbol _addr_policy_free referenced in function _connection_edge_process_end_not_open
routerlist.obj : error LNK2001: unresolved external symbol _addr_policy_free
routerparse.obj : error LNK2001: unresolved external symbol _addr_policy_free
router.obj : error LNK2019: unresolved external symbol _authority_cert_free referenced in function _init_v3_authority_keys
routerlist.obj : error LNK2001: unresolved external symbol _authority_cert_free
routerparse.obj : error LNK2001: unresolved external symbol _authority_cert_free
router.obj : error LNK2019: unresolved external symbol _policies_parse_exit_policy referenced in function _router_rebuild_descriptor
router.obj : error LNK2019: unresolved external symbol _policy_write_item referenced in function _router_dump_router_to_string
routerparse.obj : error LNK2001: unresolved external symbol _policy_write_item
routerlist.obj : error LNK2019: unresolved external symbol _networkstatus_check_consensus_signature referenced in function _trusted_dirs_load_certs_from_string
routerlist.obj : error LNK2019: unresolved external symbol _cmp_addr_policies referenced in function _router_differences_are_cosmetic
routerparse.obj : error LNK2019: unresolved external symbol _networkstatus_get_voter_by_id referenced in function _networkstatus_parse_vote_from_string
routerparse.obj : error LNK2019: unresolved external symbol _ns_detached_signatures_free referenced in function _networkstatus_parse_detached_signatures
Debug/Tor.exe : fatal error LNK1120: 56 unresolved externals
 
I use microsoft visual studio 2005 on windows XP.
Who can tell me what should I do?
Thank you!