[tor-bugs] #23783 [Core Tor/Tor]: Can't build Tor 0.3.2.2-alpha with mingw32 on Windows 7

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Oct 28 21:14:50 UTC 2017


#23783: Can't build Tor 0.3.2.2-alpha with mingw32 on Windows 7
----------------------------------------------+----------------------------
 Reporter:  Bizarreā„¢                          |          Owner:  (none)
     Type:  defect                            |         Status:
                                              |  needs_information
 Priority:  High                              |      Milestone:  Tor:
                                              |  0.3.2.x-final
Component:  Core Tor/Tor                      |        Version:  Tor:
                                              |  0.3.2.2-alpha
 Severity:  Normal                            |     Resolution:
 Keywords:  0.3.2.2-alpha-blogpost-bugreport  |  Actual Points:
Parent ID:                                    |         Points:
 Reviewer:                                    |        Sponsor:
----------------------------------------------+----------------------------
Changes (by teor):

 * status:  new => needs_information


Comment:

 What paths are these OpenSSL libraries installed in?

 {{{
 configure:9264: gcc -o conftest.exe -g -O2 -I/usr/local/ssl/include
 -I${top_srcdir}/src/common -L/usr/local/ssl/lib  conftest.c -lpthread
 -lssl -lcrypto -lgdi32 >&5
 C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x12f):
 undefined reference to `shutdown at 8'
 C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x13d):
 undefined reference to `closesocket at 4'
 C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x16d):
 undefined reference to `WSASetLastError at 4'
 C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x18d):
 undefined reference to `recv at 16'
 C:/MinGW/msys/1.0/local/ssl/lib/libcrypto.a(bss_sock.o):bss_sock.c:(.text+0x1c9):
 undefined reference to `WSAGetLastError at 0'
 ...
 collect2.exe: error: ld returned 1 exit status
 }}}

 Either we used to do a check for the OpenSSL binary path, and we're
 skipping it, or we used to pass the right libraries on mingw32, and we
 don't any more.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23783#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list