You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /usr/include/llvm-c/Types.h:17:0,
from /usr/include/llvm-c/Analysis.h:22,
from go/src/github.com/go-llvm/llvm/analysis.go:4:
/usr/include/llvm/Support/DataTypes.h:57:3: error: #error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
error "Must #define __STDC_CONSTANT_MACROS before " \
^
guest@system:$ export CGO_CFLAGS=llvm-config --cflags
guest@system:$ export CGO_LDFLAGS="llvm-config --ldflags -Wl,-Lllvm-config --libdir -lLLVM-llvm-config --version"
guest@system:$ go get -tags byollvm github.com/go-llvm/llvm# github.com/go-llvm/llvm
could not determine kind of name for C.LLVMDisposeMessage
guest@system:$ go get -tags byollvm github.com/go-llvm/llvm
github.com/go-llvm/llvm
could not determine kind of name for C.LLVMDisposeMessage
how fix?
The text was updated successfully, but these errors were encountered:
I'm not maintaining the project anymore, it was moved to http://llvm.org/ guys. They have their own places for questions and bug reports, which I'm not aware of.
github.com/go-llvm/llvm
In file included from /usr/include/llvm-c/Types.h:17:0,
from /usr/include/llvm-c/Analysis.h:22,
from go/src/github.com/go-llvm/llvm/analysis.go:4:
/usr/include/llvm/Support/DataTypes.h:57:3: error: #error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
^
/usr/include/llvm/Support/DataTypes.h:61:3: error: #error "Must #define __STDC_CONSTANT_MACROS before " "#including Support/DataTypes.h"
error "Must #define __STDC_CONSTANT_MACROS before " \
^
guest@system:
$ export CGO_CFLAGS=$ export CGO_LDFLAGS="llvm-config --cflags
guest@system:
llvm-config --ldflags
-Wl,-Lllvm-config --libdir
-lLLVM-llvm-config --version
"guest@system:
$ go get -tags byollvm github.com/go-llvm/llvm# github.com/go-llvm/llvm$ go get -tags byollvm github.com/go-llvm/llvmcould not determine kind of name for C.LLVMDisposeMessage
guest@system:
github.com/go-llvm/llvm
could not determine kind of name for C.LLVMDisposeMessage
how fix?
The text was updated successfully, but these errors were encountered: