have_library: checking for main() in -lc… ——————– yes

“gcc -o conftest -I/usr/include/powerpc64-linux -I/usr/include/ruby/backward -I/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -m64 conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lpthread -lrt -ldl -lcrypt -lm -lc” checked program was:

begin

1: include “ruby.h” 2: 3: int main(void) {return 0;}

end

“gcc -o conftest -I/usr/include/powerpc64-linux -I/usr/include/ruby/backward -I/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -m64 conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lruby -lc -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:6:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]

int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
                               ^

checked program was: /* begin */ 1: include “ruby.h” 2: 3: /top/ 4: int main(void) {return 0;} 5: extern int t(void); 6: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; } /* end */


have_library: checking for krb5_init_context() in -lkrb5… ——————– yes

“gcc -o conftest -I/usr/include/powerpc64-linux -I/usr/include/ruby/backward -I/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -m64 conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lc -lruby -lkrb5 -lc -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:6:57: error: 'krb5_init_context' undeclared (first use in this function)

int t(void) { void ((*volatile p)()); p = (void ((*)()))krb5_init_context; return 0; }
                                                        ^

conftest.c:6:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:6:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]

int t(void) { void ((*volatile p)()); p = (void ((*)()))krb5_init_context; return 0; }
                               ^

checked program was: /* begin */ 1: include “ruby.h” 2: 3: /top/ 4: int main(void) {return 0;} 5: extern int t(void); 6: int t(void) { void ((*volatile p)()); p = (void ((*)()))krb5_init_context; return 0; } /* end */

“gcc -o conftest -I/usr/include/powerpc64-linux -I/usr/include/ruby/backward -I/usr/include -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector –param=ssp-buffer-size=4 -m64 conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -m64 -lc -lruby -lkrb5 -lc -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:6:1: warning: implicit declaration of function 'krb5_init_context' [-Wimplicit-function-declaration]

int t(void) { krb5_init_context(); return 0; }
^

checked program was: /* begin */ 1: include “ruby.h” 2: 3: /top/ 4: int main(void) {return 0;} 5: extern int t(void); 6: int t(void) { krb5_init_context(); return 0; } /* end */