ruby-build.txt

Bryan Ross, 05/27/2010 06:56 PM

Download (7.77 KB)

 
1
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
2
ld: warning: in dln.o, file was built for i386 which is not the architecture being linked (x86_64)
3
ld: warning: in encoding.o, file was built for i386 which is not the architecture being linked (x86_64)
4
ld: warning: in array.o, file was built for i386 which is not the architecture being linked (x86_64)
5
ld: warning: in bignum.o, file was built for i386 which is not the architecture being linked (x86_64)
6
ld: warning: in class.o, file was built for i386 which is not the architecture being linked (x86_64)
7
ld: warning: in compar.o, file was built for i386 which is not the architecture being linked (x86_64)
8
ld: warning: in complex.o, file was built for i386 which is not the architecture being linked (x86_64)
9
ld: warning: in dir.o, file was built for i386 which is not the architecture being linked (x86_64)
10
ld: warning: in enum.o, file was built for i386 which is not the architecture being linked (x86_64)
11
ld: warning: in enumerator.o, file was built for i386 which is not the architecture being linked (x86_64)
12
ld: warning: in error.o, file was built for i386 which is not the architecture being linked (x86_64)
13
ld: warning: in eval.o, file was built for i386 which is not the architecture being linked (x86_64)
14
ld: warning: in load.o, file was built for i386 which is not the architecture being linked (x86_64)
15
ld: warning: in proc.o, file was built for i386 which is not the architecture being linked (x86_64)
16
ld: warning: in file.o, file was built for i386 which is not the architecture being linked (x86_64)
17
ld: warning: in gc.o, file was built for i386 which is not the architecture being linked (x86_64)
18
ld: warning: in hash.o, file was built for i386 which is not the architecture being linked (x86_64)
19
ld: warning: in inits.o, file was built for i386 which is not the architecture being linked (x86_64)
20
ld: warning: in io.o, file was built for i386 which is not the architecture being linked (x86_64)
21
ld: warning: in marshal.o, file was built for i386 which is not the architecture being linked (x86_64)
22
ld: warning: in math.o, file was built for i386 which is not the architecture being linked (x86_64)
23
ld: warning: in numeric.o, file was built for i386 which is not the architecture being linked (x86_64)
24
ld: warning: in object.o, file was built for i386 which is not the architecture being linked (x86_64)
25
ld: warning: in pack.o, file was built for i386 which is not the architecture being linked (x86_64)
26
ld: warning: in parse.o, file was built for i386 which is not the architecture being linked (x86_64)
27
ld: warning: in process.o, file was built for i386 which is not the architecture being linked (x86_64)
28
ld: warning: in random.o, file was built for i386 which is not the architecture being linked (x86_64)
29
ld: warning: in range.o, file was built for i386 which is not the architecture being linked (x86_64)
30
ld: warning: in rational.o, file was built for i386 which is not the architecture being linked (x86_64)
31
ld: warning: in re.o, file was built for i386 which is not the architecture being linked (x86_64)
32
ld: warning: in regcomp.o, file was built for i386 which is not the architecture being linked (x86_64)
33
ld: warning: in regenc.o, file was built for i386 which is not the architecture being linked (x86_64)
34
ld: warning: in regerror.o, file was built for i386 which is not the architecture being linked (x86_64)
35
ld: warning: in regexec.o, file was built for i386 which is not the architecture being linked (x86_64)
36
ld: warning: in regparse.o, file was built for i386 which is not the architecture being linked (x86_64)
37
ld: warning: in regsyntax.o, file was built for i386 which is not the architecture being linked (x86_64)
38
ld: warning: in ruby.o, file was built for i386 which is not the architecture being linked (x86_64)
39
ld: warning: in safe.o, file was built for i386 which is not the architecture being linked (x86_64)
40
ld: warning: in signal.o, file was built for i386 which is not the architecture being linked (x86_64)
41
ld: warning: in sprintf.o, file was built for i386 which is not the architecture being linked (x86_64)
42
ld: warning: in st.o, file was built for i386 which is not the architecture being linked (x86_64)
43
ld: warning: in strftime.o, file was built for i386 which is not the architecture being linked (x86_64)
44
ld: warning: in string.o, file was built for i386 which is not the architecture being linked (x86_64)
45
ld: warning: in struct.o, file was built for i386 which is not the architecture being linked (x86_64)
46
ld: warning: in time.o, file was built for i386 which is not the architecture being linked (x86_64)
47
ld: warning: in transcode.o, file was built for i386 which is not the architecture being linked (x86_64)
48
ld: warning: in util.o, file was built for i386 which is not the architecture being linked (x86_64)
49
ld: warning: in variable.o, file was built for i386 which is not the architecture being linked (x86_64)
50
ld: warning: in version.o, file was built for i386 which is not the architecture being linked (x86_64)
51
ld: warning: in compile.o, file was built for i386 which is not the architecture being linked (x86_64)
52
ld: warning: in debug.o, file was built for i386 which is not the architecture being linked (x86_64)
53
ld: warning: in iseq.o, file was built for i386 which is not the architecture being linked (x86_64)
54
ld: warning: in vm.o, file was built for i386 which is not the architecture being linked (x86_64)
55
ld: warning: in vm_dump.o, file was built for i386 which is not the architecture being linked (x86_64)
56
ld: warning: in thread.o, file was built for i386 which is not the architecture being linked (x86_64)
57
ld: warning: in cont.o, file was built for i386 which is not the architecture being linked (x86_64)
58
ld: warning: in ascii.o, file was built for i386 which is not the architecture being linked (x86_64)
59
ld: warning: in us_ascii.o, file was built for i386 which is not the architecture being linked (x86_64)
60
ld: warning: in unicode.o, file was built for i386 which is not the architecture being linked (x86_64)
61
ld: warning: in utf_8.o, file was built for i386 which is not the architecture being linked (x86_64)
62
ld: warning: in newline.o, file was built for i386 which is not the architecture being linked (x86_64)
63
ld: warning: in prelude.o, file was built for i386 which is not the architecture being linked (x86_64)
64
ld: warning: in dmyext.o, file was built for i386 which is not the architecture being linked (x86_64)
65
w -L 'Init_*' libruby.1.9.1.dylib
66
w: illegal option -- L
67
usage: w [hi] [user ...]
68
make[1]: [libruby.1.9.1.dylib] Error 1 (ignored)
69
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
70
ld: warning: in ./libruby.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
71
Undefined symbols:
72
  "_ruby_options", referenced from:
73
      _main in main.o
74
  "_ruby_sysinit", referenced from:
75
      _main in main.o
76
  "_ruby_init_stack", referenced from:
77
      _main in main.o
78
  "_ruby_run_node", referenced from:
79
      _main in main.o
80
  "_ruby_init", referenced from:
81
      _main in main.o
82
ld: symbol(s) not found
83
collect2: ld returned 1 exit status
84
make[1]: *** [ruby] Error 1
85
make: *** [main] Error 2