mirror repository of the tor core protocol in case of issues
Go to file
Michael Witten a5e83769b7 Build Bug: -lm should come after passing ../common/libor.a to linker
The following commit:

    commit e56747f9cf
    Author: Nick Mathewson <nickm@torproject.org>
    Date:   Tue Dec 15 14:32:55 2009 -0500

        Refactor a bit so that it is safe to include math.h, and mostly not needed.

introduced this line:

    tor_resolve_LDADD = -lm ../common/libor.a @TOR_LIB_WS32@

which caused the build to fail, because only ../common/libor.a
(via the embedded ../common/util.o via ../common/util.c)
referenced libm's `lround' and `log' symbols, so that the
linker (GNU ld) didn't bother to import those symbols before
reading ../common/libor.a, thus leaving those symbols undefined.

The solution was to swap the order, producing the line:

    tor_resolve_LDADD = ../common/libor.a -lm @TOR_LIB_WS32@

Signed-off-by: Michael Witten <mfwitten@gmail.com>
2010-01-18 22:10:06 -05:00
contrib bump to 0.2.1.21 so we can release 2009-12-21 03:22:49 -05:00
debian Drop debian/patches/0a58567c-work-with-reneg-ssl.dpatch (part of upstream) 2009-11-23 18:59:05 +01:00
doc whitespace fixes 2010-01-15 15:58:35 -05:00
src Build Bug: -lm should come after passing ../common/libor.a to linker 2010-01-18 22:10:06 -05:00
Win32Build r8906@Kushana: nickm | 2006-09-21 21:23:22 -0400 2006-09-22 01:23:28 +00:00
.gitignore Move testing code into new src/test directory. 2009-09-23 00:24:43 -04:00
acinclude.m4 Remove all svn metadata minus what I missed. 2009-05-05 17:05:46 +02:00
AUTHORS r16997@catbus: nickm | 2007-12-06 18:56:33 -0500 2007-12-06 23:56:36 +00:00
autogen.sh r14641@catbus: nickm | 2007-08-17 17:53:14 -0400 2007-08-17 21:55:24 +00:00
ChangeLog Merge remote branch 'origin/maint-0.2.1' 2010-01-16 16:29:54 -05:00
configure.in bump to 0.2.1.21 so we can release 2009-12-21 03:22:49 -05:00
Doxyfile.in Remove all svn metadata minus what I missed. 2009-05-05 17:05:46 +02:00
INSTALL we changed autogen.sh's behavior, so update the INSTALL file 2008-01-23 19:08:53 +00:00
LICENSE Update the year for the copyright statement in two more files 2009-06-30 10:35:10 -04:00
Makefile.am List all the excluded files for make check-spaces 2009-12-12 02:53:27 +01:00
README update the (not very useful) readme 2008-12-07 23:41:10 +00:00
ReleaseNotes bump to 0.2.1.21 so we can release 2009-12-21 03:22:49 -05:00
tor.spec.in Merge commit 'origin/maint-0.2.1' 2009-06-12 11:27:48 -04:00

Tor protects your privacy on the internet by hiding the connection
between your Internet address and the services you use. We believe Tor
is reasonably secure, but please ensure you read the instructions and
configure it properly.

To build Tor from source:
        ./configure; make; make install

Home page:
        https://www.torproject.org/

Download new versions:
        https://www.torproject.org/download.html

Documentation, including links to installation and setup instructions:
        https://www.torproject.org/documentation.html

Making applications work with Tor:
        https://wiki.torproject.org/noreply/TheOnionRouter/TorifyHOWTO

Frequently Asked Questions:
        https://wiki.torproject.org/noreply/TheOnionRouter/TorFAQ