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

[Golang] Lots of identifier XXX may conflict with identifiers generated by CGO #3119

Closed
advancedlogic opened this issue Apr 29, 2019 · 4 comments
Assignees

Comments

@advancedlogic
Copy link

I am using go 1.12.4 and when I run make this is the output:

./bytearray.go:54:20: identifier "_Ctype_char" may conflict with identifiers generated by cgo
./bytearray.go:77:58: identifier "_Ctype_char" may conflict with identifiers generated by cgo
./function.go:126:41: identifier "_Ctype_TVMFunctionHandle" may conflict with identifiers generated by cgo
./function.go:232:34: identifier "_Ctype_TVMFunctionHandle" may conflict with identifiers generated by cgo
./function.go:233:39: identifier "_Ctype_TVMValue" may conflict with identifiers generated by cgo
./function.go:234:39: identifier "_Ctype_int" may conflict with identifiers generated by cgo
./function.go:236:39: identifier "_Ctype_TVMValue" may conflict with identifiers generated by cgo
./function.go:237:39: identifier "_Ctype_int" may conflict with identifiers generated by cgo
./function.go:315:48: identifier "_Ctype_TVMRetValueHandle" may conflict with identifiers generated by cgo
./function.go:316:50: identifier "_Ctype_TVMValue" may conflict with identifiers generated by cgo
./function.go:317:50: identifier "_Ctype_int" may conflict with identifiers generated by cgo
./function.go:375:48: identifier "_Ctype_TVMFunctionHandle" may conflict with identifiers generated by cgo
./module.go:67:43: identifier "_Ctype_TVMModuleHandle" may conflict with identifiers generated by cgo
./module.go:120:41: identifier "_Ctype_TVMModuleHandle" may conflict with identifiers generated by cgo
./module.go:123:42: identifier "_Ctype_TVMFunctionHandle" may conflict with identifiers generated by cgo
./ndarray.go:51:38: identifier "_Ctype_TVMArray" may conflict with identifiers generated by cgo
./ndarray.go:69:17: identifier "_Ctype_TVMArray" may conflict with identifiers generated by cgo
./ndarray.go:130:36: identifier "_Ctype_TVMArray" may conflict with identifiers generated by cgo
./ndarray.go:153:17: identifier "_Ctype_TVMArray" may conflict with identifiers generated by cgo
./ndarray.go:225:23: identifier "_Ctype_TVMArray" may conflict with identifiers generated by cgo
./ndarray.go:231:33: identifier "_Ctype_TVMArray" may conflict with identifiers generated by cgo
./ndarray.go:242:15: identifier "_Ctype_TVMArray" may conflict with identifiers generated by cgo
./ndarray.go:249:15: identifier "_Ctype_TVMArray" may conflict with identifiers generated by cgo
./ndarray.go:270:38: identifier "_Ctype_long" may conflict with identifiers generated by cgo
./ndarray.go:277:38: identifier "_Ctype_TVMArrayHandle" may conflict with identifiers generated by cgo
./ndarray.go:346:39: identifier "_Ctype_TVMArray" may conflict with identifiers generated by cgo
make: *** [Makefile:40: all] Error 2
@srkreddy1238
Copy link
Contributor

@advancedlogic Thanks for reporting, I will check this.

@tqchen tqchen changed the title Lots of identifier XXX may conflict with identifiers generated by CGO [Golang] Lots of identifier XXX may conflict with identifiers generated by CGO May 1, 2019
@tqchen
Copy link
Member

tqchen commented May 8, 2019

@srkreddy1238 what is the status of this issue?

@srkreddy1238
Copy link
Contributor

Will address it in coming weekend.

@tqchen
Copy link
Member

tqchen commented May 13, 2019

#3182

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

3 participants