[tor-bugs] #28485 [Core Tor/Tor]: Link failure for tor-print-ed-signing-cert.exe on Windows

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Nov 17 02:11:20 UTC 2018


#28485: Link failure for tor-print-ed-signing-cert.exe on Windows
------------------------------+------------------------------
     Reporter:  ahf           |      Owner:  ahf
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:  Tor: unspecified
     Severity:  Major         |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 Currently Tor fails to build on Windows because of:

 {{{
   CCLD     src/tools/tor-print-ed-signing-cert.exe
 /usr/bin/i686-w64-mingw32-ld: /home/user/src/github.com/ahf/tor-
 win32/prefix/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x100d):
 undefined reference to `_imp__GetDeviceCaps at 8'
 /usr/bin/i686-w64-mingw32-ld: /home/user/src/github.com/ahf/tor-
 win32/prefix/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x103b):
 undefined reference to `_imp__CreateCompatibleBitmap at 12'
 /usr/bin/i686-w64-mingw32-ld: /home/user/src/github.com/ahf/tor-
 win32/prefix/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x105d):
 undefined reference to `_imp__GetObjectA at 12'
 /usr/bin/i686-w64-mingw32-ld: /home/user/src/github.com/ahf/tor-
 win32/prefix/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x113d):
 undefined reference to `_imp__GetDIBits at 28'
 /usr/bin/i686-w64-mingw32-ld: /home/user/src/github.com/ahf/tor-
 win32/prefix/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x11a1):
 undefined reference to `_imp__DeleteObject at 4'
 }}}

 This is because we are missing to include the library from
 `@TOR_LIB_GDI@`. Patch coming up.

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


More information about the tor-bugs mailing list