wtetzner / bitstring

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

Compilation fails with CIL on non default path at least on OSX #14

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

using CIL from gabriel's GIT repo, installed using ocamlfind in 
/opt/godi312/lib/ocaml/site-lib rather than /usr/local, I get the following 
build error :

ocamlfind ocamlc -g -package dynlink,unix,str,extlib,cil -I +camlp4 -I .. -c 
bitstring_import_c.ml
ocamlfind ocamlc -g -package dynlink,unix,str,extlib,cil -I +camlp4 -I .. 
camlp4lib.cma -linkpkg ../bitstring.cma ../bitstring_persistent.cma 
bitstring_import_c.cmo -o bitstring-import-c
ld: warning: directory '/usr/local/lib/cil' following -L not found
ocamlfind ocamlopt  -package dynlink,unix,str,extlib,cil -I +camlp4 -I .. -c 
bitstring_import_c.ml
ocamlfind ocamlopt  -package dynlink,unix,str,extlib,cil -I +camlp4 -I .. 
camlp4lib.cmxa -linkpkg ../bitstring.cmxa ../bitstring_persistent.cmxa 
bitstring_import_c.cmx -o bitstring-import-c.opt
ld: warning: directory '/usr/local/lib/cil' following -L not found

creating a symlink like so :

ln -s /opt/godi312/lib/ocaml/site-lib/cil /usr/local/lib/cil
fixes the issue.

Regards.

Original issue reported on code.google.com by friendsh...@gmail.com on 24 Nov 2011 at 10:06