Re: driver install error, reid 2.6.27 ubuntu

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

 



2009/2/18 Reid  Sheeley <edrms@xxxxxxxxxxxxx>:
> Did edit on linmodem-2.6.c, came back with:
> Driver pctel-0.9.7-9rht-9
>
> make or ./setup
>
> Me @ me-desktop:~/Desktop/ pctel-0.9.7-9rht-9$ sudo ./setup
>
> Checking running kernel 2.6.27.. to detecting modem. found  pct789 type
>
> **compilation error
>
> (original make.log contained.
>
> /home/me/ Desktop/ pctel-0.9.7-9rht-9/src/linmodem-2.6.c: In function
> 'receive_chars':
>
> /home/me/ Desktop/ pctel-0.9.7-9rht-9/src/linmodem-2.6.c:416:error: 'struct
> uart_info' has no member named 'tty' (advised to change line 416 from
> 'whatever->tty' to 'whatever->port.tty'.)
>
> which is correct syntax? struct tty_struct *port.tty =
>
> p->port.info->tty;

This is wrong.

> or struct tty_struct *tty =p->port.info->port.tty;
>
> (original) struct tty_struct *tty =p->port.info->tty;

This is the necessary change.
-- 
Joshua Crawford ... http://geocities.com/mortarn

http://www.rewardscentral.com.au/Join/Default.aspx?refer=mortarn
Be rewarded! Join RewardsCentral today!

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

  Powered by Linux