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

cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal #17751

Closed
lishuo5263 opened this issue Sep 25, 2018 · 5 comments
Closed

Comments

@lishuo5263
Copy link

Hi there,
When I Clone go-ehtereum ,and I Check out v1.67 Stable Version, I Want to make Geth by source,Then I have something Wrong with Envirment,here is my MacOS & Golang info.

System information

OS & Version: macOS High Sierra 10.13.6
GoLang Version :1.11

Here is Error Detail , And I problem as same as https://github.com/ethereum/go-ethereum/issues/17688 , I fllow this direction try solve this problem ,but useless

Uploading WechatIMG2.jpeg…

@lishuo5263
Copy link
Author

ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/Versions/A/CoreFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList.tbd and library file /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList are out of sync. Falling back to library file for linking.

github.com/ethereum/go-ethereum/vendor/github.com/rjeczalik/notify

vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:51:216: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:162:47: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithCStringNoCopy
vendor/github.com/rjeczalik/notify/watcher_fsevents_cgo.go:163:225: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
util.go:44: exit status 2
exit status 1
make: *** [geth] Error 1
localhost:go-ethereum lisandro$ go version
go version go1.11 darwin/amd64

@hiroki-money
Copy link

+1

1 similar comment
@iannovic
Copy link

iannovic commented Oct 5, 2018

+1

@fjl
Copy link
Contributor

fjl commented Oct 5, 2018

You cannot compile geth v1.6.7 with Go 1.11. Please upgrade to geth v1.8.16.

@MasashiSalvador57f
Copy link

+1

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

6 participants
@fjl @MasashiSalvador57f @iannovic @lishuo5263 @hiroki-money and others