On Wed, 16 Feb 2005, Josh Welch wrote:

> Quoting Adam Maloney <adam at whee.org>:
>
>> Could you post the output of the build failing?  Someone here may be able
>> to figure it out.
>> 
>> IIRC, someone I know used to write unix drivers for Digi boards.  Dieman,
>> I know he did SCO, do you think he'd know anything about the Linux 
>> driver?
>> 
>
> ./configure runs without any issues. Below I've posted the output of make. 
> It's
> obvious from the error that there is an issue in the file dgdm_tty.c, and 
> I've
> tried to look at it, but I might as well be reading a newspaper in Athens. I 
> no
> make code go work.
>
> FWIW I've fired off a note to Digi as well. I'm not sure if they are still
> actively developing for this product or not.
>
> host38:~/digi/dgdm-1.1# make all
> (cd driver; make all)
> make[1]: Entering directory `/root/digi/dgdm-1.1/driver'
> make -C /lib/modules/2.6.8-2-686-smp/build SUBDIRS=$PWD modules
> make[2]: Entering directory `/usr/src/kernel-headers-2.6.8-2-686-smp'
> CC [M]  /root/digi/dgdm-1.1/driver/dgdm_driver.o
> CC [M]  /root/digi/dgdm-1.1/driver/dgdm_fileio.o
> CC [M]  /root/digi/dgdm-1.1/driver/dgdm_mgmt.o
> CC [M]  /root/digi/dgdm-1.1/driver/dgdm_trace.o
> CC [M]  /root/digi/dgdm-1.1/driver/dgdm_audiotap.o
> CC [M]  /root/digi/dgdm-1.1/driver/dgdm_eqm.o
> CC [M]  /root/digi/dgdm-1.1/driver/dgdm_isdn.o
> CC [M]  /root/digi/dgdm-1.1/driver/dgdm_proc.o
> CC [M]  /root/digi/dgdm-1.1/driver/dgdm_tty.o
> /root/digi/dgdm-1.1/driver/dgdm_tty.c: In function `dgdm_tty_open':
> /root/digi/dgdm-1.1/driver/dgdm_tty.c:1527: error: structure has no member 
> named
> `session'
> /root/digi/dgdm-1.1/driver/dgdm_tty.c: In function `block_til_ready':
> /root/digi/dgdm-1.1/driver/dgdm_tty.c:1603: error: structure has no member 
> named
> `session'
> make[3]: *** [/root/digi/dgdm-1.1/driver/dgdm_tty.o] Error 1
> make[2]: *** [_module_/root/digi/dgdm-1.1/driver] Error 2
> make[2]: Leaving directory `/usr/src/kernel-headers-2.6.8-2-686-smp'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/root/digi/dgdm-1.1/driver'
> make: *** [all] Error 2

I used to be a driver maintainer. This is a fairly common problem that you
see when there is a change to the kernel interface.

I'd need to look at the sources, but I'd bet that both of those errors are off
a structure of the same type, and it is just a "small matter of code" to fix
it so it isn't dependent on the "session" element, or uses whatever that element
changed to.

-- 
Daniel Taylor
random at argle.org
Forget diamonds, Copyright is forever.