Skip to content
New issue

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

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

Already on GitHub? # to your account

build error mac osx / go 1.10.beta2 #12

Open
roscopecoltran opened this issue Jan 18, 2018 · 0 comments
Open

build error mac osx / go 1.10.beta2 #12

roscopecoltran opened this issue Jan 18, 2018 · 0 comments

Comments

@roscopecoltran
Copy link

roscopecoltran commented Jan 18, 2018

Hi,

Hope you are all well !

Using go 1.10.beta2

go version devel +2dc025e4e1 Wed Jan 17 06:44:25 2018 +0000 darwin/amd64
cd $GOPATH/src/github.com/limetext/lime-qml
cd main
go build
# github.com/rjeczalik/notify
../../../rjeczalik/notify/watcher_fsevents_cgo.go:51: cannot use refZero (type int) as type _Ctype_CFAllocatorRef in argument to func literal
../../../rjeczalik/notify/watcher_fsevents_cgo.go:165: cannot use refZero (type int) as type _Ctype_CFAllocatorRef in argument to func literal
../../../rjeczalik/notify/watcher_fsevents_cgo.go:166: cannot use refZero (type int) as type _Ctype_CFAllocatorRef in argument to func literal
# github.com/limetext/gopy
utils.c:15:23: error: use of undeclared identifier 'callWithoutArgs'
utils.c:19:23: error: use of undeclared identifier 'callWithArgs'
utils.c:23:23: error: use of undeclared identifier 'callWithKeywords'
utils.c:96:51: error: use of undeclared identifier 'goClassCallMethod'
utils.c:99:51: error: use of undeclared identifier 'goClassCallMethodArgs'
utils.c:102:51: error: use of undeclared identifier 'goClassCallMethodKwds'
utils.c:122:12: warning: implicit declaration of function 'goClassObjGet' is invalid in C99 [-Wimplicit-function-declaration]
utils.c:122:12: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *') [-Wint-conversion]
utils.c:126:12: warning: implicit declaration of function 'goClassObjSet' is invalid in C99 [-Wimplicit-function-declaration]
utils.c:202:12: warning: implicit declaration of function 'goClassNatGet' is invalid in C99 [-Wimplicit-function-declaration]
utils.c:202:12: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *') [-Wint-conversion]
utils.c:206:12: warning: implicit declaration of function 'goClassNatSet' is invalid in C99 [-Wimplicit-function-declaration]
utils.c:287:28: error: use of undeclared identifier 'goClassGetProp'
utils.c:292:28: error: use of undeclared identifier 'goClassSetProp'
utils.c:300:40: error: use of undeclared identifier 'goClassTraverse'
utils.c:301:40: error: use of undeclared identifier 'goClassClear'
utils.c:306:41: error: use of undeclared identifier 'goGenericAlloc'
utils.c:307:41: error: use of undeclared identifier 'goGenericFree'
utils.c:314:37: error: use of undeclared identifier 'goClassNew'
utils.c:315:37: error: use of undeclared identifier 'goGenericAlloc'
utils.c:316:37: error: use of undeclared identifier 'goClassDealloc'
utils.c:317:37: error: use of undeclared identifier 'goGenericFree'
utils.c:319:63: error: use of undeclared identifier 'goClassCall'
utils.c:320:63: error: use of undeclared identifier 'goClassGetAttr'
utils.c:321:63: error: use of undeclared identifier 'goClassGetAttrObj'

Any way to fix these errors ?
Is there any docker container (alpine based) available ?
Is it possible to share some cross-compiled binaries as releases ?

Thanks in advance ^^

Richard


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

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

No branches or pull requests

1 participant