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

could not determine kind of name #126

Closed
hmert opened this issue Jul 7, 2014 · 4 comments
Closed

could not determine kind of name #126

hmert opened this issue Jul 7, 2014 · 4 comments

Comments

@hmert
Copy link

hmert commented Jul 7, 2014

I'm getting following error when try to install

$ go get github.com/mattn/go-sqlite3
# github.com/mattn/go-sqlite3
could not determine kind of name for C.sqlite3_extended_errcode
could not determine kind of name for C._sqlite3_bind_blob
could not determine kind of name for C.sqlite3_column_blob
could not determine kind of name for C.sqlite3_close_v2
could not determine kind of name for C.sqlite3_bind_null
could not determine kind of name for C._sqlite3_changes
could not determine kind of name for C.sqlite3_enable_load_extension
could not determine kind of name for C.sqlite3_column_count
could not determine kind of name for C.sqlite3_column_int64
could not determine kind of name for C.sqlite3_column_double
could not determine kind of name for C.sqlite3_column_bytes
could not determine kind of name for C.sqlite3_get_autocommit
could not determine kind of name for C.sqlite3_bind_parameter_count
@mattn
Copy link
Owner

mattn commented Jul 7, 2014

I can't do anything if you don't let me known your condition. Which
OS? Which compiler?

On 7/8/14, Hüseyin Mert notifications@github.com wrote:

I'm getting following error when try to install

$ go get github.com/mattn/go-sqlite3
# github.com/mattn/go-sqlite3
could not determine kind of name for C.sqlite3_extended_errcode
could not determine kind of name for C._sqlite3_bind_blob
could not determine kind of name for C.sqlite3_column_blob
could not determine kind of name for C.sqlite3_close_v2
could not determine kind of name for C.sqlite3_bind_null
could not determine kind of name for C._sqlite3_changes
could not determine kind of name for C.sqlite3_enable_load_extension
could not determine kind of name for C.sqlite3_column_count
could not determine kind of name for C.sqlite3_column_int64
could not determine kind of name for C.sqlite3_column_double
could not determine kind of name for C.sqlite3_column_bytes
could not determine kind of name for C.sqlite3_get_autocommit
could not determine kind of name for C.sqlite3_bind_parameter_count

Reply to this email directly or view it on GitHub:
#126

  • Yasuhiro Matsumoto

@hmert
Copy link
Author

hmert commented Jul 7, 2014

OS X 10.9.4 and

$ go env
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/usr/local/go/pkg"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
CC="gcc"
GOGCCFLAGS="-g -O2 -fPIC -m64 -pthread -fno-common"
CGO_ENABLED="1"

@mattn
Copy link
Owner

mattn commented Jul 8, 2014

Probably, your go is not built with your compiler gcc.

See #80

@hmert
Copy link
Author

hmert commented Jul 8, 2014

Thank you, that link solved my problem.

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