Re: agrsm-20080203.tar.gz will not compile on Ubuntu 8.10.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave,

The ‘struct uart_info’ error has been encoiubtered i other code
packages. The fix is to make a change like

struct tty_struct *tty =p->port.info->port.tty;
from an original like:
struct tty_struct *tty =p->port.info->tty;

But I'm not under linux now and cannot check in detail.
Maybe this PM.  But you can search out the lines like above and test yourself.

MarvS

On Fri, Apr 17, 2009 at 4:25 PM, Dave and Marleen Rentoul
<rentoul@xxxxxxxxxxx> wrote:
> Hi, can any one that has installed the drivers for a:-
>
> NAME="Communication controller: Agere Systems V.92 56K WinModem "
> CLASS=0780
> PCIDEV=11c1:048c
> SUBSYS=11c1:044c
> IDENT=agrsm
>
> please tell me what I need to do to so that the "make" instruction
> compiles the code without error
>
> "/home/username/Desktop/agrsm/serial26.c:1007: error: ‘struct uart_info’
> has no member named ‘tty’"
>
> Thanks
>
> Dave
>
>
> Quote from terminal window follows:-
>
> username@Elmo:~/Desktop/agrsm$ make
> make -C /lib/modules/2.6.27-7-generic/build
> SUBDIRS=/home/username/Desktop/agrsm modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
>  CC [M]  /home/username/Desktop/agrsm/serial26.o
> /home/username/Desktop/agrsm/serial26.c: In function ‘receive_chars’:
> /home/username/Desktop/agrsm/serial26.c:1007: error: ‘struct uart_info’
> has no member named ‘tty’
> /home/username/Desktop/agrsm/serial26.c: In function
> ‘serial8250_get_mctrl’:
> /home/username/Desktop/agrsm/serial26.c:1371: warning: unused variable
> ‘flags’
> /home/username/Desktop/agrsm/serial26.c: In function
> ‘serial8250_config_port’:
> /home/username/Desktop/agrsm/serial26.c:2039: warning: unused variable
> ‘ret’
> /home/username/Desktop/agrsm/serial26.c: At top level:
> /home/username/Desktop/agrsm/serial26.c:2131: warning: initialization
> from incompatible pointer type
> /home/username/Desktop/agrsm/serial26.c:2132: warning: initialization
> from incompatible pointer type
> make[2]: *** [/home/username/Desktop/agrsm/serial26.o] Error 1
> make[1]: *** [_module_/home/username/Desktop/agrsm] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
> make: *** [modules] Error 2
>
>
>


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux