slighlty newere version gets...
ibcs-3.10-3.13.0.37.tgz
sh-4.2# make
make -C /lib/modules/3.10.0-327.13.1.el7.x86_64/build M=/usr/src/modules/ibcs-3.10-3.13.0.37 modules
make[1]: Entering directory /usr/src/kernels/3.10.0-327.13.1.el7.x86_64'
CC [M] /usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.o
/usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c:235:21: error: field âctxâ has incomplete type
struct dir_context ctx;
^
/usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c: In function âsvr4_getdentsâ:
/usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c:304:2: error: field name not in record or union initializer
.ctx.actor = svr4_filldir
^
/usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c:304:2: error: (near initialization for âbufâ)
/usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c:318:2: error: implicit declaration of function âiterate_dirâ [-Werror=implicit-function-declaration]
error = iterate_dir(file, &buf.ctx);
^
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.o] Error 1
make[2]: *** [/usr/src/modules/ibcs-3.10-3.13.0.37/svr4] Error 2
make[1]: *** [_module_/usr/src/modules/ibcs-3.10-3.13.0.37] Error 2
make[1]: Leaving directory/usr/src/kernels/3.10.0-327.13.1.el7.x86_64'
make: *** [all] Error 2
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Won't compile on RHEL 7.2
[rsheppard@swint21-dev ~]$ uname -a
Linux swint21-dev.cc.swin.edu.au 3.10.0-327.13.1.el7.x86_64 #1 SMP Mon Feb 29 13:22:02 EST 2016 x86_64 x86_64 x86_64 GNU/Linux
[rsheppard@swint21-dev ~]$
.2# make
make -C /lib/modules/3.10.0-327.13.1.el7.x86_64/build M=/usr/src/modules/ibcs-3.10-3.4.1 modules
make[1]: Entering directory
/usr/src/kernels/3.10.0-327.13.1.el7.x86_64' CC [M] /usr/src/modules/ibcs-3.10-3.4.1/coff/binfmt-coff.o /usr/src/modules/ibcs-3.10-3.4.1/coff/binfmt-coff.c:58:2: warning: initialization from incompatible pointer type [enabled by default] {NULL, NULL}, THIS_MODULE, coff_load_binary, coff_load_shlib, NULL, PAGE_SIZE, 0 ^ /usr/src/modules/ibcs-3.10-3.4.1/coff/binfmt-coff.c:58:2: warning: (near initialization for âcoff_format.load_binaryâ) [enabled by default] /usr/src/modules/ibcs-3.10-3.4.1/coff/binfmt-coff.c:59:1: warning: excess elements in struct initializer [enabled by default] }; ^ /usr/src/modules/ibcs-3.10-3.4.1/coff/binfmt-coff.c:59:1: warning: (near initialization for âcoff_formatâ) [enabled by default] /usr/src/modules/ibcs-3.10-3.4.1/coff/binfmt-coff.c: In function âmap_coffâ: /usr/src/modules/ibcs-3.10-3.4.1/coff/binfmt-coff.c:247:2: error: implicit declaration of function âdo_mmapâ [-Werror=implicit-function-declaration] map_addr = do_mmap(file, ^ cc1: some warnings being treated as errors make[3]: *** [/usr/src/modules/ibcs-3.10-3.4.1/coff/binfmt-coff.o] Error 1 make[2]: *** [/usr/src/modules/ibcs-3.10-3.4.1/coff] Error 2 make[1]: *** [_module_/usr/src/modules/ibcs-3.10-3.4.1] Error 2 make[1]: Leaving directory
/usr/src/kernels/3.10.0-327.13.1.el7.x86_64'make: *** [all] Error 2
sh-4.2#
slighlty newere version gets...
ibcs-3.10-3.13.0.37.tgz
sh-4.2# make
make -C /lib/modules/3.10.0-327.13.1.el7.x86_64/build M=/usr/src/modules/ibcs-3.10-3.13.0.37 modules
make[1]: Entering directory
/usr/src/kernels/3.10.0-327.13.1.el7.x86_64' CC [M] /usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.o /usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c:235:21: error: field âctxâ has incomplete type struct dir_context ctx; ^ /usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c: In function âsvr4_getdentsâ: /usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c:304:2: error: field name not in record or union initializer .ctx.actor = svr4_filldir ^ /usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c:304:2: error: (near initialization for âbufâ) /usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.c:318:2: error: implicit declaration of function âiterate_dirâ [-Werror=implicit-function-declaration] error = iterate_dir(file, &buf.ctx); ^ cc1: some warnings being treated as errors make[3]: *** [/usr/src/modules/ibcs-3.10-3.13.0.37/svr4/open.o] Error 1 make[2]: *** [/usr/src/modules/ibcs-3.10-3.13.0.37/svr4] Error 2 make[1]: *** [_module_/usr/src/modules/ibcs-3.10-3.13.0.37] Error 2 make[1]: Leaving directory
/usr/src/kernels/3.10.0-327.13.1.el7.x86_64'make: *** [all] Error 2
chaged config to remove SVR4 and only comiple bin_coff
which compiled, but kernel panics when loading!
should I be setiting the CONFIG rnyry
ABI_AMD64VECTORbefor compile on a RHEL7 x86_64 VM ?