Skip to content
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

Bug? #3

Open
QuestionPython opened this issue Mar 30, 2017 · 1 comment
Open

Bug? #3

QuestionPython opened this issue Mar 30, 2017 · 1 comment

Comments

@QuestionPython
Copy link

~$ go get -tags byollvm github.com/go-llvm/llvm

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=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?

@nsf
Copy link
Owner

nsf commented Mar 30, 2017

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.

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

2 participants