Version française
Home     About     Download     Resources     Contact us    
Browse thread
help using json-wheel
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Greg Meredith <lgreg.meredith@g...>
Subject: help using json-wheel
All,

i'm trying to use Martin Jambon's json-wheel. The dependency chain backs up
into pcre. When i add that to the list of libs, i get a missing external
which i thought might be in libpcre_stubs.a in the pcre pkg lib. But, no
joy. Any help would be greatly appreciated.

Best wishes,

--greg

-*- mode: compilation; default-directory:
"~/work/src/projex/biosimilarity/reflection/rho/ocaml/" -*-
Compilation started at Wed Jan 17 12:17:34

make -k
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c rho.ml
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c vm.ml
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c logic.ml
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c mc.ml
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c geometry.ml
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c geometrize.ml
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c shell.ml
ocamllex lexer.mll
40 states, 261 transitions, table size 1284 bytes
ocamlyacc parser.mly
ocamlc -g -c parser.mli
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c lexer.ml
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c parser.ml
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c frontend.ml
ocamlc -g -I `ocamlfind query pcre` -I `ocamlfind query netstring` -I
`ocamlfind query json-wheel` -c repl.ml
ocamlc -ccopt -L`ocamlfind query pcre` -cclib -llibpcre_stubs.a -I
`ocamlfind query pcre` -I `ocamlfind query netstring` -I `ocamlfind query
json-wheel` dynlink.cma pcre.cma netstring.cma jsonwheel.cma rho.cmo vm.cmo
logic.cmo mc.cmo geometry.cmo geometrize.cmo shell.cmo lexer.cmo parser.cmo
frontend.cmo repl.cmo -o repl
Error while linking
/Users/lgm/work/src/devtools/ocaml/godi/lib/ocaml/pkg-lib/pcre/pcre.cma(Pcre):
The external function `pcre_isspace_stub' is not available
make: *** [repl] Error 2
make: Target `all' not remade because of errors.

Compilation exited abnormally with code 2 at Wed Jan 17 12:17:34

note i get the same behavior if i try the following variations:

-cclib -lpcre_stubs.a

or

pass libpcre_stubs.a as a library to ocamlc instead of passing it on as a
cclib.

-- 
L.G. Meredith
Partner
Biosimilarity LLC
505 N 72nd St
Seattle, WA 98103

+1 206.650.3740