[tor-bugs] #11426 [Tor]: Can't compile, endian.h not part of SunOS / Solaris

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 7 04:16:45 UTC 2014


#11426: Can't compile, endian.h not part of SunOS / Solaris
--------------------+------------------------------------
 Reporter:  Rainer  |          Owner:
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:
Component:  Tor     |        Version:  Tor: 0.2.5.3-alpha
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+------------------------------------
 I can't compile tor-0.2.5.3-alpha on SunOS / Solaris 5.10 anymore because
 Solaris
 does not have a header file "endian.h", which is now required in
 "src/ext/csiphash.c"

 This issue was not with tor-0.2.5.2-alpha.
 Can this be fixed?

 gmake
 gmake  all-am
 gmake[1]: Entering directory `/usr/local/lib/tor-0.2.5.3-alpha'

   CC       src/common/address.oCC       src/common/backtrace.oCC
 src/common/compat.oCC       src/common/container.oCC
 src/common/di_ops.oCC       src/common/log.oCC
 src/common/memarea.oCC       src/common/mempool.oCC
 src/common/procmon.o

 src/common/procmon.c: In function `tor_process_monitor_poll_cb':
 src/common/procmon.c:327: warning: int format, pid_t arg (arg 4)

   CC       src/common/util.o

 src/common/util.c: In function `tor_get_exit_code':
 src/common/util.c:4127: warning: int format, pid_t arg (arg 5)
 src/common/util.c:4133: warning: int format, pid_t arg (arg 5)

   CC       src/common/util_codedigest.oCC       src/common/sandbox.oCC
 src/ext/csiphash.o

 src/ext/csiphash.c:55:24: endian.h: No such file or directory
 src/ext/csiphash.c: In function `siphash24':
 src/ext/csiphash.c:106: warning: implicit declaration of function
 `le64toh'
 gmake[1]: *** [src/ext/csiphash.o] Error 1
 gmake[1]: Leaving directory `/usr/local/lib/tor-0.2.5.3-alpha'
 gmake: *** [all] Error 2

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


More information about the tor-bugs mailing list