在Macos系统下链接错误
jetgeng opened this issue · comments
环境描述:
- 操作系统 Macos 13.1 (22C65)
- driver-go: 3.5.0
- go: go1.20.2 darwin/amd64
- clang: 14.0.0 (clang-1400.0.29.202)
- Tdengine client: 3.0.4.1
问题描述
按照文档导入库进行编译的时候, 到链接阶段报错:
# github.com/taosdata/driver-go/v3/wrapper
~/go/1.20.2/pkg/mod/github.com/taosdata/driver-go/v3@v3.5.0/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/v3@v3.5.0/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/v3@v3.5.0/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/v3@v3.5.0/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/v3@v3.5.0/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/v3@v3.5.0/wrapper/tmq.go:256:18: could not determine kind of name for C.tmq_topic_assignment
@sangshuduo 好的,我再试试.