Project

General

Profile

Backport #6021 » mkmf.log

Anonymous, 02/15/2012 08:54 PM

 
have_library: checking for dbm_open() in -llibc... -------------------- no

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -lruby -llibc -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:53: error: ‘dbm_open’ undeclared (first use in this function)
conftest.c:3:53: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:3:28: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -lruby -llibc -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:1: warning: implicit declaration of function ‘dbm_open’ [-Wimplicit-function-declaration]
/usr/bin/ld: cannot find -llibc
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

have_func: checking for dbm_open()... -------------------- no

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -lruby -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:53: error: ‘dbm_open’ undeclared (first use in this function)
conftest.c:3:53: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:3:28: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))dbm_open; return 0; }
/* end */

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -lruby -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:1: warning: implicit declaration of function ‘dbm_open’ [-Wimplicit-function-declaration]
/tmp/cclWfq6u.o: In function `t':
/var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD/ruby-1.9.3-p105/ext/dbm/conftest.c:3: undefined reference to `dbm_open'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { dbm_open(); return 0; }
/* end */

--------------------

have_type: checking for DBM in db.h,ndbm.h... -------------------- no

"gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC -c conftest.c"
conftest.c:2:18: fatal error: ndbm.h: No such file or directory
compilation terminated.
checked program was:
/* begin */
1: #include <db.h>
2: #include <ndbm.h>
3:
4: /*top*/
5: typedef DBM conftest_type;
6: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_library: checking for __db_ndbm_open() in -ldb... -------------------- yes

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -lruby -ldb -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:53: error: ‘__db_ndbm_open’ undeclared (first use in this function)
conftest.c:3:53: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:3:28: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))__db_ndbm_open; return 0; }
/* end */

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -lruby -ldb -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:1: warning: implicit declaration of function ‘__db_ndbm_open’ [-Wimplicit-function-declaration]
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { __db_ndbm_open(); return 0; }
/* end */

--------------------

have_type: checking for DBM in db.h with -DDB_DBM_HSEARCH... -------------------- yes

"gcc -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC -DDB_DBM_HSEARCH -c conftest.c"
checked program was:
/* begin */
1: #include <db.h>
2:
3: /*top*/
4: typedef DBM conftest_type;
5: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_func: checking for __db_ndbm_clearerr()... -------------------- yes

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -ldb -lruby -ldb -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:53: error: ‘__db_ndbm_clearerr’ undeclared (first use in this function)
conftest.c:3:53: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:3:28: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))__db_ndbm_clearerr; return 0; }
/* end */

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -ldb -lruby -ldb -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:1: warning: implicit declaration of function ‘__db_ndbm_clearerr’ [-Wimplicit-function-declaration]
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { __db_ndbm_clearerr(); return 0; }
/* end */

--------------------

have_func: checking for db_version()... -------------------- yes

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -ldb -lruby -ldb -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:53: error: ‘db_version’ undeclared (first use in this function)
conftest.c:3:53: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:3:28: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { void ((*volatile p)()); p = (void ((*)()))db_version; return 0; }
/* end */

"gcc -o conftest -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -L. -L/usr/lib64 -L. -Wl,-z,relro -rdynamic -Wl,-export-dynamic -ldb -lruby -ldb -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:3:1: warning: implicit declaration of function ‘db_version’ [-Wimplicit-function-declaration]
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { db_version(); return 0; }
/* end */

--------------------

have_header: checking for cdefs.h... -------------------- no

"gcc -E -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -o conftest.i"
conftest.c:1:19: fatal error: cdefs.h: No such file or directory
compilation terminated.
checked program was:
/* begin */
1: #include <cdefs.h>
/* end */

--------------------

have_header: checking for sys/cdefs.h... -------------------- yes

"gcc -E -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fno-strict-aliasing -fPIC conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <sys/cdefs.h>
/* end */

--------------------

(1-1/2)