tor svn 14224 link errors
Li-Hui Zhou
lhzhou at yeah.net
Fri Mar 28 00:20:23 UTC 2008
MinGW says as follow:
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 geoip.o hibernate.o main.o ntmain.o
networkstatus.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
routerparse.o: In function `get_next_token':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2786: undefined reference to `_memarea_alloc_zero'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2885: undefined reference to `_memarea_alloc_zero'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2912: undefined reference to `_memarea_strdup'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2868: undefined reference to `_memarea_alloc'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2869: undefined reference to `_memarea_strndup'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2740: undefined reference to `_memarea_alloc_zero'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2753: undefined reference to `_memarea_strdup'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2819: undefined reference to `_memarea_alloc'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2820: undefined reference to `_memarea_strndup'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2856: undefined reference to `_memarea_alloc_zero'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2918: undefined reference to `_memarea_strdup'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2825: undefined reference to `_memarea_strndup'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2887: undefined reference to `_memarea_strndup'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2853: undefined reference to `_memarea_alloc_zero'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2853: undefined reference to `_memarea_strdup'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2837: undefined reference to `_memarea_alloc'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2802: undefined reference to `_memarea_alloc_zero'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2753: undefined reference to `_memarea_alloc_zero'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2915: undefined reference to `_memarea_alloc'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2894: undefined reference to `_memarea_alloc_zero'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2912: undefined reference to `_memarea_alloc_zero'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2918: undefined reference to `_memarea_alloc_zero'
routerparse.o: In function `networkstatus_parse_detached_signatures':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2453: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2545: undefined reference to `_memarea_drop_all'
routerparse.o: In function `router_parse_addr_policy_item_from_string':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2580: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2600: undefined reference to `_memarea_drop_all'
routerparse.o: In function `find_dir_signing_key':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:824: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:846: undefined reference to `_memarea_drop_all'
routerparse.o: In function `authority_cert_parse_from_string':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:1546: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:1667: undefined reference to `_memarea_drop_all'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:1658: undefined reference to `_memarea_drop_all'
routerparse.o: In function `extrainfo_parse_entry_from_string':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:1428: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:1514: undefined reference to `_memarea_drop_all'
routerparse.o: In function `router_parse_runningrouters':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:757: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:798: undefined reference to `_memarea_drop_all'
routerparse.o: In function `router_parse_directory':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:654: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:733: undefined reference to `_memarea_drop_all'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:692: undefined reference to `_memarea_clear'
routerparse.o: In function `routerstatus_parse_entry_from_string':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:1857: undefined reference to `_memarea_clear'
routerparse.o: In function `networkstatus_parse_vote_from_string':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2081: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2429: undefined reference to `_memarea_drop_all'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2432: undefined reference to `_memarea_drop_all'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2284: undefined reference to `_memarea_new'
routerparse.o: In function `networkstatus_v2_parse_from_string':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:1906: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2009: undefined reference to `_memarea_clear'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:2052: undefined reference to `_memarea_drop_all'
routerparse.o: In function `router_parse_entry_from_string':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:1109: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:1392: undefined reference to `_memarea_drop_all'
routerparse.o: In function `rend_parse_v2_service_descriptor':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:3350: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:3481: undefined reference to `_memarea_drop_all'
routerparse.o: In function `rend_decrypt_introduction_points':
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:3538: undefined reference to `_memarea_new'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:3549: undefined reference to `_memarea_clear'
d:/CompileProject/tor-mingw/tor-svn/tor/src/or/routerparse.c:3619: undefined reference to `_memarea_drop_all'
collect2: ld returned 1 exit status
make[3]: *** [tor.exe] Error 1
--
Li-Hui Zhou <lhzhou at yeah.net>
More information about the tor-talk
mailing list