NEO 4 Port driver on FC5

Hi!

Has anyone successfully compiled the device driver for NEO 4 port on FC5 or any linux distro ? How is the performance ? Please advise.

Thanks!

Eric

Hi!

Here’s the error message when compiling the driver using the tarball (40002369_f.tgz) or rpm (40002369_f.src.rpm).

[root@np-digi-svr-001 dgnc-1.3]# make all
(cd driver; make all)
make[1]: Entering directory /root/dgnc-1.3/driver' make -C /lib/modules/2.6.15-1.2054_FC5smp/build SUBDIRS=$PWD modules MYPWD=/root/dgnc-1.3/driver make[2]: Entering directory /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686’
CC [M] /root/dgnc-1.3/driver/dgnc_tty.o
/root/dgnc-1.3/driver/dgnc_tty.c: In function âdgnc_inputâ:
/root/dgnc-1.3/driver/dgnc_tty.c:1129: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1190: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1191: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1194: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1195: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1239: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1240: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1241: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1242: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1243: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1244: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1246: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1249: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1249: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1249: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1249: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1252: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1253: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1254: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1263: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1264: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1265: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1266: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1267: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1268: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1270: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1273: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1273: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1273: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1273: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1314: error: âstruct tty_structâ has no member named âflipâ
/root/dgnc-1.3/driver/dgnc_tty.c:1314: error: âstruct tty_structâ has no member named âflipâ
make[3]: *** [/root/dgnc-1.3/driver/dgnc_tty.o] Error 1
make[2]: *** [module/root/dgnc-1.3/driver] Error 2
make[2]: Leaving directory /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686' make[1]: *** [build] Error 2 make[1]: Leaving directory /root/dgnc-1.3/driver’
make: *** [build] Error 2

Please try the driver from the following location:

ftp://ftp1.digi.com/support/beta/linux/dgnc/dgnc-1.3-17.src.rpm

Installation steps:

rpmbuild --rebuild --define DISTRO=FEDORA dgnc-1.3-17.src.rpm

rpm -i /usr/src/redhat/RPMS/(arch)/dgnc-1.3-17.(arch).rpm

Where (arch) represents your system architecture (i.e.: i386, x86_64, etc.).

Make certain the in-kernel jsm module is not loaded (and if so, remove from /lib/modules/uname -r/kernel/drivers/serial/jsm/jsm.ko):

lsmod | grep jsm

If results are returned, remove the module:

rmmod jsm

Note: if the jsm module grabbed ownership of the adatper a reboot of the server may be required in order to release the adapter for the dgnc driver.

Finally, after confirming the jsm module is not loaded, start the dgnc driver:

/etc/init.d/dgnc start

If you continue to experience errors, please capture and post them.

same output… :frowning: :frowning:

rpmbuild --rebuild --define DISTRO=FEDORA dgnc-1.3-17.src.rpm > /tmp/build.log 2>&1

cat /tmp/build.log

