With an earlier version of CentOS 7, I was able to build the RealPort driver for 3.10.0-123.el7.x86_64. Now, my kernel has been updated to 3.10.0-327.3.1.el7.x86_64 and I get the messages below. Is there an updated driver to fix this?
$ make all
(cd driver/build; make all)
make[1]: Entering directory /home/holum/dgrp/dgrp-1.9/driver/2.6.27' make -C /lib/modules/3.10.0-327.3.1.el7.x86_64/build SUBDIRS=$PWD modules MYPWD=/home/holum/dgrp/dgrp-1.9/driver/2.6.27 MYMANDIR=/share/man make[2]: Entering directory
/usr/src/kernels/3.10.0-327.3.1.el7.x86_64’
CC [M] /home/holum/dgrp/dgrp-1.9/driver/build/dgrp_common.o
CC [M] /home/holum/dgrp/dgrp-1.9/driver/build/dgrp_dpa_ops.o
CC [M] /home/holum/dgrp/dgrp-1.9/driver/build/dgrp_driver.o
CC [M] /home/holum/dgrp/dgrp-1.9/driver/build/dgrp_mon_ops.o
CC [M] /home/holum/dgrp/dgrp-1.9/driver/build/dgrp_net_ops.o
In file included from include/linux/bitops.h:33:0,
from include/linux/kernel.h:10,
from include/linux/cache.h:4,
from include/linux/time.h:4,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/holum/dgrp/dgrp-1.9/driver/2.6.27/include/linux_ver_fix.h:57,
from /home/holum/dgrp/dgrp-1.9/driver/build/dgrp_net_ops.c:52:
/home/holum/dgrp/dgrp-1.9/driver/build/dgrp_net_ops.c: In function ‘dgrp_is_real_raw’:
/home/holum/dgrp/dgrp-1.9/driver/build/dgrp_net_ops.c:380:15: error: ‘TTY_HW_COOK_IN’ undeclared (first use in this function)
if (test_bit(TTY_HW_COOK_IN, &tty->flags)) {
^
/usr/src/kernels/3.10.0-327.3.1.el7.x86_64/arch/x86/include/asm/bitops.h:344:25: note: in definition of macro ‘test_bit’
(__builtin_constant_p((nr))
^
/home/holum/dgrp/dgrp-1.9/driver/build/dgrp_net_ops.c:380:15: note: each undeclared identifier is reported only once for each function it appears in
if (test_bit(TTY_HW_COOK_IN, &tty->flags)) {
^
/usr/src/kernels/3.10.0-327.3.1.el7.x86_64/arch/x86/include/asm/bitops.h:344:25: note: in definition of macro ‘test_bit’
(__builtin_constant_p((nr))
^
make[3]: *** [/home/holum/dgrp/dgrp-1.9/driver/build/dgrp_net_ops.o] Error 1
make[2]: *** [module/home/holum/dgrp/dgrp-1.9/driver/build] Error 2
make[2]: Leaving directory /usr/src/kernels/3.10.0-327.3.1.el7.x86_64' make[1]: *** [build] Error 2 make[1]: Leaving directory
/home/holum/dgrp/dgrp-1.9/driver/2.6.27’
make: *** [build] Error 2