Installation Problems Digi 8r on Linux 2.4.26-1

I’ve downloaded the package (40002347_b.tgz) from digi.com.

After untaring I’m starting with:

  1. cd /usr/src/linux-2.4.26-1
  2. make mrproper
  3. make oldconfig
  4. make dep

./configure

but “make all” stops

Here the logfile:

./configure

checking for awk… /bin/awk
checking for arch… /bin/arch
checking for cat… /bin/cat
checking for chkconfig… /sbin/chkconfig
checking for chmod… /bin/chmod
checking for chown… /bin/chown
checking for cp… /bin/cp
checking for depmod… /sbin/depmod
checking for dialog… None
checking for echo… /bin/echo
checking for fuser… /bin/fuser
checking for grep… /bin/grep
checking for init… /sbin/init
checking for insmod… /sbin/insmod
checking for kill… /bin/kill
checking for ln… /bin/ln
checking for ls… /bin/ls
checking for lsmod… /sbin/lsmod
checking for make… /usr/bin/make
checking for mkdir… /bin/mkdir
checking for mknod… /bin/mknod
checking for more… /bin/more
checking for mv… /bin/mv
checking for printf… /usr/bin/printf
checking for ps… /bin/ps
checking for rm… /bin/rm
checking for rmdir… /bin/rmdir
checking for rmmod… /sbin/rmmod
checking for sed… /usr/bin/sed
checking for sh… /bin/sh
checking for sleep… /bin/sleep
checking for stty… /bin/stty
checking for tr… /usr/bin/tr
checking for tar… /bin/tar
checking for touch… /bin/touch
checking for true… /bin/true
checking for uname… /bin/uname
checking for platform type… i386
checking for gcc… gcc
checking for gcc version… < 3.2 (2.95.3)
checking for gcc… gcc
checking for C compiler default output… 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 ANSI C… none needed
checking for current kernel version… 2.4.26-1 -> 2.4.26-1 -> 2.4.26
checking for kernel headers… “/lib/modules/2.4.26-1/build”
checking extra version of kernel… -1
checking if running kernel was compiled for SMP… No
checking what type of build we will do… non-KBUILD.
checking for modules directory… “/lib/modules/2.4.26-1”
configure: checking for tgetent…
configure: checking for libncurses…
checking if Distro specified… None
configure: creating ./config.status
config.status: creating Makefile
config.status: creating driver/Makefile
config.status: creating config/Makefile
config.status: creating config/dgap
config.status: creating config/dgap_mknod
config.status: creating config/dgap_updatedevs
config.status: creating utest/Makefile
config.status: creating dpa/dgaplinux.mk
config.status: creating ditty/Makefile
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing default commands

make all

(cd driver; make all)
make[1]: Entering directory /usr/src/dgap-1.2/driver' gcc -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -O2 -D__KERNEL__ -DMODULE -DLINUX -DDG_NAME=\"dgap-"1.2-1"\" -DDG_PART=\"40002347_B\" -I/lib/modules/2.4.26-1/build/include -I./include -I../include -Wall -Wstrict-prototypes -pipe -fno-strength-reduce -DSBINDIR=\"/usr/sbin\" -DDGAP_TRACER -DMODVERSIONS -include /lib/modules/2.4.26-1/build/include/linux/modversions.h -DNO_DISTRO -c dgap_driver.c -o dgap_driver.o make[1]: Leaving directory /usr/src/dgap-1.2/driver’
dgap_driver.c:276: macro dgap_tty_class_init' used without args dgap_driver.c:431: macro dgap_tty_class_destroy’ used without args
make[1]: *** [dgap_driver.o] Error 1
make: *** [build] Error 2

Have you any idea about the problem?

Nice Greetings from Cologne
Stephan

What Linux distribution are you using? You may need to specify it as a “configure” flag.

I’m using a precompiled modular Linux Distri named “eisfair”.
see www.eisfair.net

To test the config-flag i named the Distri “Redhat”
(./configure DISTRO=REDHAT_AS_3)

The Same error occures.

eisfair # make all
(cd driver; make all)
make[1]: Entering directory /usr/src/dgap-1.2/driver' gcc -O2 -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -O2 -D__KERNEL__ -DMODULE -DLINUX -DDG_NAME=\"dap-"1.2-1"\" -DDG_PART=\"40002347_B\" -I/lib/modules/2.4.26-1/build/include -I./include -I../include -Wall -Wstrict-prototyps -pipe -fno-strength-reduce -DSBINDIR=\"/usr/sbin\" -DDGAP_TRACER -DMODVERSIONS -include /lib/modules/2.4.26-1/build/includ/linux/modversions.h -DREDHAT_AS_3 -c dgap_driver.c -o dgap_driver.o dgap_driver.c:276: macro dgap_tty_class_init’ used without args
dgap_driver.c:431: macro dgap_tty_class_destroy' used without args make[1]: *** [dgap_driver.o] Error 1 make[1]: Leaving directory /usr/src/dgap-1.2/driver’
make: *** [build] Error 2

I recommend contacting Digi Tech. Support and request the pre-release driver to see if it installs cleanly.

http://www.digi.com/support/eservice/eservicelogin.jsp