Installing dgnc-1.3-17.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.28389

  • umask 022
  • cd /usr/src/redhat/BUILD
  • LANG=C
  • export LANG
  • unset DISPLAY
  • cd /usr/src/redhat/BUILD
  • rm -rf dgnc-1.3
  • /bin/gzip -dc /usr/src/redhat/SOURCES/dgnc-1.3.tgz
  • tar -xvvf -
    drwxr-xr-x root/root 0 2009-03-25 10:23:02 dgnc-1.3/
    drwxr-xr-x root/root 0 2009-03-25 10:23:02 dgnc-1.3/ditty/
    -rw-r–r-- root/root 8239 2009-03-25 10:23:02 dgnc-1.3/ditty/ditty.1
    -rw-r–r-- root/root 28589 2009-03-25 10:23:02 dgnc-1.3/ditty/ditty.c
    -rw-r–r-- root/root 684 2009-03-25 10:23:02 dgnc-1.3/ditty/Makefile.in
    -rw-r–r-- root/root 1612 2009-03-25 10:23:01 dgnc-1.3/Makefile.inc
    drwxr-xr-x root/root 0 2009-03-25 10:23:02 dgnc-1.3/utest/
    -rw-r–r-- root/root 2407 2009-03-25 10:23:02 dgnc-1.3/utest/dgnctest_help.txt
    -rw-r–r-- root/root 27265 2009-03-25 10:23:02 dgnc-1.3/utest/utest.c
    -rw-r–r-- root/root 5914 2009-03-25 10:23:02 dgnc-1.3/utest/svfifo.c
    -rwxr-xr-x root/root 2079 2009-03-25 10:23:02 dgnc-1.3/utest/run2.sh
    -rwxr-xr-x root/root 2024 2009-03-25 10:23:02 dgnc-1.3/utest/imm.sh
    -rwxr-xr-x root/root 2134 2009-03-25 10:23:02 dgnc-1.3/utest/run.sh
    -rwxr-xr-x root/root 4510 2009-03-25 10:23:02 dgnc-1.3/utest/fcc.sh
    -rw-r–r-- root/root 475 2009-03-25 10:23:02 dgnc-1.3/utest/utest.h
    -rw-r–r-- root/root 14319 2009-03-25 10:23:02 dgnc-1.3/utest/blast.c
    -rw-r–r-- root/root 1921 2009-03-25 10:23:02 dgnc-1.3/utest/utest.1
    -rw-r–r-- root/root 7447 2009-03-25 10:23:02 dgnc-1.3/utest/disp.c
    -rw-r–r-- root/root 1503 2009-03-25 10:23:02 dgnc-1.3/utest/Makefile.in
    -rwxr-xr-x root/root 10849 2009-03-25 10:23:02 dgnc-1.3/utest/dgnctest.sh
    -rw-r–r-- root/root 8072 2009-03-25 10:23:02 dgnc-1.3/utest/tmodem.c
    -rw-r–r-- root/root 414 2009-03-25 10:23:02 dgnc-1.3/utest/getnum.c
    -rwxr-xr-x root/root 3063 2009-03-25 10:23:02 dgnc-1.3/utest/imm2.sh
    -rwxr-xr-x root/root 990 2009-03-25 10:23:02 dgnc-1.3/utest/doit.sh
    drwxr-xr-x root/root 0 2009-03-25 10:23:02 dgnc-1.3/config/
    -rw-r–r-- root/root 47 2009-03-25 10:23:02 dgnc-1.3/config/dialogrc
    -rw-r–r-- root/root 4817 2009-03-25 10:23:02 dgnc-1.3/config/dgnc.in
    -rw-r–r-- root/root 500 2009-03-25 10:23:02 dgnc-1.3/config/dgnc_updatedevs.in
    -rw-r----- root/root 246 2009-03-25 10:23:02 dgnc-1.3/config/10-dgnc.rules
    -rw-r–r-- root/root 1726 2009-03-25 10:23:02 dgnc-1.3/config/dgnc_udev.in
    -rw-r–r-- root/root 1520 2009-03-25 10:23:02 dgnc-1.3/config/Makefile.in
    -rw-r–r-- root/root 4921 2009-03-25 10:23:02 dgnc-1.3/config/dgnc_mknod.in
    –rw-r–r-- root/root 204959 2009-03-25 10:23:02 dgnc-1.3/config/dialog.tar.gz
    -rw-r–r-- root/root 9507 2009-03-25 10:23:02 dgnc-1.3/config/dgnc_view
    -rw-r–r-- root/root 10273 2009-03-25 10:23:01 dgnc-1.3/relnotes.txt
    -rwxr-xr-x root/root 180012 2009-03-25 10:23:01 dgnc-1.3/configure
    -rw-r–r-- root/root 17976 2009-03-25 10:23:01 dgnc-1.3/COPYING
    drwxr-xr-x root/root 0 2009-03-25 10:23:02 dgnc-1.3/dinc/
    -rw-r–r-- root/root 3477 2009-03-25 10:23:02 dgnc-1.3/dinc/Makefile
    -rw-r–r-- root/root 6633 2009-03-25 10:23:02 dgnc-1.3/dinc/dinc.1
    -rw-r–r-- root/root 2143 2009-03-25 10:23:02 dgnc-1.3/dinc/dinc.h
    -rw-r–r-- root/root 32254 2009-03-25 10:23:02 dgnc-1.3/dinc/dinc.c
    -rw-r–r-- root/root 9931 2009-03-25 10:23:02 dgnc-1.3/dinc/dinc_hw.c
    drwxr-xr-x root/root 0 2009-03-25 10:23:02 dgnc-1.3/dpa/
    -rw-r–r-- root/root 3135 2009-03-25 10:23:02 dgnc-1.3/dpa/dpacompat.h
    -rw-r–r-- root/root 4790 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_info4
    -rw-r–r-- root/root 594 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_info6
    -rw-r–r-- root/root 324 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_info3
    -rw-r–r-- root/root 2151 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_info1
    -rw-r–r-- root/root 1389 2009-03-25 10:23:02 dgnc-1.3/dpa/Makefile
    -rw-r–r-- root/root 10708 2009-03-25 10:23:02 dgnc-1.3/dpa/fep5.h
    -rw-r–r-- root/root 304346 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa.c
    -rw-r–r-- root/root 14362 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa.h
    -rw-r–r-- root/root 2693 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_info5
    -rw-r–r-- root/root 10733 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_fep.h
    -rw-r–r-- root/root 3898 2009-03-25 10:23:02 dgnc-1.3/dpa/attribs.c
    -rw-r–r-- root/root 7127 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_info7
    -rw-r–r-- root/root 3625 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_info9
    -rw-r–r-- root/root 1981 2009-03-25 10:23:02 dgnc-1.3/dpa/mid.h
    -rw-r–r-- root/root 617 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_info8
    -rw-r–r-- root/root 603 2009-03-25 10:23:02 dgnc-1.3/dpa/dpa_info2
    -rw-r–r-- root/root 2722 2009-03-25 10:23:02 dgnc-1.3/dpa/fepflags.h
    -rw-r–r-- root/root 3249 2009-03-25 10:23:01 dgnc-1.3/Makefile.in
    drwxr-xr-x root/root 0 2009-03-25 10:23:01 dgnc-1.3/include/
    -rwxr-xr-x root/root 16112 2009-03-25 10:23:01 dgnc-1.3/include/rascon.h
    -rw-r–r-- root/root 327 2009-03-25 10:23:01 dgnc-1.3/include/config.h.in
    -rw-r–r-- root/root 21586 2009-03-25 10:23:01 dgnc-1.3/configure.in
    drwxr-xr-x root/root 0 2009-03-25 10:23:02 dgnc-1.3/scripts/
    -rwxr-xr-x root/root 1491 2009-03-25 10:23:02 dgnc-1.3/scripts/preuninstall
    -rwxr-xr-x root/root 1759 2009-03-25 10:23:02 dgnc-1.3/scripts/postinstall
    drwxr-xr-x root/root 0 2009-03-25 10:23:01 dgnc-1.3/driver/
    drwxr-xr-x root/root 0 2009-03-25 10:23:01 dgnc-1.3/driver/2.4.1/
    -rw-r–r-- root/root 40432 2009-03-25 10:23:01 dgnc-1.3/driver/2.4.1/dgnc_proc.c
    -rw-r–r-- root/root 5043 2009-03-25 10:23:01 dgnc-1.3/driver/2.4.1/dgnc_trace.c
    -rw-r–r-- root/root 95987 2009-03-25 10:23:01 dgnc-1.3/driver/2.4.1/dgnc_tty.c
    -rw-r–r-- root/root 1679 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/Makefile26
    -rw-r–r-- root/root 51663 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/dgnc_neo.c
    -rw-r–r-- root/root 2604 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/Makefile24
    -rw-r–r-- root/root 7241 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/dgnc_mgmt.c
    -rw-r–r-- root/root 36894 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/dgnc_cls.c
    drwxr-xr-x root/root 0 2009-03-25 10:23:02 dgnc-1.3/driver/2.6.27/include/
    -rw-r–r-- root/root 1078 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/include/dgnc_types.h
    -rw-r–r-- root/root 15892 2009-03-25 10:23:02 dgnc-1.3/driver/2.6.27/include/digi.h
    -rw-r–r-- root/root 2237 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/include/dgnc_kcompat.h
    -rw-r–r-- root/root 1419 2009-03-25 10:23:02 dgnc-1.3/driver/2.6.27/include/dgnc_tty.h
    -rw-r–r-- root/root 6026 2009-03-25 10:23:02 dgnc-1.3/driver/2.6.27/include/dgnc_proc.h
    -rw-r–r-- root/root 1178 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/include/dgnc_mgmt.h
    -rw-r–r-- root/root 3496 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/include/dgnc_cls.h
    -rw-r–r-- root/root 3181 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/include/dgnc_pci.h
    -rw-r–r-- root/root 1339 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/include/dgnc_trace.h
    -rw-r–r-- root/root 19484 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/include/dgnc_driver.h
    -rw-r–r-- root/root 6332 2009-03-25 10:23:02 dgnc-1.3/driver/2.6.27/include/dgnc_neo.h
    -rw-r–r-- root/root 1527 2009-03-25 10:23:02 dgnc-1.3/driver/2.6.27/include/dgnc_sysfs.h
    -rw-r–r-- root/root 21178 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/dgnc_sysfs.c
    -rw-r–r-- root/root 24807 2009-03-25 10:23:01 dgnc-1.3/driver/2.6.27/dgnc_driver.c
  • STATUS=0
  • ‘[’ 0 -ne 0 ‘]’
  • cd dgnc-1.3
    ++ /usr/bin/id -u
  • ‘[’ 0 = 0 ‘]’
  • /bin/chown -Rhf root .
    ++ /usr/bin/id -u
  • ‘[’ 0 = 0 ‘]’
  • /bin/chgrp -Rhf root .
  • /bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • ‘[’ /var/tmp/dgnc-buildroot = / ‘]’
  • CFLAGS=‘-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables’
  • export CFLAGS
  • CXXFLAGS=‘-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables’
  • export CXXFLAGS
  • FFLAGS=‘-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables’
  • export FFLAGS
    ++ find . -name config.guess -o -name config.sub
  • ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info DISTRO=FEDORA
    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… /usr/bin/dialog
    checking for echo… /bin/echo
    checking for fuser… /sbin/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 modprobe… /sbin/modprobe
    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… /bin/sed
    checking for sh… /bin/sh
    checking for sleep… /bin/sleep
    checking for stty… /bin/stty
    checking for tar… /bin/tar
    checking for tr… /usr/bin/tr
    checking for touch… /bin/touch
    checking for true… /bin/true
    checking for udevd… /sbin/udevd
    checking for udevinfo… /usr/bin/udevinfo
    checking for uname… /bin/uname
    checking for platform type… i386
    checking for gcc… gcc
    checking for gcc version… >= 3.2 (4.1.0)
    checking for i686-redhat-linux-gnu-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 ANSI C… none needed
    checking for current kernel version… 2.6.15-1.2054_FC5smp -> 2.6.15-1.2054_5 -> 2.6.15
    checking for kernel headers… “/lib/modules/2.6.15-1.2054_FC5smp/build”
    checking extra version of kernel… -1.2054_FC5smp
    checking if running kernel was compiled for SMP… Yes
    checking what type of build we will do… KBUILD.
    checking for modules directory… “/lib/modules/2.6.15-1.2054_FC5smp”
    configure: checking for tgetent…
    configure: checking for libncurses…
    checking if Distro specified… FEDORA
    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… Yes
    checking if UDEV version in use is greater than 040… Yes, 084
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating driver/build/Makefile
    config.status: creating config/Makefile
    config.status: creating config/dgnc
    config.status: creating config/dgnc_udev
    config.status: creating config/dgnc_mknod
    config.status: creating config/dgnc_updatedevs
    config.status: creating utest/Makefile
    config.status: creating ditty/Makefile
    config.status: creating include/config.h
    config.status: executing default commands
  • exit 0
    Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.25282
  • umask 022
  • cd /usr/src/redhat/BUILD
  • cd dgnc-1.3
  • LANG=C
  • export LANG
  • unset DISPLAY
  • make all
    (cd driver/build; make all)
    make[1]: Entering directory /usr/src/redhat/BUILD/dgnc-1.3/driver/2.4.1' make -C /lib/modules/2.6.15-1.2054_FC5smp/build SUBDIRS=$PWD modules MYPWD=/usr/src/redhat/BUILD/dgnc-1.3/driver/2.4.1 make[2]: Entering directory /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686’
    CC [M] /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_cls.o
    CC [M] /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_driver.o
    CC [M] /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_mgmt.o
    CC [M] /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_neo.o
    CC [M] /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_proc.o
    CC [M] /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_trace.o
    CC [M] /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.o
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c: In function ‘dgnc_input’:
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1129: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1190: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1191: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1194: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1195: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1239: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1240: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1241: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1242: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1243: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1244: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1246: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1249: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1249: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1249: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1249: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1252: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1253: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1254: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1263: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1264: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1265: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1266: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1267: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1268: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1270: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1273: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1273: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1273: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1273: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1314: error: ‘struct tty_struct’ has no member named ‘flip’
    /usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.c:1314: error: ‘struct tty_struct’ has no member named ‘flip’
    make[3]: *** [/usr/src/redhat/BUILD/dgnc-1.3/driver/build/dgnc_tty.o] Error 1
    make[2]: *** [module/usr/src/redhat/BUILD/dgnc-1.3/driver/build] Error 2
    make[2]: Leaving directory /usr/src/kernels/2.6.15-1.2054_FC5-smp-i686' make[1]: *** [build] Error 2 make[1]: Leaving directory /usr/src/redhat/BUILD/dgnc-1.3/driver/2.4.1’
    make: *** [build] Error 2
    error: Bad exit status from /var/tmp/rpm-tmp.25282 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.25282 (%build)

Hi

I ran rpmbuild(below) with “NEW_TTY_BUFFERING=Yes” parameter and seems to fix the error in compilation. But I was wondering what is the effect of this “NEW_TTY_BUFFERING” parameter. Please advise.

$rpmbuild --rebuild --define DISTRO=FEDORA --define NEW_TTY_BUFFERING=Yes dgnc-1.3-17.src.rpm

I found this parameter on http://www.digi.com/support/forum/viewthread_thread,4488#13979.

Thanks!

Eric

Even though Fedora Core 5 reports a 2.6.15 kernel, they (Red Hat) have backported a major tty change from 2.6.16 to their 2.6.15 kernel.

This option applies specifically to this kernel version for all of our Linux drivers.