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

Re: Howto compile Tor on a windows system



Hi,

If I try to build libevent with the VC project file supplied in the .gz
file, I get the error that err.c is missing. After deleting err.c and
err.h from the project files, libevent builds without errors.

Openssl also builds without problems.

If I build Tor now, I get the following errors (in VC7):

Linking...
log.obj : error LNK2019: unresolved external symbol
_event_set_log_callback referenced in function _configure_libevent_logging
libevent.lib(event.obj) : error LNK2019: unresolved external symbol
_event_msgx referenced in function _event_init
libevent.lib(event.obj) : error LNK2019: unresolved external symbol
_event_errx referenced in function _event_init
libevent.lib(win32.obj) : error LNK2001: unresolved external symbol
_event_errx
libevent.lib(event.obj) : error LNK2019: unresolved external symbol
_event_err referenced in function _event_init
libevent.lib(event.obj) : error LNK2001: unresolved external symbol _errno
Debug/Tor.exe : fatal error LNK1120: 5 unresolved externals

This is with Tor 0.1.0.11, openssl 0.9.7g, libevent 1.1a and zlib 1.2.2

If I get it to work I will put a step-by-step howto online.

Martin