Project

General

Profile

Bug #3353 ยป ruby-build.txt

daerid (Bryan Ross), 05/27/2010 06:56 PM

 
cc -dynamiclib -undefined suppress -flat_namespace -install_name /usr/local/lib/libruby.dylib -current_version 1.9.1 -compatibility_version 1.9.1 dln.o encoding.o array.o bignum.o class.o compar.o complex.o dir.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 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 version.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: in dln.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in encoding.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in array.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in bignum.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in class.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in compar.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in complex.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in dir.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in enum.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in enumerator.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in error.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in eval.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in load.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in proc.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in file.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in gc.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in hash.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in inits.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in io.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in marshal.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in math.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in numeric.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in object.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in pack.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in parse.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in process.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in random.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in range.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in rational.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in re.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in regcomp.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in regenc.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in regerror.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in regexec.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in regparse.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in regsyntax.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in ruby.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in safe.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in signal.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in sprintf.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in st.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in strftime.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in string.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in struct.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in time.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in transcode.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in util.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in variable.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in version.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in compile.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in debug.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in iseq.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in vm.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in vm_dump.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in thread.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in cont.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in ascii.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in us_ascii.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in unicode.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in utf_8.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in newline.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in prelude.o, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in dmyext.o, file was built for i386 which is not the architecture being linked (x86_64)
w -L 'Init_*' libruby.1.9.1.dylib
w: illegal option -- L
usage: w [hi] [user ...]
make[1]: [libruby.1.9.1.dylib] Error 1 (ignored)
gcc -arch i386 -O2 -g -Wall -Wno-parentheses -fno-common -pipe -fno-common -L. -arch i386 -L/usr/local/lib main.o -lruby -lpthread -ldl -lobjc -o ruby
ld: warning: in ./libruby.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols:
"_ruby_options", referenced from:
_main in main.o
"_ruby_sysinit", referenced from:
_main in main.o
"_ruby_init_stack", referenced from:
_main in main.o
"_ruby_run_node", referenced from:
_main in main.o
"_ruby_init", referenced from:
_main in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [ruby] Error 1
make: *** [main] Error 2
    (1-1/1)