diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-11-17 11:53:08 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-11-17 11:53:08 +0100 |
commit | f2be2541fb632d922286a32fe7082446c88aa01a (patch) | |
tree | fd480c20df4a9deac95dda9e4b5cbd5cabfe3113 /package/ruby-ldap | |
parent | 9fa9bf80a2ea27735e4ffdda788d30815cc6ab87 (diff) |
add ruby-ldap
Diffstat (limited to 'package/ruby-ldap')
-rw-r--r-- | package/ruby-ldap/Makefile | 40 | ||||
-rw-r--r-- | package/ruby-ldap/mkmf.log | 1192 | ||||
-rw-r--r-- | package/ruby-ldap/patches/patch-conn_c | 24 | ||||
-rw-r--r-- | package/ruby-ldap/patches/patch-ldap_c | 13 |
4 files changed, 1269 insertions, 0 deletions
diff --git a/package/ruby-ldap/Makefile b/package/ruby-ldap/Makefile new file mode 100644 index 000000000..8f26ca0ef --- /dev/null +++ b/package/ruby-ldap/Makefile @@ -0,0 +1,40 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= ruby-ldap +PKG_VERSION:= 0.9.8 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 83240451aa43de447d48035dc2d10dee +PKG_DESCR:= Ruby LDAP extension +PKG_SECTION:= lang +PKG_DEPENDS:= ruby libopenldap +PKG_BUILDDEP:= ruby openldap +PKG_URL:= http://ruby-ldap.sourceforge.net/ +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ruby-ldap/0.9.8/} + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,RUBY_LDAP,ruby-ldap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIG_STYLE:= manual +FAKE_FLAGS+= DESTDIR="/" + +do-configure: + (cd $(WRKBUILD) && $(STAGING_DIR)/bin/ruby -I$(STAGING_DIR)/usr/lib/ruby/1.9.1/$(CPU_ARCH)-linux/ extconf.rb \ + --with-openldap2 \ + --with-ldap-lib=$(STAGING_DIR)/usr/lib \ + --with-ldap-include=$(STAGING_DIR)/usr/include) + +ruby-ldap-install: + $(INSTALL_DIR) $(IDIR_RUBY_LDAP)/usr/lib/ruby/site_ruby/1.9.1/$(CPU_ARCH)-linux + $(INSTALL_DIR) $(IDIR_RUBY_LDAP)/usr/lib/ruby/site_ruby/1.9.1/ldap + $(CP) $(STAGING_DIR)/usr/lib/ruby/site_ruby/1.9.1/$(CPU_ARCH)-linux/ldap.so \ + $(IDIR_RUBY_LDAP)/usr/lib/ruby/site_ruby/1.9.1/$(CPU_ARCH)-linux + $(CP) $(STAGING_DIR)//usr/lib/ruby/site_ruby/1.9.1/ldap/*.rb \ + $(IDIR_RUBY_LDAP)/usr/lib/ruby/site_ruby/1.9.1/ldap + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/ruby-ldap/mkmf.log b/package/ruby-ldap/mkmf.log new file mode 100644 index 000000000..127806d6e --- /dev/null +++ b/package/ruby-ldap/mkmf.log @@ -0,0 +1,1192 @@ +have_header: checking for ldap.h... -------------------- yes + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: int main() {return 0;} +/* end */ + +"gcc -E -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: #include <ldap.h> +/* end */ + +-------------------- + +have_header: checking for lber.h... -------------------- yes + +"gcc -E -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: #include <lber.h> +/* end */ + +-------------------- + +have_header: checking for ldap_ssl.h... -------------------- no + +"gcc -E -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +conftest.c:3:22: fatal error: ldap_ssl.h: No such file or directory +compilation terminated. +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: #include <ldap_ssl.h> +/* end */ + +-------------------- + +have_header: checking for openssl/ssl.h... -------------------- yes + +"gcc -E -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: #include <openssl/ssl.h> +/* end */ + +-------------------- + +have_header: checking for openssl/crypto.h... -------------------- yes + +"gcc -E -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: #include <openssl/crypto.h> +/* end */ + +-------------------- + +have_library: checking for main() in -lcrypto... -------------------- yes + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: /*top*/ +4: int main() {return 0;} +5: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } +/* end */ + +-------------------- + +have_library: checking for main() in -lssl... -------------------- yes + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: /*top*/ +4: int main() {return 0;} +5: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } +/* end */ + +-------------------- + +have_library: checking for main() in -lnsl... -------------------- no + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lnsl -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/usr/bin/ld: cannot find -lnsl +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() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } +/* end */ + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lnsl -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/usr/bin/ld: cannot find -lnsl +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() { main(); return 0; } +/* end */ + +-------------------- + +have_library: checking for main() in -lpthread... -------------------- yes + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: /*top*/ +4: int main() {return 0;} +5: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } +/* end */ + +-------------------- + +have_library: checking for main() in -lresolv... -------------------- yes + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +checked program was: +/* begin */ +1: #include "ruby.h" +2: +3: /*top*/ +4: int main() {return 0;} +5: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } +/* end */ + +-------------------- + +have_library: checking for main() in -llber... -------------------- no + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -llber -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/usr/bin/ld: cannot find -llber +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() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } +/* end */ + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -llber -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/usr/bin/ld: cannot find -llber +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() { main(); return 0; } +/* end */ + +-------------------- + +have_library: checking for main() in -lldap_r... -------------------- no + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lldap_r -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/usr/bin/ld: cannot find -lldap_r +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() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } +/* end */ + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lldap_r -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/usr/bin/ld: cannot find -lldap_r +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() { main(); return 0; } +/* end */ + +-------------------- + +have_library: checking for main() in -lldap... -------------------- no + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lldap -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/usr/bin/ld: cannot find -lldap +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() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } +/* end */ + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lldap -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/usr/bin/ld: cannot find -lldap +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() { main(); return 0; } +/* end */ + +-------------------- + +have_func: checking for ldap_init()... -------------------- no + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +conftest.c: In function 't': +conftest.c:5:53: error: 'ldap_init' undeclared (first use in this function) +conftest.c:5:53: note: each undeclared identifier is reported only once 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 ((*)()))ldap_init; return 0; } +/* end */ + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +conftest.c: In function 't': +conftest.c:5:1: warning: implicit declaration of function 'ldap_init' +/tmp/cczyGi6h.o: In function `t': +/home/wbx/openadk/package/ruby-ldap/conftest.c:5: undefined reference to `ldap_init' +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() { ldap_init(); return 0; } +/* end */ + +-------------------- + +have_func: checking for ldap_set_option()... -------------------- no + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +conftest.c: In function 't': +conftest.c:5:53: error: 'ldap_set_option' undeclared (first use in this function) +conftest.c:5:53: note: each undeclared identifier is reported only once 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 ((*)()))ldap_set_option; return 0; } +/* end */ + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +conftest.c: In function 't': +conftest.c:5:1: warning: implicit declaration of function 'ldap_set_option' +/tmp/ccZARfGk.o: In function `t': +/home/wbx/openadk/package/ruby-ldap/conftest.c:5: undefined reference to `ldap_set_option' +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() { ldap_set_option(); return 0; } +/* end */ + +-------------------- + +have_func: checking for ldap_get_option()... -------------------- no + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +conftest.c: In function 't': +conftest.c:5:53: error: 'ldap_get_option' undeclared (first use in this function) +conftest.c:5:53: note: each undeclared identifier is reported only once 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 ((*)()))ldap_get_option; return 0; } +/* end */ + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +conftest.c: In function 't': +conftest.c:5:1: warning: implicit declaration of function 'ldap_get_option' +/tmp/ccY8BHKt.o: In function `t': +/home/wbx/openadk/package/ruby-ldap/conftest.c:5: undefined reference to `ldap_get_option' +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() { ldap_get_option(); return 0; } +/* end */ + +-------------------- + +have_func: checking for ldap_start_tls_s()... -------------------- no + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 -I/home/wbx/openadk/build_pcengines-alix1c_i586_eglibc/w-ruby-ldap-0.9.8-1/ruby-ldap-0.9.8 -I/home/wbx/openadk/target_i586_eglibc/usr/include -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L/home/wbx/openadk/host_i586_eglibc/lib -Wl,-R/home/wbx/openadk/host_i586_eglibc/lib -L. -rdynamic -Wl,-export-dynamic -lresolv -lpthread -lssl -lcrypto -Wl,-R -Wl,/home/wbx/openadk/host_i586_eglibc/lib -L/home/wbx/openadk/host_i586_eglibc/lib -lruby-static -lresolv -lpthread -lssl -lcrypto -lpthread -lrt -ldl -lcrypt -lm -lc" +In file included from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/ruby.h:58:0, + from /home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby.h:32, + from conftest.c:1: +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:153:0: warning: "__INT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +/home/wbx/openadk/target_i586_eglibc/usr/include/stdint.h:154:0: warning: "__UINT64_C" redefined +<built-in>:0:0: note: this is the location of the previous definition +conftest.c: In function 't': +conftest.c:5:53: error: 'ldap_start_tls_s' undeclared (first use in this function) +conftest.c:5:53: note: each undeclared identifier is reported only once 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 ((*)()))ldap_start_tls_s; return 0; } +/* end */ + +"gcc -o conftest -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/x86_64-linux -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1/ruby/backward -I/home/wbx/openadk/host_i586_eglibc/include/ruby-1.9.1 |