Issue #7347 has been reported by gatesphere (Jacob Peck).

----------------------------------------
Bug #7347: 1.9.3p327 Build fails on Solaris 10 SPARC due to missing endian.h
https://bugs.ruby-lang.org/issues/7347

Author: gatesphere (Jacob Peck)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: 1.9.3p327


CC = gcc
        LD = ld
        LDSHARED = gcc -shared
        CFLAGS = -O3 -ggdb -Wall -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Werror-implicit-function-declaration
        XCFLAGS = -include ruby/config.h -include ruby/missing.h -DRUBY_EXPORT
        CPPFLAGS =   -I. -I.ext/include/sparc-solaris2.10 -I./include -I.
        DLDFLAGS =
        SOLIBS =
compiling main.c
compiling dmydln.c
compiling dmyencoding.c
compiling version.c
compiling dmyversion.c
compiling miniprelude.c
compiling array.c
compiling bignum.c
compiling class.c
compiling compar.c
compiling complex.c
compiling dir.c
compiling dln_find.c
compiling enum.c
compiling enumerator.c
compiling error.c
compiling eval.c
compiling load.c
compiling proc.c
compiling file.c
compiling gc.c
compiling hash.c
compiling inits.c
compiling io.c
compiling marshal.c
compiling math.c
compiling node.c
compiling numeric.c
compiling object.c
compiling pack.c
compiling parse.c
compiling process.c
compiling random.c
In file included from random.c:1264:
siphash.c:11:22: endian.h: No such file or directory
make: *** [random.o] Error 1


It should be noted that p194 builds just fine.


-- 
http://bugs.ruby-lang.org/