gil_release_version.h is: /* begin */ 1: #ifndef GIL_RELEASE_VERSION_H 2: #define GIL_RELEASE_VERSION_H 3: #endif /* end */ unicode_support_version.h is: /* begin */ 1: #ifndef UNICODE_SUPPORT_VERSION_H 2: #define UNICODE_SUPPORT_VERSION_H 3: #endif /* end */ have_library: checking for SQLConnect() in -ldb2... -------------------- yes LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR32/ruby_exe/lib:/home/pnarayanappa/ROR30/openssl/lib:/jre/lib:/jre/bin:/lib:/home/pnarayanappa/nodework/clidriver/lib "gcc -o conftest -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/x86_64-linux -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef conftest.c -L. -L/home/pnarayanappa/ROR32/ruby_exe/lib -Wl,-rpath,/home/pnarayanappa/ROR32/ruby_exe/lib -L/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -Wl,-rpath,/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/pnarayanappa/ROR32/ruby_exe/lib -L/home/pnarayanappa/ROR32/ruby_exe/lib -lruby-static -lz -lrt -lrt -ldl -lcrypt -lm -lpthread -lm -lpthread -lc" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main(int argc, char **argv) 4: { 5: return !!argv[argc]; 6: } /* end */ LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR32/ruby_exe/lib:/home/pnarayanappa/ROR30/openssl/lib:/jre/lib:/jre/bin:/lib:/home/pnarayanappa/nodework/clidriver/lib "gcc -o conftest -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/x86_64-linux -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef conftest.c -L. -L/home/pnarayanappa/ROR32/ruby_exe/lib -Wl,-rpath,/home/pnarayanappa/ROR32/ruby_exe/lib -L/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -Wl,-rpath,/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/pnarayanappa/ROR32/ruby_exe/lib -L/home/pnarayanappa/ROR32/ruby_exe/lib -lruby-static -lz -lrt -lrt -ldl -lcrypt -lm -lpthread -ldb2 -lm -lpthread -lc" conftest.c: In function ‘t’: conftest.c:14:57: error: ‘SQLConnect’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; } ^~~~~~~~~~ conftest.c:14: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-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return !!argv[argc]; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return !p; } /* end */ LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR32/ruby_exe/lib:/home/pnarayanappa/ROR30/openssl/lib:/jre/lib:/jre/bin:/lib:/home/pnarayanappa/nodework/clidriver/lib "gcc -o conftest -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/x86_64-linux -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef conftest.c -L. -L/home/pnarayanappa/ROR32/ruby_exe/lib -Wl,-rpath,/home/pnarayanappa/ROR32/ruby_exe/lib -L/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -Wl,-rpath,/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/pnarayanappa/ROR32/ruby_exe/lib -L/home/pnarayanappa/ROR32/ruby_exe/lib -lruby-static -lz -lrt -lrt -ldl -lcrypt -lm -lpthread -ldb2 -lm -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return !!argv[argc]; 13: } 14: extern void SQLConnect(); 15: int t(void) { SQLConnect(); return 0; } /* end */ -------------------- have_header: checking for gil_release_version.h... -------------------- yes LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR32/ruby_exe/lib:/home/pnarayanappa/ROR30/openssl/lib:/jre/lib:/jre/bin:/lib:/home/pnarayanappa/nodework/clidriver/lib "gcc -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/x86_64-linux -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- have_header: checking for unicode_support_version.h... -------------------- yes LD_LIBRARY_PATH=.:/home/pnarayanappa/ROR32/ruby_exe/lib:/home/pnarayanappa/ROR30/openssl/lib:/jre/lib:/jre/bin:/lib:/home/pnarayanappa/nodework/clidriver/lib "gcc -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/x86_64-linux -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0/ruby/backward -I/home/pnarayanappa/ROR32/ruby_exe/include/ruby-3.2.0 -I. -I/home/pnarayanappa/ROR32/ruby-ibmdb/IBM_DB_Adapter/ibm_db/ext/../lib/clidriver/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ --------------------