This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
[OPENNESS:20.12.1] : Not able to build SRIOV DEVICE PLUGIN on fresh setup of servers #84
Labels
help wanted
Extra attention is needed
Hello, I am installing OpenNESS 20.12.1 on fresh setup of servers (CentOS - Linux release 7.8.2003 (Core))
2021-02-06 10:25:10,380 p=18258 u=root n=ansible | fatal: [zd03]: FAILED! => {
"attempts": 10,
"changed": true,
"cmd": [
"make",
"image"
],
"delta": "0:00:27.212839",
"end": "2021-02-06 10:25:10.353690",
"rc": 2,
"start": "2021-02-06 10:24:43.140851"
}
STDOUT:
Building Docker image...
..................................................
..................................................
gcc -z noexecstack -z relro -z now -pie -o ddptool src/ddp.o src/ddp_list.o src/os.o src/cmdparams.o src/output.o -fstack-protector -fPIE -fPIC -Wformat -Wformat-security -Wall -I./inc -Isrc -O2 -D_FORTIFY_SOURCE=2 -Werror -Wl,-strip-debug
/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: src/ddp_list.o:(.bss+0x0): multiple definition of
ddp_func_print_adapter_list'; src/ddp.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: src/os.o:(.bss+0x0): multiple definition of
ddp_func_print_adapter_list'; src/ddp.o:(.bss+0x8): first defined here/usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: src/cmdparams.o:(.bss+0x0): multiple definition of
ddp_func_print_adapter_list'; src/ddp.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-alpine-linux-musl/10.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: src/output.o:(.bss+0x0): multiple definition of
ddp_func_print_adapter_list'; src/ddp.o:(.bss+0x8): first defined herecollect2: error: ld returned 1 exit status
make: *** [makefile:45: ddptool] Error 1
STDERR:
The command '/bin/sh -c apk add --update --virtual build-dependencies build-base linux-headers && cd /usr/src/sriov-network-device-plugin && make clean && make build && cd /tmp/ddptool && tar zxvf ddptool-1.0.0.0.tar.gz && make' returned a non-zero code: 2
make: *** [image] Error 2
MSG:
non-zero return code
The text was updated successfully, but these errors were encountered: