Home/Support/Support Forum/Build Issue: ( expected ‘kgid_t’ but argument is of type ‘gid_t’) 81000137_U for PortServer TS On Red Hat 7
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Build Issue: ( expected ‘kgid_t’ but argument is of type ‘gid_t’) 81000137_U for PortServer TS On Red Hat 7

0 votes
When trying to build for PortServer TS 16 Port I am getting a build error. Any tips?

[root@wp1 dgrp-1.9]# ./configure
checking for Digi Driver package version... 1.9-33 built on 04/17/2014
checking for awk... /usr/bin/awk
checking for arch... /usr/bin/arch
checking for cat... /usr/bin/cat
checking for cd... /usr/bin/cd
checking for chkconfig... /usr/sbin/chkconfig
checking for chmod... /usr/bin/chmod
checking for chown... /usr/bin/chown
checking for cp... /usr/bin/cp
checking for depmod... /usr/sbin/depmod
checking for echo... /usr/bin/echo
checking for fuser... /usr/sbin/fuser
checking for grep... /usr/bin/grep
checking for init... /usr/sbin/init
checking for insmod... /usr/sbin/insmod
checking for kill... /usr/bin/kill
checking for ln... /usr/bin/ln
checking for ls... /usr/bin/ls
checking for lsmod... /usr/sbin/lsmod
checking for make... /usr/bin/make
checking for mkdir... /usr/bin/mkdir
checking for mknod... /usr/bin/mknod
checking for more... /usr/bin/more
checking for mv... /usr/bin/mv
checking for ps... /usr/bin/ps
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for rmmod... /usr/sbin/rmmod
checking for sed... /usr/bin/sed
checking for sleep... /usr/bin/sleep
checking for stty... /usr/bin/stty
checking for tar... /usr/bin/tar
checking for tr... /usr/bin/tr
checking for touch... /usr/bin/touch
checking for true... /usr/bin/true
checking for udevadm... /usr/sbin/udevadm
checking for udevcontrol... Not Found
checking for udevd... Not Found
checking for udevinfo... Not Found
checking for uname... /usr/bin/uname
checking for platform type... x86_64
checking for gcc... gcc
checking for gcc version... >= 3.2 (4.8.2)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for current kernel version... 3.10.0-123.4.4.el7.x86_64 -> 3.10.0-123.4.4.7.86_64 -> 3.10.0
checking for kernel headers... "/lib/modules/3.10.0-123.4.4.el7.x86_64/build"
checking extra version of kernel... -123.4.4.el7.x86_64
checking if running kernel was compiled for SMP... Yes
checking what type of build we will do... KBUILD.
checking for modules directory... "/lib/modules/3.10.0-123.4.4.el7.x86_64"
checking OpenSSL header version... 1000105f (OpenSSL 1.0.1e 11 Feb 2013)
checking OpenSSL library version... 1000105f (OpenSSL 1.0.1e-fips 11 Feb 2013)
checking whether OpenSSL's headers match the library... yes
checking whether your OpenSSL version is current enough... yes
configure: checking for tgetent...
configure: checking for libncurses...
checking if Distro specified... None
checking if New TTY Locking was specified... No - Defaulting to a value of "No"
checking if New TTY Buffering was specified... No - Defaulting to a value of "No"
checking if UDEV checking is overridden... No
checking if UDEV exists... No
configure: creating ./config.status
config.status: creating Makefile
config.status: creating driver/build/Makefile
config.status: creating daemon/Makefile
config.status: creating ditty/Makefile
config.status: creating config/Makefile
config.status: creating dparp/os/Makefile.Linux
config.status: creating dgipserv/Makefile.linux
config.status: creating dgelreset/Makefile.linux
config.status: creating init/dgrp_udev
config.status: creating init/Makefile
config.status: creating commoninc/config.h
config.status: commoninc/config.h is unchanged
config.status: executing default commands
[root@wp1 dgrp-1.9]# make
(cd driver/build; make all)
make[1]: Entering directory `/root/digi2/dgrp-1.9/driver/2.6.27'
make -C /lib/modules/3.10.0-123.4.4.el7.x86_64/build SUBDIRS=$PWD modules MYPWD=/root/digi2/dgrp-1.9/driver/2.6.27 MYMANDIR=/share/man
make[2]: Entering directory `/usr/src/kernels/3.10.0-123.4.4.el7.x86_64'
CC [M] /root/digi2/dgrp-1.9/driver/build/dgrp_common.o
/root/digi2/dgrp-1.9/driver/build/dgrp_common.c: In function ‘dgrp_in_egroup_p’:
/root/digi2/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 /root/digi2/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);
^

/root/digi2/dgrp-1.9/driver/build/dgrp_common.c:638:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[3]: *** [/root/digi2/dgrp-1.9/driver/build/dgrp_common.o] Error 1
make[2]: *** [_module_/root/digi2/dgrp-1.9/driver/build] Error 2
make[2]: Leaving directory `/usr/src/kernels/3.10.0-123.4.4.el7.x86_64'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/root/digi2/dgrp-1.9/driver/2.6.27'
make: *** [build] Error 2
[root@wp1 dgrp-1.9]# uname -r
3.10.0-123.4.4.el7.x86_64
[root@wp1 dgrp-1.9]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)
[root@wp1 dgrp-1.9]# ls -l ..
total 4304
-rw-r--r--. 1 root root 4402937 Apr 25 15:27 81000137_U.tgz
drwxr-xr-x. 13 root root 4096 Aug 26 15:04 dgrp-1.9
[root@wp1 dgrp-1.9]#
asked Aug 26, 2014 in Portserver TS by retrotech New to the Community (4 points)
edited Aug 26, 2014 by retrotech
The driver has been released to Digi's support site:

http://www.digi.com/support/productdetail?pid=2247&type=drivers

Please log in or register to answer this question.

1 Answer

0 votes
Hello,

Can you please contact Dig Tech. Support regarding this issue?

Email: tech.support@digi.com

or

Web Portal: http://mydigi.force.com/customers
answered Aug 27, 2014 by userid0 Veteran of the Digi Community (2,156 points)
...