mattiasw2 / teyjus

Automatically exported from code.google.com/p/teyjus
GNU General Public License v3.0
0 stars 0 forks source link

Unable to build in OS X Mountain Lion #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I already tried:
omake CFLAGS="-g -arch i386" all 

log:

MacBook-Pro-de-Jesus-2:teyjus lay$ omake CFLAGS="-g -arch i386" all
*** 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.09 sec)
--- Checking for gcc... (found /usr/bin/gcc)                   ] 00061 / 00595
--- Checking for g++... (found /usr/bin/g++)
- 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: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: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: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: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: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: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: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
instrgen-ocaml.c:836: warning: format not a string literal and no format 
arguments
- build source/compiler lpyacc.mli                                             
+ ocamlyacc lpyacc.mly
6 shift/reduce conflicts.
- build source/compiler parse.cmx                                              
+ ocamlopt.opt -warn-error A -I . -I . -I ../disassembler -I ../simulator -I 
../loader -c parse.ml
File "parse.ml", line 119, characters 10-16:
Warning 26: unused variable print'.
File "parse.ml", line 1:========                               ] 00312 / 00612
Error: Error-enabled warnings (1 occurrences)
*** omake: 312/612 targets are up to date                                      
*** omake: failed (5.70 sec, 73/73 scans, 71/95 rules, 193/662 digests)
*** omake: targets were not rebuilt because of errors:                         
   source/compiler/parse.cmx
      depends on: source/compiler/parse.ml
   source/compiler/parse.o
      depends on: source/compiler/parse.ml

Original issue reported on code.google.com by lay.grom...@gmail.com on 25 Nov 2012 at 6:09

GoogleCodeExporter commented 9 years ago
This issue should be fixed by the commit to fix issue 67.

Could you update and try again?

Original comment by fafounet@gmail.com on 24 Jan 2013 at 1:39

GoogleCodeExporter commented 9 years ago
Once I updated to ocaml 4 it worked. Thanks!

Original comment by lay.grom...@gmail.com on 25 Jan 2013 at 2:43

GoogleCodeExporter commented 9 years ago

Original comment by fafounet@gmail.com on 12 Jul 2013 at 12:13