[tor-bugs] #33837 [Core Tor/Tor]: Tor.framework Unknown type name 'dispatch_queue_t'

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 16 13:44:56 UTC 2020


#33837: Tor.framework Unknown type name 'dispatch_queue_t'
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  (none)
     Type:  defect                               |         Status:  closed
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.3.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:  fixed
 Keywords:  043-should, 043-backport,            |  Actual Points:
  042-backport, 041-backport                     |
Parent ID:                                       |         Points:  .5
 Reviewer:  ahf                                  |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by tla):

 I improved the build script further:
 https://github.com/iCepa/Tor.framework/commit/8881bfb627d2ebbd37eb7aa9cced46092bb0f96e

 Now, there's a configure before make show-libs is called.

 I can compile 0.4.3.4-rc without problem now.
 Master not so great, though:


 {{{
 Ld
 /Users/berhart/Library/Developer/Xcode/DerivedData/Tor-
 atzjucxhwnhfrqcmzwlymuguursh/Build/Products/Debug/Tor.framework/Versions
 /A/Tor normal x86_64 (in target 'Tor-Mac' from project 'Tor') cd
 /Users/berhart/workspace/gp/Tor.framework
     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.
     /xctoolchain/usr/bin/clang -target x86_64-apple-macos10.9
     /-dynamiclib -isysroot
     //Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.
     /platform/Developer/SDKs/MacOSX10.15.sdk
     /-L/Users/berhart/Library/Developer/Xcode/DerivedData/Tor-
     /atzjucxhwnhfrqcmzwlymuguursh/Build/Products/Debug
     /-F/Users/berhart/Library/Developer/Xcode/DerivedData/Tor-
     /atzjucxhwnhfrqcmzwlymuguursh/Build/Products/Debug -filelist
     //Users/berhart/Library/Developer/Xcode/DerivedData/Tor-
     /atzjucxhwnhfrqcmzwlymuguursh/Build/Intermediates.noindex/Tor.build/
     /Debug/Tor-Mac.build/Objects-normal/x86_64/Tor.LinkFileList
     /-install_name @rpath/Tor.framework/Tor -Xlinker -rpath -Xlinker
     /@executable_path/../Frameworks -Xlinker -rpath -Xlinker
     /@loader_path/../Frameworks -Xlinker -object_path_lto -Xlinker
     //Users/berhart/Library/Developer/Xcode/DerivedData/Tor-
     /atzjucxhwnhfrqcmzwlymuguursh/Build/Intermediates.noindex/Tor.build/
     /Debug/Tor-Mac.build/Objects-normal/x86_64/Tor_lto.o -Xlinker
     /-export_dynamic -Xlinker -no_deduplicate -fobjc-arc
     /-fobjc-link-runtime -fapplication-extension -framework CFNetwork
     /-ltor-app -ltor-compress -ltor-evloop -ltor-tls -ltor-crypt-ops
     /-lkeccak-tiny -ltor-pubsub -ltor-confmgt -led25519_ref10
     /-led25519_donna -lcurve25519_donna -ltor-geoip -ltor-process
     /-ltor-buf -ltor-time -ltor-fs -ltor-encoding -ltor-sandbox
     /-ltor-container -ltor-net -ltor-thread -ltor-memarea -ltor-math
     /-ltor-meminfo -ltor-osinfo -ltor-dispatch -ltor-log -ltor-lock
     /-ltor-fdio -ltor-string -ltor-term -ltor-smartlist-core
     /-ltor-malloc -ltor-wallclock -ltor-err -ltor-version -ltor-intmath
     /-ltor-ctime -lor-trunnel -ltor-trace -lssl -lcrypto -levent
     /-levent_core -levent_extra -levent_pthreads -llzma -lz -Xlinker
     /-dependency_info -Xlinker
     //Users/berhart/Library/Developer/Xcode/DerivedData/Tor-
     /atzjucxhwnhfrqcmzwlymuguursh/Build/Intermediates.noindex/Tor.build/
     /Debug/Tor-Mac.build/Objects-normal/x86_64/Tor_dependency_info.dat
     /-o
     //Users/berhart/Library/Developer/Xcode/DerivedData/Tor-
     /atzjucxhwnhfrqcmzwlymuguursh/Build/Products/Debug/Tor.framework/
     /Versions/A/Tor
     /
 Undefined symbols for architecture x86_64: "_sys_winprocess", referenced
 from: _tor_subsystems in libtor-app.a(subsystem_list.o) ld: symbol(s)
 not found for architecture x86_64 clang: error: linker command failed
 with exit code 1 (use -v to see invocation)
 }}}

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


More information about the tor-bugs mailing list