From bcf441ccbac311f93ff0ec7902f9af83dcf340a6 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Sun, 30 Sep 2018 18:02:15 +0200 Subject: docs: add another way in which a llvm-7-dev installation can fail --- docs/installation.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/installation.rst b/docs/installation.rst index 5df07eed0..55e2ca20c 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -56,6 +56,11 @@ If you get an error like this:: cgo-gcc-prolog:80: error: undefined reference to 'LLVMVerifyModule' [...etc...] +Or like this:: + + ../go-llvm/analysis.go:17:93: fatal error: llvm-c/Analysis.h: No such file or directory + #include "llvm-c/Analysis.h" // If you are getting an error here read bindings/go/README.txt + It means something is wrong with your LLVM installation. Make sure LLVM 7 is installed (Debian package ``llvm-7-dev``). If it still doesn't work, you can try running:: -- cgit v1.2.3