[tor-bugs] #28974 [Core Tor]: android compiling error: 'errno' undeclared (first use in this function)

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 2 17:28:37 UTC 2019


#28974: android compiling error: 'errno' undeclared (first use in this function)
--------------------------+------------------------------
     Reporter:  n8fr8     |      Owner:  (none)
         Type:  defect    |     Status:  new
     Priority:  Medium    |  Milestone:
    Component:  Core Tor  |    Version:  Tor: 0.3.5.6-rc
     Severity:  Normal    |   Keywords:  android, compile
Actual Points:            |  Parent ID:
       Points:            |   Reviewer:
      Sponsor:            |
--------------------------+------------------------------
 make  all-am
 make[1]: Entering directory '/home/n8fr8/dev/repos/tor-
 android/external/tor'
   CC       src/lib/fs/freespace.o
 src/lib/fs/freespace.c: In function 'tor_get_avail_disk_space':
 src/lib/fs/freespace.c:59:3: error: 'errno' undeclared (first use in this
 function)
    errno = ENOSYS;
    ^
 src/lib/fs/freespace.c:59:3: note: each undeclared identifier is reported
 only once for each function it appears in
 src/lib/fs/freespace.c:59:11: error: 'ENOSYS' undeclared (first use in
 this function)
    errno = ENOSYS;
            ^
 Makefile:9083: recipe for target 'src/lib/fs/freespace.o' failed
 make[1]: *** [src/lib/fs/freespace.o] Error 1
 make[1]: Leaving directory '/home/n8fr8/dev/repos/tor-
 android/external/tor'
 Makefile:5000: recipe for target 'all' failed
 make: *** [all] Error 2

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


More information about the tor-bugs mailing list