XRT icon indicating copy to clipboard operation
XRT copied to clipboard

Installing xrt on CentOS 9

Open devschapov opened this issue 2 years ago • 3 comments

Hi, I have the issue installing xrt_202310.2.15.225_9.0-x86_64-xrt.rpm on CentOS Stream release 9 (5.14.0-333.el9.x86_64) with errors while compiling. Cut from /var/lib/dkms/xrt/2.15.225/build/make.log DKMS make.log for xrt-2.15.225 for kernel 5.14.0-333.el9.x86_64 (x86_64) CC [M] /var/lib/dkms/xrt/2.15.225/build/driver/xocl/mgmtpf/../subdev/ulite.o /var/lib/dkms/xrt/2.15.225/build/driver/xocl/mgmtpf/../subdev/ulite.c:469:27: error: initialization of ‘void (*)(struct uart_port *, struct ktermios *, const struct ktermios )’ from incompatible pointer type ‘void ()(struct uart_port *, struct ktermios *, struct ktermios *)’ [-Werror=incompatible-pointer-types] 469 | .set_termios = ulite_set_termios, | ^~~~~~~~~~~~~~~~~ /var/lib/dkms/xrt/2.15.225/build/driver/xocl/mgmtpf/../subdev/ulite.c:469:27: note: (near initialization for ‘ulite_ops.set_termios’) cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:298: /var/lib/dkms/xrt/2.15.225/build/driver/xocl/mgmtpf/../subdev/ulite.o] Error 1

How can it be solved or investigated further to find a cause ? Thanks.

devschapov avatar Jul 14 '23 02:07 devschapov