MinGW compile link errors with svn 11440
Li-Hui Zhou
lhzhou at yeah.net
Sat Sep 15 00:27:36 UTC 2007
There's a lot of errors when linking
gcc -g -O2 -Wall -g -O2 -o tor.exe buffers.o circuitbuild.o
circuitlist.o circuituse.o command.o config.o connection.o
connection_edge.o connection_or.o control.o cpuworker.o directory.o
dirserv.o dirvote.o dns.o dnsserv.o hibernate.o main.o ntmain.o config.o
onion.o policies.o relay.o rendcommon.o rendclient.o rendmid.o
rendservice.o rephist.o router.o routerlist.o routerparse.o eventdns.o
tor_main.o ../common/libor.a ../common/libor-crypto.a -lz -levent -lssl
-lcrypto -lws2_32 -lgdi32
config.o(.text+0xd0): In function `get_options':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:693: multiple definition of `get_options'
config.o(.text+0xd0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:693: first defined here
config.o(.text+0x180): In function `get_version':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:732: multiple definition of `get_version'
config.o(.text+0x180):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:732: first defined here
config.o(.text+0x200): In function `safe_str':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:767: multiple definition of `safe_str'
config.o(.text+0x200):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:767: first defined here
config.o(.text+0x2c0): In function `escaped_safe_str':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:780: multiple definition of `escaped_safe_str'
config.o(.text+0x2c0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:780: first defined here
config.o(.text+0x400): In function `config_free_lines':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1265: multiple definition of `config_free_lines'
config.o(.text+0x400):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1265: first defined here
config.o(.text+0x4c0): In function `config_get_lines':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1233: multiple definition of `config_get_lines'
config.o(.text+0x4c0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1233: first defined here
config.o(.text+0x6c0): In function `option_is_recognized':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1529: multiple definition of `option_is_recognized'
config.o(.text+0x6c0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1529: first defined here
config.o(.text+0x6e0): In function `option_get_canonical_name':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1537: multiple definition of `option_get_canonical_name'
config.o(.text+0x6e0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1537: first defined here
config.o(.text+0xba0): In function `option_get_assignment':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1546: multiple definition of `option_get_assignment'
config.o(.text+0xba0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1546: first defined here
config.o(.text+0xed0): In function `config_free_all':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:749: multiple definition of `config_free_all'
config.o(.text+0xed0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:749: first defined here
config.o(.text+0xf50): In function `resolve_my_address':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1914: multiple definition of `resolve_my_address'
config.o(.text+0xf50):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1914: first defined here
config.o(.text+0x16b0): In function `is_local_IP':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:2065: multiple definition of `is_local_IP'
config.o(.text+0x16b0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:2065: first defined here
config.o(.text+0x19f0): In function `options_new':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:2217: multiple definition of `options_new'
config.o(.text+0x19f0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:2217: first defined here
config.o(.text+0x1ec0): In function `get_torrc_fname':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:3420: multiple definition of `get_torrc_fname'
config.o(.text+0x1ec0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:3420: first defined here
config.o(.text+0x1ee0): In function `options_init_logs':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:3521: multiple definition of `options_init_logs'
config.o(.text+0x1ee0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:3521: first defined here
config.o(.text+0x5dd0): In function `options_dump':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:2337: multiple definition of `options_dump'
config.o(.text+0x5dd0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:2337: first defined here
config.o(.text+0x6150): In function `options_save_current':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4021: multiple definition of `options_save_current'
config.o(.text+0x6150):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4021: first defined here
config.o(.text+0x6190): In function `options_init':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:2225: multiple definition of `options_init'
config.o(.text+0x6190):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:2225: first defined here
config.o(.text+0x6760): In function `get_or_state':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4310: multiple definition of `get_or_state'
config.o(.text+0x6760):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4310: first defined here
config.o(.text+0x68a0): In function `or_state_save':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4479: multiple definition of `or_state_save'
config.o(.text+0x68a0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4479: first defined here
config.o(.text+0x6b80): In function `or_state_load':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4372: multiple definition of `or_state_load'
config.o(.text+0x6b80):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4372: first defined here
config.o(.text+0x7120): In function `set_options':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:704: multiple definition of `set_options'
config.o(.text+0x7120):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:704: first defined here
config.o(.text+0x8390): In function `options_trial_assign':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1769: multiple definition of `options_trial_assign'
config.o(.text+0x8390):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:1769: first defined here
config.o(.text+0x8610): In function `getinfo_helper_config':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4535: multiple definition of `getinfo_helper_config'
config.o(.text+0x8610):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:4535: first defined here
config.o(.text+0x8830): In function `options_init_from_torrc':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:3263: multiple definition of `options_init_from_torrc'
config.o(.text+0x8830):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:3263: first defined here
config.o(.rdata+0x0): In function `config_alloc':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:683: multiple definition of `config_c_id'
config.o(.rdata+0x0):d:/CompileProject/tor-mingw/tor-svn/tor/src/or/config.c:683: first defined here
collect2: ld returned 1 exit status
make[3]: *** [tor.exe] Error 1
make[3]: Leaving directory `/d/CompileProject/tor-mingw/tor-svn/tor/src/or'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/d/CompileProject/tor-mingw/tor-svn/tor/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/CompileProject/tor-mingw/tor-svn/tor'
make: *** [all] Error 2
--
Li-Hui Zhou <lhzhou at yeah.net>
More information about the tor-talk
mailing list