8000 Error linking while using callgraph as a lib · Issue #33 · cil-project/cil · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Error linking while using callgraph as a lib #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Lawliar opened this issue Jun 28, 2017 · 0 comments
Open

Error linking while using callgraph as a lib #33

Lawliar opened this issue Jun 28, 2017 · 0 comments

Comments

@Lawliar
Copy link
Lawliar commented Jun 28, 2017

I want to simply print out a callgraph while using cil.callgraph as followed:

open Cil
module E = Errormsg
module L = List
module CG = Callgraph
let test f:file = 
  let cg= CG.computeGraph f in
  CG.printGraph stdout cg
(*merge the input file e.t.c.*)

however as I was using

 ocamlfind ocamlc -linkpkg -thread -package cil,cil.callgraph test.ml -o test.byte

the compiler complains

File "test.ml", line 1:
Error: Error while linking /home/lcm/.opam/system/lib/cil/cil.cma(Feature):
Reference to undefined global `Findlib'

I do not know where to start debugging with
Does anyone have any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0