Status: New
Owner: ----
New issue 51 by
salvator...@gmail.com: Installation on OSX server Snow
Leopard 10.6.6
http://code.google.com/p/teyjus/issues/detail?id=51
What steps will reproduce the problem?
1. omake all
What is the expected output? What do you see instead?
*** omake: reading OMakefiles
--- Checking if ocamldep understands -modules... (yes)
--- Checking for ocamlfind... (FAILED - no ocamlfind found)
--- Checking for ocamlc.opt... (found /usr/local/bin/ocamlc.opt)
--- Checking for ocamlopt.opt... (found /usr/local/bin/ocamlopt.opt)
--- Checking whether ocamlc understands the "z" warnings... (yes)
*** omake: finished reading OMakefiles (0.75 sec)
--- Checking for gcc... (found /usr/bin/gcc)
--- Checking for g++... (found /usr/bin/g++)
- build source/compiler
lpyacc.ml
+ ocamlyacc lpyacc.mly
6 shift/reduce conflicts.
- build source/tables_gen/instrformats instrgen-ocaml.o
+ gcc -g -I. -c -o instrgen-ocaml.o instrgen-ocaml.c
instrgen-ocaml.c: In function ‘ocSpitInstructionMLI’:
instrgen-ocaml.c:814: warning: format not a string literal and no format
arguments
instrgen-ocaml.c:815: warning: format not a string literal and no format
arguments
instrgen-ocaml.c:816: warning: format not a string literal and no format
arguments
instrgen-ocaml.c:818: warning: format not a string literal and no format
arguments
instrgen-ocaml.c: In function ‘ocSpitInstructionML’:
instrgen-ocaml.c:833: warning: format not a string literal and no format
arguments
instrgen-ocaml.c:834: warning: format not a string literal and no format
arguments
instrgen-ocaml.c:835: warning: format not a string literal and no format
arguments
instrgen-ocaml.c:836: warning: format not a string literal and no format
arguments
- build source/linker code.o
+ gcc -g -I. -c -o code.o code.c
code.c: In function ‘LoadCode’:
code.c:220: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 4 has type ‘off_t’
code.c:232: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 3 has type ‘off_t’
code.c:330: warning: format ‘%d’ expects type ‘int’, but argument 3 has
type ‘CodeInd’
code.c: In function ‘WriteCodeSize’:
code.c:376: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 4 has type ‘off_t’
code.c: In function ‘WriteCode’:
code.c:390: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 4 has type ‘off_t’
code.c:401: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 3 has type ‘off_t’
- build source/linker module.o
+ gcc -g -I. -c -o module.o module.c
module.c: In function ‘GetConstInd’:
module.c:331: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 3 has type ‘off_t’
module.c: In function ‘PutConstInd’:==== ] 00417 /
00643
module.c:368: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 5 has type ‘off_t’
- build source/linker kind.o
+ gcc -g -I. -c -o kind.o kind.c
kind.c: In function ‘UnPackKindInd’:
kind.c:115: warning: format ‘%d’ expects type ‘int’, but argument 5 has
type ‘size_t’
kind.c: In function ‘WriteKinds’:============= ] 00485 /
00660
kind.c:206: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 3 has type ‘off_t’
- build source/linker const.o
+ gcc -g -I. -c -o const.o const.c
const.c: In function ‘UnPackConstInd’:
const.c:116: warning: format ‘%d’ expects type ‘int’, but argument 5 has
type ‘size_t’
const.c: In function ‘WriteConsts’:============= ] 00517 /
00662
const.c:264: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 3 has type ‘off_t’
- build source/linker stringspace.o
+ gcc -g -I. -c -o stringspace.o stringspace.c
stringspace.c: In function ‘LK_STRINGS_Write’:
stringspace.c:60: warning: format ‘%lx’ expects type ‘long unsigned int’,
but argument 3 has type ‘off_t’
- build source/linker tyskel.o
+ gcc -g -I. -c -o tyskel.o tyskel.c
tyskel.c: In function ‘WriteTySkels’:
tyskel.c:126: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 3 has type ‘off_t’
- build source/linker hashtab.o
+ gcc -g -I. -c -o hashtab.o hashtab.c
hashtab.c: In function ‘LoadHashTab’:
hashtab.c:61: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 3 has type ‘off_t’
hashtab.c: In function ‘WriteHashTab’:============== ] 00559 /
00665
hashtab.c:82: warning: format ‘%lx’ expects type ‘long unsigned int’, but
argument 3 has type ‘off_t’
- build source tjlink.opt
+ ocamlopt.opt -warn-error A -I . -I compiler -I disassembler -I simulator
-I loader -o tjlink.opt front/parseargs.cmx front/linkerfront.cmx liblink.a
ld: warning: in liblink.a, file was built for unsupported file format which
is not the architecture being linked
(i386)[=================================================== ]
00561 / 00665
Undefined symbols:
"_FRONT_link", referenced from:
_camlLinkerfront__4 in linkerfront.o
_FRONT_link$non_lazy_ptr in linkerfront.o
(maybe you meant: _FRONT_link$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status
File "caml_startup", line 1, characters 0-1:
Error: Error during linking
*** omake: 561/665 targets are up to date
*** omake: failed (13.53 sec, 124/124 scans, 141/189 rules, 387/1604
digests)
*** omake: targets were not rebuilt because of errors:
source/tjlink.opt
What version of the product are you using? On what operating system?
teyjus-source-2.0-b2.tar.gz
Osx Server 10.6.6
Please provide any additional information below.