|
From: Gilbert S. <gil...@ho...> - 2021-02-25 19:13:03
|
Hi Bart,
We are seeing the following fatal build error on Oracle Linux 7.9 when building SCST RPM using SCST 3.6.0 (8182) as shown below.
System details are:
[root@o78sv2 scst-files]# cat /etc/oracle-release
Oracle Linux Server release 7.9
[root@o78sv2 scst-files]# uname -a
Linux o78sv2 4.14.35-2047.500.10.el7uek.x86_64 #2 SMP Wed Feb 17 19:26:51 PST 2021 x86_64 x86_64 x86_64 GNU/Linux
[root@o78sv2 scst-files]#
and errors are:
make[4]: Entering directory `/usr/src/kernels/4.14.35-2047.500.10.el7uek.x86_64'
AR /usr/src/packages/BUILD/scst-3.6.0.8182/scst/src/built-in.o
CC [M] /usr/src/packages/BUILD/scst-3.6.0.8182/scst/src/scst_copy_mgr.o
In file included from /usr/src/packages/BUILD/scst-3.6.0.8182/scst/src/../include/scst.h:64:0,
from /usr/src/packages/BUILD/scst-3.6.0.8182/scst/src/scst_copy_mgr.c:17:
/usr/src/packages/BUILD/scst-3.6.0.8182/scst/src/../include/backport.h:2198:1: error: static declaration of 'fc_host_fpin_rcv' follows non-static declaration
fc_host_fpin_rcv(struct Scsi_Host *shost, u32 fpin_len, char *fpin_buf)
^
In file included from /usr/src/packages/BUILD/scst-3.6.0.8182/scst/src/../include/backport.h:55:0,
from /usr/src/packages/BUILD/scst-3.6.0.8182/scst/src/../include/scst.h:64,
from /usr/src/packages/BUILD/scst-3.6.0.8182/scst/src/scst_copy_mgr.c:17:
./include/scsi/scsi_transport_fc.h:813:6: note: previous declaration of 'fc_host_fpin_rcv' was here
void fc_host_fpin_rcv(struct Scsi_Host *shost, u32 fpin_len, char *fpin_buf);
^
make[5]: *** [/usr/src/packages/BUILD/scst-3.6.0.8182/scst/src/scst_copy_mgr.o] Error 1
make[4]: *** [_module_/usr/src/packages/BUILD/scst-3.6.0.8182/scst/src] Error 2
make[4]: Leaving directory `/usr/src/kernels/4.14.35-2047.500.10.el7uek.x86_64'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/packages/BUILD/scst-3.6.0.8182/scst/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/packages/BUILD/scst-3.6.0.8182/scst'
error: Bad exit status from /var/tmp/rpm-tmp.IOXukE (%build)
Thanks,
Gil
|