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

[tor-bugs] #26564 [Core Tor/Tor]: Tor compilation fails when cross-compiling for macOS



#26564: Tor compilation fails when cross-compiling for macOS
------------------------------+--------------------
     Reporter:  gk            |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------
 Our latest nightly build is failing when (cross)-compiling `tor` for
 macOS:
 {{{
   CC       src/lib/process/env.o
 src/lib/process/env.c:40:11: warning: implicit declaration of function
 '_NSGetEnviron' is invalid in C99 [-Wimplicit-function-declaration]
   return *_NSGetEnviron();
           ^
 src/lib/process/env.c:40:10: error: indirection requires pointer operand
 ('int' invalid)
   return *_NSGetEnviron();
          ^~~~~~~~~~~~~~~~
 1 warning and 1 error generated.
 Makefile:7498: recipe for target 'src/lib/process/env.o' failed
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26564>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs