Closed FatherChon closed 5 years ago
Give the next_generation branch a try. I added some modifications for 5.0 kernels.
Same issue with RHEL 8 and kernel 4.18.0-80.el8.x86_64 using the next_generation branch
In file included from /root/rpmbuild/BUILD/iomemory-vsl-3.2.16.1732/driver_source/port-internal.h:61,
from /root/rpmbuild/BUILD/iomemory-vsl-3.2.16.1732/driver_source/kfile.c:33:
/root/rpmbuild/BUILD/iomemory-vsl-3.2.16.1732/driver_source/include/fio/port/common-linux/commontypes.h:46:32: error: size of array '__C_ASSERT__' is negative
#define C_ASSERT(x) extern int __C_ASSERT__ [(x)?1:-1]
^~~~~~~~~~~~
/root/rpmbuild/BUILD/iomemory-vsl-3.2.16.1732/driver_source/kfile.c:49:1: note: in expansion of macro 'C_ASSERT'
C_ASSERT(sizeof(fusion_file_operations_t) >= sizeof(struct file_operations));
^~~~~~~~
Building on Linux 4.19 with GCC 8.3.0 causes the same problem.
A test was missing, and one of the tests broke on stack bloating it seems, I've fixed those two. Test built on 4.19.59 with ubuntu 18.04, and Debian Stretch work now. If you have the time please try again with the next_generation branch
Trying to build for a IOdrive duo on a fresh install of debian stretch running 4.19 from backports (4.19.28-2~bpo9+1). gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
Tried via dpkg-buildpackage and make module and still run in to this below. Output is from make module.
Any help would be appreciated, thanks!