svn 16301 link error - undefined reference to `_tor_inet_ntoa'
Li-Hui Zhou
lhzhou at yeah.net
Thu Jul 31 11:44:24 UTC 2008
Recent svn versions give me a lot of error messages as follow:
buffers.o: In function `fetch_from_buf_socks':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/buffers.c:1479: undefined reference to `_tor_inet_ntoa'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/buffers.c:1381: undefined reference to `_tor_inet_ntoa'
circuitbuild.o: In function `fetch_bridge_descriptors':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/circuitbuild.c:2988: undefined reference to `_tor_inet_ntoa'
circuitbuild.o: In function `retry_bridge_descriptor_fetch_directly':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/circuitbuild.c:2968: undefined reference to `_tor_inet_ntoa'
circuitbuild.o: In function `circuit_extend':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/circuitbuild.c:764: undefined reference to `_tor_inet_ntoa'
circuitbuild.o:d:\CompileProject\tor-mingw\tor-svn\tor\src\or/circuitbuild.c:356: more undefined references to `_tor_inet_ntoa' follow
config.o: In function `is_local_IP':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2375: undefined reference to `_is_internal_IP'
config.o: In function `parse_redirect_line':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:4159: undefined reference to `_parse_addr_and_port_range'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:4167: undefined reference to `_parse_addr_port'
config.o: In function `parse_dir_server_line':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:4339: undefined reference to `_parse_addr_port'
config.o: In function `parse_bridge_line':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:4216: undefined reference to `_parse_addr_port'
config.o: In function `resolve_my_address':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2312: undefined reference to `_tor_inet_ntoa'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2313: undefined reference to `_is_internal_IP'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2280: undefined reference to `_is_internal_IP'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2284: undefined reference to `_tor_inet_ntoa'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2289: undefined reference to `_get_interface_address'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2265: undefined reference to `_get_interface_address'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2302: undefined reference to `_tor_inet_ntoa'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2292: undefined reference to `_is_internal_IP'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2295: undefined reference to `_tor_inet_ntoa'
config.o: In function `options_validate':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2829: undefined reference to `_parse_addr_port'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:2831: undefined reference to `_is_internal_IP'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:3225: undefined reference to `_parse_addr_port'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:3239: undefined reference to `_parse_addr_port'
config.o: In function `print_svn_version':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/config.c:5234: undefined reference to `_address_c_id'
connection.o: In function `connection_is_rate_limited':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection.c:1425: undefined reference to `_is_internal_IP'
connection.o: In function `client_check_address_changed':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection.c:2648: undefined reference to `_get_interface_address'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection.c:2629: undefined reference to `_get_interface_address'
connection.o: In function `connection_handle_listener_read':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection.c:1039: undefined reference to `_tor_dup_ip'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection.c:1025: undefined reference to `_tor_inet_ntoa'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection.c:1014: undefined reference to `_tor_inet_ntoa'
connection.o: In function `retry_listeners':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection.c:1255: undefined reference to `_parse_addr_port'
connection.o: In function `create_inet_sockaddr':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection.c:699: undefined reference to `_parse_addr_port'
connection_edge.o: In function `address_is_in_virtual_range':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:1075: undefined reference to `_addr_mask_cmp_bits'
connection_edge.o: In function `client_dns_set_addressmap':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:980: undefined reference to `_tor_inet_ntoa'
connection_edge.o: In function `tell_controller_about_resolved_result':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:2192: undefined reference to `_tor_inet_ntoa'
connection_edge.o: In function `addressmap_get_virtual_address':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:1112: undefined reference to `_tor_inet_ntoa'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:1125: undefined reference to `_addr_mask_cmp_bits'
connection_edge.o: In function `connection_ap_handshake_rewrite_and_attach':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:1389: undefined reference to `_tor_addr_is_internal'
connection_edge.o: In function `parse_virtual_addr_network':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:1034: undefined reference to `_parse_addr_and_port_range'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:1056: undefined reference to `_addr_mask_cmp_bits'
connection_edge.o: In function `connection_exit_connect':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:2639: undefined reference to `_addr_mask_cmp_bits'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:2639: undefined reference to `_tor_inet_ntoa'
connection_edge.o: In function `connection_edge_finished_connecting':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:296: undefined reference to `_tor_inet_ntoa'
connection_edge.o: In function `connection_exit_begin_conn':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_edge.c:2425: undefined reference to `_parse_addr_port'
connection_or.o: In function `connection_or_init_conn_from_address':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_or.c:437: undefined reference to `_tor_dup_ip'
connection_or.o: In function `connection_or_finished_connecting':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/connection_or.c:357: undefined reference to `_tor_inet_ntoa'
control.o: In function `getinfo_helper_misc':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/control.c:1385: undefined reference to `_tor_dup_ip'
cpuworker.o: In function `tag_unpack':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/cpuworker.c:86: undefined reference to `_tor_inet_ntoa'
directory.o: In function `directory_initiate_command_routerstatus':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/directory.c:466: undefined reference to `_tor_inet_ntoa'
directory.o: In function `http_set_address_origin':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/directory.c:1151: undefined reference to `_is_internal_IP'
dirserv.o: In function `routerstatus_format_entry':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dirserv.c:1879: undefined reference to `_tor_inet_ntoa'
dirserv.o: In function `generate_v2_networkstatus_opinion':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dirserv.c:2345: undefined reference to `_tor_inet_ntoa'
dirserv.o: In function `dirserv_generate_networkstatus_vote_obj':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dirserv.c:2168: undefined reference to `_tor_dup_ip'
dirserv.o: In function `dirserv_router_has_valid_address':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dirserv.c:498: undefined reference to `_is_internal_IP'
dirvote.o: In function `format_networkstatus_vote':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dirvote.c:59: undefined reference to `_tor_inet_ntoa'
dirvote.o: In function `networkstatus_compute_consensus':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dirvote.c:637: undefined reference to `_tor_inet_ntoa'
dns.o: In function `evdns_wildcard_check_callback':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dns.c:1417: undefined reference to `_tor_inet_ntoa'
dns.o: In function `dns_resolve_impl':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dns.c:672: undefined reference to `_is_internal_IP'
dns.o: In function `evdns_callback':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dns.c:1214: undefined reference to `_tor_inet_ntoa'
dnsserv.o: In function `evdns_server_callback':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/dnsserv.c:121: undefined reference to `_tor_dup_ip'
policies.o: In function `policy_hash':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:468: undefined reference to `_tor_addr_hash'
policies.o: In function `cmp_single_addr_policy':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:412: undefined reference to `_tor_addr_compare'
policies.o: In function `policy_write_item':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:827: undefined reference to `_tor_addr_to_str'
policies.o: In function `exit_policy_is_general_exit':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:779: undefined reference to `_tor_addr_is_loopback'
policies.o: In function `compare_addr_to_addr_policy':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:537: undefined reference to `_tor_addr_from_ipv4h'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:538: undefined reference to `_tor_addr_is_null'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:561: undefined reference to `_tor_addr_compare_masked'
policies.o: In function `policy_expand_private':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:61: undefined reference to `_tor_addr_parse_mask_ports'
policies.o: In function `addr_policy_covers':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:605: undefined reference to `_tor_addr_compare_masked'
policies.o: In function `addr_policy_intersects':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:628: undefined reference to `_tor_addr_compare_masked'
policies.o: In function `addr_policy_covers':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/policies.c:605: undefined reference to `_tor_addr_compare_masked'
relay.o: In function `remap_event_helper':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/relay.c:748: undefined reference to `_tor_inet_ntoa'
relay.o: In function `connection_edge_process_relay_cell_not_open':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/relay.c:789: undefined reference to `_is_internal_IP'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/relay.c:794: undefined reference to `_tor_inet_ntoa'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/relay.c:871: undefined reference to `_is_internal_IP'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/relay.c:876: undefined reference to `_tor_inet_ntoa'
rendcommon.o: In function `rend_encode_v2_intro_points':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/rendcommon.c:203: undefined reference to `_tor_dup_ip'
rendservice.o: In function `rend_add_service':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/rendservice.c:158: undefined reference to `_tor_inet_ntoa'
rendservice.o: In function `parse_port_config':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/rendservice.c:205: undefined reference to `_parse_addr_port'
router.o: In function `log_addr_has_changed':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/router.c:1465: undefined reference to `_tor_inet_ntoa'
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/router.c:1468: undefined reference to `_tor_inet_ntoa'
router.o: In function `router_new_address_suggestion':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/router.c:1542: undefined reference to `_is_internal_IP'
router.o: In function `router_rebuild_descriptor':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/router.c:1255: undefined reference to `_tor_dup_ip'
routerlist.o: In function `trusted_dirs_load_certs_from_string':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/routerlist.c:207: undefined reference to `_tor_dup_ip'
routerparse.o: In function `router_parse_addr_policy_private':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/routerparse.c:2715: undefined reference to `_parse_port_range'
routerparse.o: In function `router_parse_addr_policy':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/routerparse.c:2686: undefined reference to `_tor_addr_parse_mask_ports'
routerparse.o: In function `authority_cert_parse_from_string':
d:\CompileProject\tor-mingw\tor-svn\tor\src\or/routerparse.c:1603: undefined reference to `_parse_addr_port'
../common/libor.a(compat.o): In function `tor_lookup_hostname':
d:\CompileProject\tor-mingw\tor-svn\tor\src\common/compat.c:1167: undefined reference to `_tor_addr_lookup'
../common/libor.a(compat.o): In function `tor_inet_ntop':
d:\CompileProject\tor-mingw\tor-svn\tor\src\common/compat.c:976: undefined reference to `_tor_inet_ntoa'
collect2: ld returned 1 exit status
--
Li-Hui Zhou <lhzhou at yeah.net>
More information about the tor-talk
mailing list