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

编译环境是什么呢 报错 #7

Open
wiki-qi opened this issue Mar 4, 2024 · 0 comments
Open

编译环境是什么呢 报错 #7

wiki-qi opened this issue Mar 4, 2024 · 0 comments

Comments

@wiki-qi
Copy link

wiki-qi commented Mar 4, 2024

Build Architecture is aarch64

huawei.com/npu-exporter/v5/cmd/npu-exporter

/root/.goenv/versions/1.21.4/pkg/tool/linux_arm64/link: running gcc failed: exit status 1
/usr/bin/ld: /tmp/go-link-3868437746/000021.o:/data/KubeSphere/ascend-npu-exporter/devmanager/dcmi/dcmi.go:27: multiple definition of dcmiHandle'; /tmp/go-link-3868437746/000020.o:/tmp/go-build/dcmi.go:27: first defined here /usr/bin/ld: /tmp/go-link-3868437746/000021.o:/data/KubeSphere/ascend-npu-exporter/devmanager/dcmi/dcmi.go:35: multiple definition of dcmi_init_func'; /tmp/go-link-3868437746/000020.o:/tmp/go-build/dcmi.go:35: first defined here
/usr/bin/ld: /tmp/go-link-3868437746/000021.o:/data/KubeSphere/ascend-npu-exporter/devmanager/dcmi/dcmi.go:40: multiple definition of dcmi_get_card_num_list_func'; /tmp/go-link-3868437746/000020.o:/tmp/go-build/dcmi.go:40: first defined here /usr/bin/ld: /tmp/go-link-3868437746/000021.o:/data/KubeSphere/ascend-npu-exporter/devmanager/dcmi/dcmi.go:45: multiple definition of dcmi_get_device_num_in_card_func'; /tmp/go-link-3868437746/000020.o:/tmp/go-build/dcmi.go:45: first defined here

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

1 participant