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

在Macos系统下链接错误 #177

Open
jetgeng opened this issue Jun 13, 2023 · 2 comments
Open

在Macos系统下链接错误 #177

jetgeng opened this issue Jun 13, 2023 · 2 comments

Comments

@jetgeng
Copy link

jetgeng commented Jun 13, 2023

环境描述:

  1. 操作系统 Macos 13.1 (22C65)
  2. driver-go: 3.5.0
  3. go: go1.20.2 darwin/amd64
  4. clang: 14.0.0 (clang-1400.0.29.202)
  5. Tdengine client: 3.0.4.1

问题描述

按照文档导入库进行编译的时候, 到链接阶段报错:

# github.com/taosdata/driver-go/v3/wrapper
~/go/1.20.2/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/tmq.go:270:99: could not determine kind of name for C.sizeof_struct_tmq_topic_assignment
~/go/1.20.2/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/tmq.go:298:2: could not determine kind of name for C.tmq_free_assignment
~/go/1.20.2/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/tmq.go:260:16: could not determine kind of name for C.tmq_get_topic_assignment
~/go/1.20.2/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/tmq.go:290:15: could not determine kind of name for C.tmq_get_vgroup_offset
~/go/1.20.2/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/tmq.go:285:15: could not determine kind of name for C.tmq_offset_seek
~/go/1.20.2/pkg/mod/github.com/taosdata/driver-go/[email protected]/wrapper/tmq.go:256:18: could not determine kind of name for C.tmq_topic_assignment

是在
image
这个阶段出错!

@sangshuduo
Copy link
Contributor

https://github.com/taosdata/driver-go#remind

@jetgeng
Copy link
Author

jetgeng commented Jun 14, 2023

@sangshuduo 好的,我再试试.

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