dgrp driver compile error on CentOS 7

I downloaded the latest Realport Driver for Linux ver. 1.9-33 and tried to compile it on CentOS 7 (with all updates) and it failed with:

Executing(%build): /bin/sh -e /home/maintainer/rpmbuild/tmp/rpm-tmp.z9YwBU

  • umask 022
  • cd /home/maintainer/rpmbuild/BUILD
  • cd dgrp-1.9
  • make all
    (cd driver/build; make all)
    make[1]: Entering directory /home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/2.6.27' make -C /lib/modules/3.10.0-123.6.3.el7.x86_64/build SUBDIRS=$PWD modules MYPWD=/home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/2.6.27 MYMANDIR=/usr/share/man make[2]: Entering directory /usr/src/kernels/3.10.0-123.6.3.el7.x86_64’
    CC [M] /home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/build/dgrp_common.o
    /home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/build/dgrp_common.c: In function ‘dgrp_in_egroup_p’:
    /home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/build/dgrp_common.c:637:2: error: incompatible type for argument 1 of ‘in_egroup_p’
    return in_egroup_p(grp);
    In file included from include/linux/sched.h:51:0,
    from /home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/build/dgrp_common.c:57:
    include/linux/cred.h:77:12: note: expected ‘kgid_t’ but argument is of type ‘gid_t’
    extern int in_egroup_p(kgid_t);
    /home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/build/dgrp_common.c:638:1: warning: control reaches end of non-void function [-Wreturn-type]
    make[3]: *** [/home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/build/dgrp_common.o] Error 1
    make[2]: *** [module/home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/build] Error 2
    make[2]: Leaving directory /usr/src/kernels/3.10.0-123.6.3.el7.x86_64' make[1]: *** [build] Error 2 make[1]: Leaving directory /home/maintainer/rpmbuild/BUILD/dgrp-1.9/driver/2.6.27’
    make: *** [build] Error 2
    error: Bad exit status from /home/maintainer/rpmbuild/tmp/rpm-tmp.z9YwBU (%build)

Is there a newer driver that’s compatible with CentOS 7 somewhere?

Can you please contact Digi Tech. Support to report this?

Eservice Support: http://mydigi.force.com/customers
Email: tech.support@digi.com

Was there a solution provided? Care to share? It would help others if you had a shared the solution. Thanks

Digi Engineering will need to accommodate a recent kernel change in a new RealPort driver build. Going to an older kernel might provide a workaround until this is complete.

FYI: There is a beta driver build now available from Digi.