File: //usr/local/rvm/src/ruby-2.5.9/ext/etc/mkmf.log
have_header: checking for sys/utsname.h... -------------------- yes
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5: return 0;
6: }
/* end */
"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <sys/utsname.h>
/* end */
--------------------
have_library: checking for getpwnam() in -lsun... -------------------- no
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lsun -lpthread -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:13:57: error: ‘getpwnam’ undeclared (first use in this function); did you mean ‘tempnam’?
int t(void) { void ((*volatile p)()); p = (void ((*)()))getpwnam; return !p; }
^~~~~~~~
tempnam
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))getpwnam; return !p; }
/* end */
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lsun -lpthread -ldl -lcrypt -lm -lc"
/usr/bin/ld: cannot find -lsun
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: extern void getpwnam();
14: int t(void) { getpwnam(); return 0; }
/* end */
--------------------
have_func: checking for uname((struct utsname *)NULL) in sys/utsname.h... -------------------- yes
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <sys/utsname.h>
4:
5: /*top*/
6: extern int t(void);
7: int main(int argc, char **argv)
8: {
9: if (argc > 1000000) {
10: printf("%p", &t);
11: }
12:
13: return 0;
14: }
15:
16: int t(void) { uname((struct utsname *)NULL); return 0; }
/* end */
--------------------
have_func: checking for getlogin()... -------------------- yes
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:13:43: warning: cast between incompatible function types from ‘char * (*)(void)’ to ‘void (*)()’ [-Wcast-function-type]
int t(void) { void ((*volatile p)()); p = (void ((*)()))getlogin; return !p; }
^
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))getlogin; return !p; }
/* end */
--------------------
have_func: checking for getpwent()... -------------------- yes
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:13:57: error: ‘getpwent’ undeclared (first use in this function); did you mean ‘getpt’?
int t(void) { void ((*volatile p)()); p = (void ((*)()))getpwent; return !p; }
^~~~~~~~
getpt
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))getpwent; return !p; }
/* end */
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: extern void getpwent();
14: int t(void) { getpwent(); return 0; }
/* end */
--------------------
have_func: checking for getgrent()... -------------------- yes
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:13:57: error: ‘getgrent’ undeclared (first use in this function); did you mean ‘getenv’?
int t(void) { void ((*volatile p)()); p = (void ((*)()))getgrent; return !p; }
^~~~~~~~
getenv
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))getgrent; return !p; }
/* end */
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: extern void getgrent();
14: int t(void) { getgrent(); return 0; }
/* end */
--------------------
have_func: checking for sysconf()... -------------------- yes
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:13:43: warning: cast between incompatible function types from ‘long int (*)(int)’ to ‘void (*)()’ [-Wcast-function-type]
int t(void) { void ((*volatile p)()); p = (void ((*)()))sysconf; return !p; }
^
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sysconf; return !p; }
/* end */
--------------------
have_func: checking for confstr()... -------------------- yes
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:13:43: warning: cast between incompatible function types from ‘size_t (*)(int, char *, size_t)’ {aka ‘long unsigned int (*)(int, char *, long unsigned int)’} to ‘void (*)()’ [-Wcast-function-type]
int t(void) { void ((*volatile p)()); p = (void ((*)()))confstr; return !p; }
^
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))confstr; return !p; }
/* end */
--------------------
have_func: checking for fpathconf()... -------------------- yes
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L../.. -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.5.9/lib -L/usr/local/rvm/rubies/ruby-2.5.9/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:13:43: warning: cast between incompatible function types from ‘long int (*)(int, int)’ to ‘void (*)()’ [-Wcast-function-type]
int t(void) { void ((*volatile p)()); p = (void ((*)()))fpathconf; return !p; }
^
conftest.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: extern int t(void);
5: int main(int argc, char **argv)
6: {
7: if (argc > 1000000) {
8: printf("%p", &t);
9: }
10:
11: return 0;
12: }
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))fpathconf; return !p; }
/* end */
--------------------
have_struct_member: checking for struct passwd.pw_gecos in pwd.h... -------------------- yes
"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <pwd.h>
4:
5: /*top*/
6: int s = (char *)&((struct passwd*)0)->pw_gecos - (char *)0;
7: int main(int argc, char **argv)
8: {
9: return 0;
10: }
/* end */
--------------------
have_struct_member: checking for struct passwd.pw_change in pwd.h... -------------------- no
"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -c conftest.c"
conftest.c:6:39: error: ‘struct passwd’ has no member named ‘pw_change’; did you mean ‘pw_name’?
int s = (char *)&((struct passwd*)0)->pw_change - (char *)0;
^~~~~~~~~
pw_name
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <pwd.h>
4:
5: /*top*/
6: int s = (char *)&((struct passwd*)0)->pw_change - (char *)0;
7: int main(int argc, char **argv)
8: {
9: return 0;
10: }
/* end */
--------------------
have_struct_member: checking for struct passwd.pw_quota in pwd.h... -------------------- no
"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -c conftest.c"
conftest.c:6:39: error: ‘struct passwd’ has no member named ‘pw_quota’; did you mean ‘pw_uid’?
int s = (char *)&((struct passwd*)0)->pw_quota - (char *)0;
^~~~~~~~
pw_uid
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <pwd.h>
4:
5: /*top*/
6: int s = (char *)&((struct passwd*)0)->pw_quota - (char *)0;
7: int main(int argc, char **argv)
8: {
9: return 0;
10: }
/* end */
--------------------
have_struct_member: checking for struct passwd.pw_age in pwd.h... -------------------- no
"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -c conftest.c"
conftest.c:6:39: error: ‘struct passwd’ has no member named ‘pw_age’; did you mean ‘pw_name’?
int s = (char *)&((struct passwd*)0)->pw_age - (char *)0;
^~~~~~
pw_name
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <pwd.h>
4:
5: /*top*/
6: int s = (char *)&((struct passwd*)0)->pw_age - (char *)0;
7: int main(int argc, char **argv)
8: {
9: return 0;
10: }
/* end */
--------------------
have_struct_member: checking for struct passwd.pw_class in pwd.h... -------------------- no
"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -c conftest.c"
conftest.c:6:39: error: ‘struct passwd’ has no member named ‘pw_class’; did you mean ‘pw_name’?
int s = (char *)&((struct passwd*)0)->pw_class - (char *)0;
^~~~~~~~
pw_name
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <pwd.h>
4:
5: /*top*/
6: int s = (char *)&((struct passwd*)0)->pw_class - (char *)0;
7: int main(int argc, char **argv)
8: {
9: return 0;
10: }
/* end */
--------------------
have_struct_member: checking for struct passwd.pw_comment in pwd.h... -------------------- no
"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -c conftest.c"
conftest.c:6:39: error: ‘struct passwd’ has no member named ‘pw_comment’; did you mean ‘pw_name’?
int s = (char *)&((struct passwd*)0)->pw_comment - (char *)0;
^~~~~~~~~~
pw_name
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <pwd.h>
4:
5: /*top*/
6: int s = (char *)&((struct passwd*)0)->pw_comment - (char *)0;
7: int main(int argc, char **argv)
8: {
9: return 0;
10: }
/* end */
--------------------
have_struct_member: checking for struct passwd.pw_expire in pwd.h... -------------------- no
"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -c conftest.c"
conftest.c:6:39: error: ‘struct passwd’ has no member named ‘pw_expire’; did you mean ‘pw_dir’?
int s = (char *)&((struct passwd*)0)->pw_expire - (char *)0;
^~~~~~~~~
pw_dir
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <pwd.h>
4:
5: /*top*/
6: int s = (char *)&((struct passwd*)0)->pw_expire - (char *)0;
7: int main(int argc, char **argv)
8: {
9: return 0;
10: }
/* end */
--------------------
have_struct_member: checking for struct passwd.pw_passwd in pwd.h... -------------------- yes
"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <pwd.h>
4:
5: /*top*/
6: int s = (char *)&((struct passwd*)0)->pw_passwd - (char *)0;
7: int main(int argc, char **argv)
8: {
9: return 0;
10: }
/* end */
--------------------
have_struct_member: checking for struct group.gr_passwd in grp.h... -------------------- yes
"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/etc -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <grp.h>
4:
5: /*top*/
6: int s = (char *)&((struct group*)0)->gr_passwd - (char *)0;
7: int main(int argc, char **argv)
8: {
9: return 0;
10: }
/* end */
--------------------
extconf.h is:
/* begin */
1: #ifndef EXTCONF_H
2: #define EXTCONF_H
3: #define HAVE_SYS_UTSNAME_H 1
4: #define HAVE_UNAME 1
5: #define HAVE_GETLOGIN 1
6: #define HAVE_GETPWENT 1
7: #define HAVE_GETGRENT 1
8: #define SYSCONFDIR "/usr/local/rvm/rubies/ruby-2.5.9/etc"
9: #define HAVE_SYSCONF 1
10: #define HAVE_CONFSTR 1
11: #define HAVE_FPATHCONF 1
12: #define HAVE_STRUCT_PASSWD_PW_GECOS 1
13: #define HAVE_ST_PW_GECOS 1
14: #define HAVE_STRUCT_PASSWD_PW_PASSWD 1
15: #define HAVE_ST_PW_PASSWD 1
16: #define HAVE_STRUCT_GROUP_GR_PASSWD 1
17: #define HAVE_ST_GR_PASSWD 1
18: #endif
/* end */