Issue #11000 has been updated by Tomoyuki Chikanaga.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: DONE

Backported into `ruby_2_2` branch at r50621.

----------------------------------------
Bug #11000: r50071以降、Solarisにてext/-test-/file/fs.cのコンパイルができない
https://bugs.ruby-lang.org/issues/11000#change-52598

* Author: Naohisa Goto
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: -
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: DONE
----------------------------------------
r50071 以降、Solaris10にて、
ext/-test-/file/fs.c のコンパイルにエラーが発生してビルドが失敗します。

~~~
cc -I. -I../../../.ext/include/sparc64-solaris2.10 -I../../.././include -I../../.././ext/-test-/file -I../../.. -I../../../. -DRUBY_EXTCONF_H=\"extconf.h\"  -I/usr/local/64/lib/libffi-3.0.10/include -I/usr/local/64/include -KPIC  -xO4 -xtarget=sparc64viiplus -m64 -o fs.o -c fs.c
"fs.c", line 48: undefined struct/union member: f_type
cc: acomp failed for fs.c
make[2]: *** [fs.o] Error 2
make[2]: Leaving directory `/XXXXXXXXXX/ext/-test-/file'
make[1]: *** [ext/-test-/file/all] Error 2
make[1]: Leaving directory `/XXXXXXXXXX'
make: *** [build-ext] Error 2
~~~




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