Skip to content

Instantly share code, notes, and snippets.

@qichunren
Created November 30, 2011 07:10
Show Gist options
  • Save qichunren/1408307 to your computer and use it in GitHub Desktop.
Save qichunren/1408307 to your computer and use it in GitHub Desktop.
[2011-11-30 15:09:38] make
gcc -isysroot /Developer/SDKs/MacOSX10.7.sdk -arch i386 -fno-common -pipe -L. -Wl,-syslibroot /Developer/SDKs/MacOSX10.7.sdk -arch i386 -Wl,-u,_objc_msgSend main.o dmydln.o dmyencoding.o dmyversion.o miniprelude.o array.o bignum.o class.o compar.o complex.o dir.o dln_find.o enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o node.o numeric.o object.o pack.o parse.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o newline.o dmyext.o -lpthread -ldl -lobjc -o miniruby
rbconfig.rb unchanged
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./enc/make_encmake.rb --builtin-encs="ascii.o us_ascii.o unicode.o utf_8.o" --builtin-transes="newline.o" enc.mk
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb -I. ./tool/compile_prelude.rb ./prelude.rb ./enc/prelude.rb ./gem_prelude.rb prelude.c
gcc -isysroot /Developer/SDKs/MacOSX10.7.sdk -arch i386 -fno-common -pipe -I. -I.ext/include/x86_64-darwin11.2.0 -I./include -I. -DRUBY_EXPORT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -o prelude.o -c prelude.c
ar rcu libruby.1.9.1-static.a dln.o encoding.o version.o array.o bignum.o class.o compar.o complex.o dir.o dln_find.o enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o node.o numeric.o object.o pack.o parse.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o newline.o prelude.o dmyext.o
gcc -dynamiclib -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/caojinhua/.rvm/rubies/ruby-1.9.2-p290/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_* -Wl,-u,_objc_msgSend dln.o encoding.o version.o array.o bignum.o class.o compar.o complex.o dir.o dln_find.o enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o node.o numeric.o object.o pack.o parse.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o compile.o debug.o iseq.o vm.o vm_dump.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o newline.o prelude.o dmyext.o -o libruby.1.9.1.dylib
ld: warning: ignoring file dln.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file encoding.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file version.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file array.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file bignum.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file class.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file compar.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file complex.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file dir.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file dln_find.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file enum.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file enumerator.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file error.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file eval.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file load.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file proc.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file file.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file gc.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file hash.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file inits.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file io.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file marshal.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file math.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file node.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file numeric.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file object.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file pack.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file parse.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file process.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file random.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file range.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file rational.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file re.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file regcomp.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file regenc.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file regerror.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file regexec.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file regparse.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file regsyntax.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file ruby.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file safe.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file signal.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file sprintf.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file st.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file strftime.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file string.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file struct.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file time.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file transcode.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file util.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file variable.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file compile.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file debug.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file iseq.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file vm.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file vm_dump.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file thread.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file cont.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file ascii.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file us_ascii.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file unicode.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file utf_8.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file newline.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file prelude.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: ignoring file dmyext.o, file was built for i386 which is not the architecture being linked (x86_64)
: -w -L 'Init_*' -L '*_threadptr_*' libruby.1.9.1.dylib
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/generic_erb.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc
encdb.h unchanged
make -f enc.mk RUBY="./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb " MINIRUBY="./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb " enc
make[1]: Nothing to be done for `enc'.
make -f enc.mk RUBY="./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb " MINIRUBY="./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb " srcs
make[1]: Nothing to be done for `srcs'.
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/generic_erb.rb -c -o transdb.h ./template/transdb.h.tmpl ./enc/trans enc/trans
transdb.h unchanged
make -f enc.mk RUBY="./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb " MINIRUBY="./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb " trans
make[1]: Nothing to be done for `./enc/trans'.
make -f enc.mk RUBY="./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb " MINIRUBY="./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb " encs
mkdir -p .ext/x86_64-darwin11.2.0/enc .ext/x86_64-darwin11.2.0/enc/trans enc enc/trans
compiling -test-/bug-3662
make[1]: Nothing to be done for `all'.
compiling -test-/string
make[1]: Nothing to be done for `all'.
compiling bigdecimal
make[1]: Nothing to be done for `all'.
compiling continuation
make[1]: Nothing to be done for `all'.
compiling coverage
make[1]: Nothing to be done for `all'.
compiling curses
make[1]: Nothing to be done for `all'.
compiling dbm
make[1]: Nothing to be done for `all'.
compiling digest
make[1]: Nothing to be done for `all'.
compiling digest/bubblebabble
make[1]: Nothing to be done for `all'.
compiling digest/md5
make[1]: Nothing to be done for `all'.
compiling digest/rmd160
make[1]: Nothing to be done for `all'.
compiling digest/sha1
make[1]: Nothing to be done for `all'.
compiling digest/sha2
make[1]: Nothing to be done for `all'.
compiling dl
make[1]: Nothing to be done for `all'.
compiling dl/callback
make[1]: Nothing to be done for `all'.
compiling dl/win32
make[1]: Nothing to be done for `all'.
compiling etc
make[1]: Nothing to be done for `all'.
compiling fcntl
make[1]: Nothing to be done for `all'.
compiling fiber
make[1]: Nothing to be done for `all'.
compiling fiddle
make[1]: Nothing to be done for `all'.
compiling gdbm
make[1]: Nothing to be done for `all'.
compiling iconv
make[1]: Nothing to be done for `all'.
compiling io/nonblock
make[1]: Nothing to be done for `all'.
compiling io/wait
make[1]: Nothing to be done for `all'.
compiling json
make[1]: Nothing to be done for `all'.
compiling json/generator
make[1]: Nothing to be done for `all'.
compiling json/parser
make[1]: Nothing to be done for `all'.
compiling mathn/complex
make[1]: Nothing to be done for `all'.
compiling mathn/rational
make[1]: Nothing to be done for `all'.
compiling nkf
make[1]: Nothing to be done for `all'.
compiling objspace
make[1]: Nothing to be done for `all'.
compiling openssl
make[1]: Nothing to be done for `all'.
compiling psych
make[1]: Nothing to be done for `all'.
compiling pty
make[1]: Nothing to be done for `all'.
compiling racc/cparse
make[1]: Nothing to be done for `all'.
compiling readline
make[1]: Nothing to be done for `all'.
compiling ripper
../../miniruby -I'../..' -I'../.././lib' -I'../../.ext/x86_64-darwin11.2.0' -I'../../.ext/common' -I./- -I'../.././ext' -rpurelib.rb ../.././ext/ripper/tools/generate.rb --mode=check --ids1src=../.././parse.y --ids2src=../.././ext/ripper/eventids2.c
compiling sdbm
make[1]: Nothing to be done for `all'.
compiling socket
make[1]: Nothing to be done for `all'.
compiling stringio
make[1]: Nothing to be done for `all'.
compiling strscan
make[1]: Nothing to be done for `all'.
compiling syck
make[1]: Nothing to be done for `all'.
compiling syslog
make[1]: Nothing to be done for `all'.
compiling tk
make[1]: Nothing to be done for `all'.
compiling tk/tkutil
make[1]: Nothing to be done for `all'.
compiling win32ole
make[1]: Nothing to be done for `all'.
compiling zlib
make[1]: Nothing to be done for `all'.
making ruby
gcc -isysroot /Developer/SDKs/MacOSX10.7.sdk -arch i386 -fno-common -pipe -L. -Wl,-syslibroot /Developer/SDKs/MacOSX10.7.sdk -arch i386 -Wl,-u,_objc_msgSend main.o -lruby.1.9.1 -lpthread -ldl -lobjc -o ruby
ld: warning: ignoring file ./libruby.1.9.1.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
"_ruby_sysinit", referenced from:
_main in main.o
"_ruby_init_stack", referenced from:
_main in main.o
"_ruby_init", referenced from:
_main in main.o
"_ruby_options", referenced from:
_main in main.o
"_ruby_run_node", referenced from:
_main in main.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make[1]: *** [ruby] Error 1
make: *** [main] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment