Bug #6780
closedcannot compile zlib module, when cross-compiling.
Added by jinleileiking (lei king) about 12 years ago. Updated almost 12 years ago.
Description
1_9_2 branch.
using:
env ac_cv_func_setpgrp_void=yes ./configure --host=arm-angstrom-linux-gnueabi --prefix= --enable-shared --disable-install-doc
no zlib library made.
➜ ruby git:(ruby_1_9_2) ✗ cat ext/Setup
#option nodynamic
#Win32API
#bigdecimal
#curses
#dbm
#digest
#digest/md5
#digest/rmd160
#digest/sha1
#digest/sha2
#dl
#etc
#fcntl
#gdbm
#iconv
#io/wait
#nkf
#openssl
#pty
#racc/cparse
#readline
#ripper
#sdbm
#socket
#stringio
#strscan
#syck
#syslog
#tk
#win32ole
#zlib
the nkf, bigdemical modules are made.
(moved output)
Files
non-cross.txt (128 KB) non-cross.txt | jinleileiking (lei king), 07/23/2012 09:01 PM | ||
mkmf.log (8.52 KB) mkmf.log | jinleileiking (lei king), 07/23/2012 10:56 PM | ||
bug-6780.so-list.txt (9.39 KB) bug-6780.so-list.txt | nobu (Nobuyoshi Nakada), 07/24/2012 01:05 AM |
Updated by jinleileiking (lei king) about 12 years ago
- File non-cross.txt non-cross.txt added
I have test on non-crosscompile mode. It is okay.
compiling zlib
make[1]: Entering directory /mnt/share/study/src/lang/ruby/ext/zlib' gcc -I. -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/zlib -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -o zlib.o -c zlib.c gcc -shared -o ../../.ext/x86_64-linux/zlib.so zlib.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -lz -lpthread -lrt -ldl -lcrypt -lm -lc make[1]: Leaving directory
/mnt/share/study/src/lang/ruby/ext/zlib'
Updated by jinleileiking (lei king) about 12 years ago
=begin
the Makefile of cross-compiling.
➜ ruby git:(ruby_1_9_2) ✗ cat ext/zlib/Makefile
SHELL = /bin/sh
Start of system configuration section.¶
top_srcdir = $(topdir)/.
srcdir = $(top_srcdir)/ext/zlib
topdir = ../..
hdrdir = $(top_srcdir)/include
arch_hdrdir = $(extout)/include/$(arch)
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
RUBYLIB = -
RUBYOPT = -r$(top_srcdir)/ext/purelib.rb
prefix = $(DESTDIR)
exec_prefix = $(prefix)
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
datadir = $(datarootdir)
sitelibdir = $(sitedir)/$(ruby_version)
datarootdir = $(prefix)/share
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
vendorarchdir = $(vendorlibdir)/$(sitearch)
pdfdir = $(docdir)
rubylibdir = $(rubylibprefix)/$(ruby_version)
bindir = $(exec_prefix)/bin
sharedstatedir = $(prefix)/com
localstatedir = $(prefix)/var
dvidir = $(docdir)
htmldir = $(docdir)
sbindir = $(exec_prefix)/sbin
docdir = $(datarootdir)/doc/$(PACKAGE)
includedir = $(prefix)/include
libdir = $(exec_prefix)/lib
psdir = $(docdir)
sitehdrdir = $(rubyhdrdir)/site_ruby
vendorlibdir = $(vendordir)/$(ruby_version)
libexecdir = $(exec_prefix)/libexec
ridir = $(datarootdir)/$(RI_BASE_NAME)
rubyhdrdir = $(includedir)/$(RUBY_BASE_NAME)-$(ruby_version)
mandir = $(datarootdir)/man
sitearchdir = $(sitelibdir)/$(sitearch)
localedir = $(datarootdir)/locale
oldincludedir = $(DESTDIR)/usr/include
archdir = $(rubylibdir)/$(arch)
infodir = $(datarootdir)/info
vendordir = $(rubylibprefix)/vendor_ruby
sysconfdir = $(prefix)/etc
sitedir = $(rubylibprefix)/site_ruby
CC = arm-angstrom-linux-gnueabi-gcc
CXX = arm-angstrom-linux-gnueabi-g++
LIBRUBY = $(LIBRUBY_SO)
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
LIBRUBYARG_SHARED = -Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)
LIBRUBYARG_STATIC = -Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)-static
empty =
OUTFLAG = -o $(empty)
COUTFLAG = -o $(empty)
RUBY_EXTCONF_H =
cflags = $(optflags) $(debugflags) $(warnflags)
optflags = -O3
debugflags = -ggdb
warnflags = -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long
CFLAGS = -fPIC $(cflags) -fPIC
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(srcdir)
DEFS = -D_FILE_OFFSET_BITS=64
CPPFLAGS = $(DEFS) $(cppflags)
CXXFLAGS = $(CFLAGS) $(cxxflags)
ldflags = -L. -rdynamic -Wl,-export-dynamic
dldflags =
ARCH_FLAG =
DLDFLAGS = $(ldflags) $(dldflags)
LDSHARED = $(CC) -shared
LDSHAREDXX = $(CXX) -shared
AR = arm-angstrom-linux-gnueabi-ar
EXEEXT =
RUBY_BASE_NAME = ruby
RUBY_INSTALL_NAME = ruby
RUBY_SO_NAME = ruby
arch = arm-linux-eabi
sitearch = $(arch)
ruby_version = 1.9.1
ruby = ruby -I/mnt/share/study/src/lang/ruby -rarm-linux-eabi-fake -I'$(topdir)'
RUBY = $(ruby)
RM = rm -f
RM_RF = $(RUBY) -run -e rm -- -rf
RMDIRS = $(top_srcdir)/tool/rmdirs
MAKEDIRS = /bin/mkdir -p
INSTALL = /usr/bin/install -c
INSTALL_PROG = $(INSTALL) -m 0755
INSTALL_DATA = $(INSTALL) -m 644
COPY = cp
End of system configuration section.¶
preload =
CLEANFILES = mkmf.log
DISTCLEANFILES =
all install static install-so install-rb: Makefile
.PHONY: all install static install-so install-rb
.PHONY: clean clean-so clean-rb
clean-rb-default::
clean-rb::
clean-so::
clean: clean-so clean-rb-default clean-rb
@-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
distclean-rb-default::
distclean-rb::
distclean-so::
distclean: clean distclean-so distclean-rb-default distclean-rb
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
@-$(RMDIRS) $(DISTCLEANDIRS)
realclean: distclean
=end
Updated by jinleileiking (lei king) about 12 years ago
=begin
I have some clue.. :)
from mkmf.log,
we can see, the make cmd, using
have_library: checking for deflateReset() in -lz... -------------------- no
"arm-angstrom-linux-gnueabi-gcc -o conftest -I../../.ext/include/arm-linux-eabi -I../.././include -I../.././ext/zlib -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../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/lib -L/lib -lruby-static -lz -lpthread -lrt -ldl -lcrypt -lm -lc"
conftest.c: In function 't':
conftest.c:5: error: 'deflateReset' 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 (()()))deflateReset; return 0; }
/ end */
"arm-angstrom-linux-gnueabi-gcc -o conftest -I../../.ext/include/arm-linux-eabi -I../.././include -I../.././ext/zlib -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../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/lib -L/lib -lruby-static -lz -lpthread -lrt -ldl -lcrypt -lm -lc"
/home/jinleileiking/crosstools/angstrom/usr/local/angstrom/arm/bin/../lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: cannot find -lz
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() { deflateReset(); return 0; }
/ end */
to test whether we have the zlib.
But in cross-compile env. the conftest generated cannot ran on host. so failed.
=end
Updated by nobu (Nobuyoshi Nakada) about 12 years ago
- Status changed from Open to Feedback
Where are the header and library files for your target platform?
Updated by jinleileiking (lei king) about 12 years ago
=begin
nobu (Nobuyoshi Nakada) wrote:
Where are the header and library files for your target platform?
this is the x86_64 zlib:
➜ ~ git:(master) ✗ equery f zlib
- Searching for zlib ...
- Contents of sys-libs/zlib-1.2.7:
/lib64
/lib64/libz.so.1 -> libz.so.1.2.7
/lib64/libz.so.1.2.7
/usr
/usr/include
/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib64
/usr/lib64/libz.so
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/zlib.pc
/usr/share
/usr/share/doc
/usr/share/doc/zlib-1.2.7
/usr/share/doc/zlib-1.2.7/ChangeLog.bz2
/usr/share/doc/zlib-1.2.7/FAQ.bz2
/usr/share/doc/zlib-1.2.7/README.bz2
/usr/share/doc/zlib-1.2.7/algorithm.txt.bz2
/usr/share/doc/zlib-1.2.7/rfc1950.txt.bz2
/usr/share/doc/zlib-1.2.7/rfc1951.txt.bz2
/usr/share/doc/zlib-1.2.7/rfc1952.txt.bz2
/usr/share/doc/zlib-1.2.7/txtvsbin.txt.bz2
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/zlib.3.bz2
I think this bug is because the make is running a target(arm-32) execute file on the host(x86_64)
I cross compiled zlib in my own dir:
➜ zlib-1.2.7 git:(master) ✗ ls .so
libz.so libz.so.1 libz.so.1.2.7
➜ zlib-1.2.7 git:(master) ✗ pwd
/home/jinleileiking/work/ruby_cross/zlib-1.2.7
➜ zlib-1.2.7 git:(master) ✗ ls *.h
crc32.h deflate.h gzguts.h inffast.h inffixed.h inflate.h inftrees.h trees.h zconf.h zlib.h zutil.h
=end
Updated by luislavena (Luis Lavena) about 12 years ago
If you cross compile you need to point a configuration option (like
--with-opt-dir) and point where cross compiled libraries live.
Sorry for top posting. Sent from mobile.
On Jul 23, 2012 12:09 PM, "jinleileiking (lei king)" <
jinleileiking@gmail.com> wrote:
Issue #6780 has been updated by jinleileiking (lei king).
nobu (Nobuyoshi Nakada) wrote:
Where are the header and library files for your target platform?
➜ ~ git:(master) ✗ equery f zlib
- Searching for zlib ...
- Contents of sys-libs/zlib-1.2.7:
/lib64
/lib64/libz.so.1 -> libz.so.1.2.7
/lib64/libz.so.1.2.7
/usr
/usr/include
/usr/include/zconf.h
/usr/include/zlib.h
/usr/lib64
/usr/lib64/libz.so
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/zlib.pc
/usr/share
/usr/share/doc
/usr/share/doc/zlib-1.2.7
/usr/share/doc/zlib-1.2.7/ChangeLog.bz2
/usr/share/doc/zlib-1.2.7/FAQ.bz2
/usr/share/doc/zlib-1.2.7/README.bz2
/usr/share/doc/zlib-1.2.7/algorithm.txt.bz2
/usr/share/doc/zlib-1.2.7/rfc1950.txt.bz2
/usr/share/doc/zlib-1.2.7/rfc1951.txt.bz2
/usr/share/doc/zlib-1.2.7/rfc1952.txt.bz2
/usr/share/doc/zlib-1.2.7/txtvsbin.txt.bz2
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/zlib.3.bz2I think this bug is because the make is running a target(arm-32) execute
file on the host(x86_64)Bug #6780: cannot compile zlib module, when cross-compiling.
https://bugs.ruby-lang.org/issues/6780#change-28334Author: jinleileiking (lei king)
Status: Feedback
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: 1.9.21_9_2 branch.
using:
env ac_cv_func_setpgrp_void=yes ./configure
--host=arm-angstrom-linux-gnueabi --prefix= --enable-shared
--disable-install-docno zlib library made.
➜ ruby git:(ruby_1_9_2) ✗ cat ext/Setup
#option nodynamic#Win32API
#bigdecimal
#curses
#dbm
#digest
#digest/md5
#digest/rmd160
#digest/sha1
#digest/sha2
#dl
#etc
#fcntl
#gdbm
#iconv
#io/wait
#nkf
#openssl
#pty
#racc/cparse
#readline
#ripper
#sdbm
#socket
#stringio
#strscan
#syck
#syslog
#tk
#win32ole
#zlibthe nkf, bigdemical modules are made.
=begin
P330 nfsboot # find . -name "*.so"
./usr/libexec/xtables/libipt_TTL.so
./usr/libexec/xtables/libxt_mark.so
./usr/libexec/xtables/libipt_ECN.so
./usr/libexec/xtables/libxt_length.so
./usr/libexec/xtables/libxt_NFQUEUE.so
./usr/libexec/xtables/libipt_REJECT.so
./usr/libexec/xtables/libxt_SET.so
./usr/libexec/xtables/libip6t_rt.so
./usr/libexec/xtables/libipt_CLUSTERIP.so
./usr/libexec/xtables/libip6t_icmp6.so
./usr/libexec/xtables/libxt_string.so
./usr/libexec/xtables/libxt_tcp.so
./usr/libexec/xtables/libip6t_dst.so
./usr/libexec/xtables/libxt_TCPOPTSTRIP.so
./usr/libexec/xtables/libxt_physdev.so
./usr/libexec/xtables/libxt_CONNMARK.so
./usr/libexec/xtables/libxt_pkttype.so
./usr/libexec/xtables/libxt_policy.so
./usr/libexec/xtables/libxt_LED.so
./usr/libexec/xtables/libxt_tcpmss.so
./usr/libexec/xtables/libipt_SAME.so
./usr/libexec/xtables/libxt_TEE.so
./usr/libexec/xtables/libxt_TRACE.so
./usr/libexec/xtables/libxt_state.so
./usr/libexec/xtables/libip6t_ah.so
./usr/libexec/xtables/libxt_time.so
./usr/libexec/xtables/libxt_cluster.so
./usr/libexec/xtables/libip6t_hbh.so
./usr/libexec/xtables/libipt_addrtype.so
./usr/libexec/xtables/libxt_DSCP.so
./usr/libexec/xtables/libxt_iprange.so
./usr/libexec/xtables/libip6t_LOG.so
./usr/libexec/xtables/libipt_icmp.so
./usr/libexec/xtables/libip6t_eui64.so
./usr/libexec/xtables/libxt_helper.so
./usr/libexec/xtables/libxt_standard.so
./usr/libexec/xtables/libxt_CT.so
./usr/libexec/xtables/libxt_comment.so
./usr/libexec/xtables/libxt_udp.so
./usr/libexec/xtables/libxt_multiport.so
./usr/libexec/xtables/libxt_rateest.so
./usr/libexec/xtables/libxt_statistic.so
./usr/libexec/xtables/libxt_sctp.so
./usr/libexec/xtables/libxt_tos.so
./usr/libexec/xtables/libipt_DNAT.so
./usr/libexec/xtables/libxt_recent.so
./usr/libexec/xtables/libipt_ttl.so
./usr/libexec/xtables/libxt_conntrack.so
./usr/libexec/xtables/libipt_ecn.so
./usr/libexec/xtables/libxt_CLASSIFY.so
./usr/libexec/xtables/libxt_socket.so
./usr/libexec/xtables/libxt_SECMARK.so
./usr/libexec/xtables/libxt_osf.so
./usr/libexec/xtables/libxt_TCPMSS.so
./usr/libexec/xtables/libipt_REDIRECT.so
./usr/libexec/xtables/libxt_esp.so
./usr/libexec/xtables/libip6t_frag.so
./usr/libexec/xtables/libxt_connmark.so
./usr/libexec/xtables/libipt_unclean.so
./usr/libexec/xtables/libxt_TOS.so
./usr/libexec/xtables/libip6t_HL.so
./usr/libexec/xtables/libxt_set.so
./usr/libexec/xtables/libipt_MASQUERADE.so
./usr/libexec/xtables/libxt_dccp.so
./usr/libexec/xtables/libxt_mac.so
./usr/libexec/xtables/libipt_LOG.so
./usr/libexec/xtables/libipt_NETMAP.so
./usr/libexec/xtables/libxt_connlimit.so
./usr/libexec/xtables/libxt_owner.so
./usr/libexec/xtables/libipt_MIRROR.so
./usr/libexec/xtables/libipt_realm.so
./usr/libexec/xtables/libxt_dscp.so
./usr/libexec/xtables/libxt_NOTRACK.so
./usr/libexec/xtables/libxt_u32.so
./usr/libexec/xtables/libip6t_ipv6header.so
./usr/libexec/xtables/libxt_NFLOG.so
./usr/libexec/xtables/libxt_TPROXY.so
./usr/libexec/xtables/libxt_hashlimit.so
./usr/libexec/xtables/libipt_ULOG.so
./usr/libexec/xtables/libxt_RATEEST.so
./usr/libexec/xtables/libipt_SNAT.so
./usr/libexec/xtables/libxt_limit.so
./usr/libexec/xtables/libip6t_hl.so
./usr/libexec/xtables/libip6t_mh.so
./usr/libexec/xtables/libipt_ah.so
./usr/libexec/xtables/libxt_CONNSECMARK.so
./usr/libexec/xtables/libxt_quota.so
./usr/libexec/xtables/libxt_connbytes.so
./usr/libexec/xtables/libxt_MARK.so
./usr/libexec/xtables/libip6t_REJECT.so
./usr/lib/alsa-lib/smixer/smixer-sbase.so
./usr/lib/alsa-lib/smixer/smixer-hda.so
./usr/lib/alsa-lib/smixer/smixer-ac97.so
./usr/lib/security/pam_unix.so
./usr/lib/security/pam_succeed_if.so
./usr/lib/security/pam_rhosts.so
./usr/lib/security/pam_mail.so
./usr/lib/security/pam_debug.so
./usr/lib/security/pam_nologin.so
./usr/lib/security/pam_stress.so
./usr/lib/security/pam_time.so
./usr/lib/security/pam_namespace.so
./usr/lib/security/pam_filter.so
./usr/lib/security/pam_timestamp.so
./usr/lib/security/pam_faildelay.so
./usr/lib/security/pam_shells.so
./usr/lib/security/pam_env.so
./usr/lib/security/pam_permit.so
./usr/lib/security/pam_issue.so
./usr/lib/security/pam_pwhistory.so
./usr/lib/security/pam_echo.so
./usr/lib/security/pam_tally.so
./usr/lib/security/pam_motd.so
./usr/lib/security/pam_warn.so
./usr/lib/security/pam_ftp.so
./usr/lib/security/pam_limits.so
./usr/lib/security/pam_rootok.so
./usr/lib/security/pam_lastlog.so
./usr/lib/security/pam_securetty.so
./usr/lib/security/pam_xauth.so
./usr/lib/security/pam_access.so
./usr/lib/security/pam_mkhomedir.so
./usr/lib/security/pam_wheel.so
./usr/lib/security/pam_group.so
./usr/lib/security/pam_loginuid.so
./usr/lib/security/pam_umask.so
./usr/lib/security/pam_exec.so
./usr/lib/security/pam_keyinit.so
./usr/lib/security/pam_deny.so
./usr/lib/security/pam_localuser.so
./usr/lib/security/pam_tally2.so
./usr/lib/security/pam_listfile.so
./usr/lib/ts/pthres.so
./usr/lib/ts/tatung.so
./usr/lib/ts/variance.so
./usr/lib/ts/dejitter.so
./usr/lib/ts/linear_h2200.so
./usr/lib/ts/input.so
./usr/lib/ts/corgi.so
./usr/lib/ts/ucb1x00.so
./usr/lib/ts/linear.so
./usr/lib/ts/mk712.so
./usr/lib/ts/arctic2.so
./usr/lib/ts/collie.so
./usr/lib/ts/h3600.so
./lib/libBrokenLocale-2.12.2.so
./lib/libcidn-2.12.2.so
./lib/libruby.so
./lib/libutil-2.12.2.so
./lib/ruby/1.9.1/arm-linux-eabi/etc.so
./lib/ruby/1.9.1/arm-linux-eabi/io/nonblock.so
./lib/ruby/1.9.1/arm-linux-eabi/io/wait.so
./lib/ruby/1.9.1/arm-linux-eabi/objspace.so
./lib/ruby/1.9.1/arm-linux-eabi/digest/rmd160.so
./lib/ruby/1.9.1/arm-linux-eabi/digest/sha1.so
./lib/ruby/1.9.1/arm-linux-eabi/digest/md5.so
./lib/ruby/1.9.1/arm-linux-eabi/digest/sha2.so
./lib/ruby/1.9.1/arm-linux-eabi/digest/bubblebabble.so
./lib/ruby/1.9.1/arm-linux-eabi/stringio.so
./lib/ruby/1.9.1/arm-linux-eabi/json/ext/parser.so
./lib/ruby/1.9.1/arm-linux-eabi/json/ext/generator.so
./lib/ruby/1.9.1/arm-linux-eabi/coverage.so
./lib/ruby/1.9.1/arm-linux-eabi/fiber.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_2.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/gbk.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_6.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/utf_16le.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/koi8_r.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/euc_kr.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_8.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/gb18030.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_14.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/cp949.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/big5.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/encdb.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_5.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/gb2312.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/gbk.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/chinese.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/emoji_sjis_kddi.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/japanese_euc.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/emoji_sjis_docomo.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/japanese_sjis.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/gb18030.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/big5.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/iso2022.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/korean.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/single_byte.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/emoji_sjis_softbank.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/emoji_iso2022_kddi.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/utf8_mac.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/escape.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/emoji.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/transdb.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/japanese.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/trans/utf_16_32.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_13.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_15.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/utf_32le.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_16.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/utf_32be.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_11.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/shift_jis.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_3.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/euc_tw.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_9.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_10.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_1.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_4.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/windows_1251.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/utf_16be.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/iso_8859_7.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/koi8_u.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/emacs_mule.so
./lib/ruby/1.9.1/arm-linux-eabi/enc/euc_jp.so
./lib/ruby/1.9.1/arm-linux-eabi/digest.so
./lib/ruby/1.9.1/arm-linux-eabi/iconv.so
./lib/ruby/1.9.1/arm-linux-eabi/syck.so
./lib/ruby/1.9.1/arm-linux-eabi/nkf.so
./lib/ruby/1.9.1/arm-linux-eabi/continuation.so
./lib/ruby/1.9.1/arm-linux-eabi/bigdecimal.so
./lib/ruby/1.9.1/arm-linux-eabi/sdbm.so
./lib/ruby/1.9.1/arm-linux-eabi/dl.so
./lib/ruby/1.9.1/arm-linux-eabi/racc/cparse.so
./lib/ruby/1.9.1/arm-linux-eabi/pty.so
./lib/ruby/1.9.1/arm-linux-eabi/ripper.so
./lib/ruby/1.9.1/arm-linux-eabi/strscan.so
./lib/ruby/1.9.1/arm-linux-eabi/mathn/rational.so
./lib/ruby/1.9.1/arm-linux-eabi/mathn/complex.so
./lib/ruby/1.9.1/arm-linux-eabi/dl/callback.so
./lib/ruby/1.9.1/arm-linux-eabi/fcntl.so
./lib/ruby/1.9.1/arm-linux-eabi/syslog.so
./lib/libc-2.12.2.so
./lib/libresolv-2.12.2.so
./lib/libm-2.12.2.so
./lib/libanl-2.12.2.so
./lib/libnss_files-2.12.2.so
./lib/libpthread-2.12.2.so
./lib/libnss_compat-2.12.2.so
./lib/libnss_dns-2.12.2.so
./lib/libcrypt-2.12.2.so
./lib/ld-2.12.2.so
./lib/librt-2.12.2.so
./lib/libdl-2.12.2.so
./lib/libnsl-2.12.2.so=end
Updated by nobu (Nobuyoshi Nakada) about 12 years ago
- Status changed from Feedback to Rejected
jinleileiking (lei king) wrote:
I think this bug is because the make is running a target(arm-32) execute file on the host(x86_64)
It's not true.
I cross compiled zlib in my own dir:
Then you have to install it to a directory where you want to use, and
give configure --wit-opt-dir option.
Updated by nobu (Nobuyoshi Nakada) about 12 years ago
- File bug-6780.so-list.txt bug-6780.so-list.txt added
- Description updated (diff)
Updated by jinleileiking (lei king) about 12 years ago
AFter 1 day hacking. Finally I ran 'gem list' ok on my am355x arm evm board.
I have some experience to share, but there is no wiki.!!! :(
Thanks nobu and all!!!
Updated by nobu (Nobuyoshi Nakada) about 12 years ago
https://bugs.ruby-lang.org/projects/ruby-trunk/wiki is available.