Skip to content

Instantly share code, notes, and snippets.

@frfonseca
Created April 28, 2011 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frfonseca/946199 to your computer and use it in GitHub Desktop.
Save frfonseca/946199 to your computer and use it in GitHub Desktop.
mkmf.log output
have_library: checking for SQLConnect() in -ldb2... -------------------- no
"gcc -o conftest -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/i686-linux -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I. -I/home/canaclub/clidriver/include -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/clidriver/lib -Wl,-R/home/canaclub/clidriver/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */
"gcc -o conftest -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/i686-linux -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I. -I/home/canaclub/clidriver/include -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/clidriver/lib -Wl,-R/home/canaclub/clidriver/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -lruby-static -ldb2 -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:5: error: ‘SQLConnect’ undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return 0; }
/* end */
"gcc -o conftest -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/i686-linux -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I. -I/home/canaclub/clidriver/include -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/clidriver/lib -Wl,-R/home/canaclub/clidriver/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -lruby-static -ldb2 -lpthread -lrt -ldl -lcrypt -lm -lc"
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_vec_ctor@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator delete(void*, std::nothrow_t const&)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator delete(void*)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator new(unsigned int, std::nothrow_t const&)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_begin_catch@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_vec_dtor@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `std::nothrow@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator new[](unsigned int)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator new(unsigned int)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_vec_delete2@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_end_catch@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `std::unexpected()@GLIBCPP_3.2'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main() {return 0;}
5: int t() { SQLConnect(); return 0; }
/* end */
--------------------
find_library: checking for SQLConnect() in -ldb2... -------------------- no
"gcc -o conftest -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/i686-linux -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I. -I/home/canaclub/clidriver/include -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/clidriver/lib -Wl,-R/home/canaclub/clidriver/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -lruby-static -ldb2 -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:5: error: ‘SQLConnect’ undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return 0; }
/* end */
"gcc -o conftest -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/i686-linux -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I. -I/home/canaclub/clidriver/include -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/clidriver/lib -Wl,-R/home/canaclub/clidriver/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -lruby-static -ldb2 -lpthread -lrt -ldl -lcrypt -lm -lc"
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_vec_ctor@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator delete(void*, std::nothrow_t const&)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator delete(void*)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator new(unsigned int, std::nothrow_t const&)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_begin_catch@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_vec_dtor@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `std::nothrow@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator new[](unsigned int)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator new(unsigned int)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_vec_delete2@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_end_catch@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `std::unexpected()@GLIBCPP_3.2'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main() {return 0;}
5: int t() { SQLConnect(); return 0; }
/* end */
"gcc -o conftest -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/i686-linux -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I. -I/home/canaclub/clidriver/include -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/clidriver/lib -Wl,-R/home/canaclub/clidriver/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -lruby-static -ldb2 -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function ‘t’:
conftest.c:5: error: ‘SQLConnect’ undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main() {return 0;}
5: int t() { void ((*volatile p)()); p = (void ((*)()))SQLConnect; return 0; }
/* end */
"gcc -o conftest -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/i686-linux -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward -I/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I. -I/home/canaclub/clidriver/include -D_FILE_OFFSET_BITS=64 -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC conftest.c -L. -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -Wl,-R/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/clidriver/lib -Wl,-R/home/canaclub/clidriver/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/canaclub/.rvm/rubies/ruby-1.9.2-p180/lib -lruby-static -ldb2 -lpthread -lrt -ldl -lcrypt -lm -lc"
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_vec_ctor@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator delete(void*, std::nothrow_t const&)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator delete(void*)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator new(unsigned int, std::nothrow_t const&)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_begin_catch@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_vec_dtor@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `std::nothrow@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator new[](unsigned int)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `operator new(unsigned int)@GLIBCPP_3.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_vec_delete2@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `__cxa_end_catch@CXXABI_1.2'
/home/canaclub/clidriver/lib/libdb2.so: undefined reference to `std::unexpected()@GLIBCPP_3.2'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main() {return 0;}
5: int t() { SQLConnect(); return 0; }
/* end */
--------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment