Fwd: Reid, USA, kernel 2.6.27-7-generic

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

 



I keep forgetting to change the address. Can't the list software add a
Reply-To: header?


---------- Forwarded message ----------
From: Joshua Gordon Crawford <jgcrawford@xxxxxxxxx>
Date: 2009/2/17
Subject: Re: Reid, USA, kernel 2.6.27-7-generic
To: jayjwa <jayjwa@xxxxxxxxxxx>


2009/2/17 jayjwa <jayjwa@xxxxxxxxxxx>:
> On Mon, 16 Feb 2009, Reid  Sheeley wrote:
>
>> I beleive I have decompressed my driver, tar ....
>> I  get pctel-0.9.7-9-rht-9/ blah blah to
>> pctel-0.9.7-9-rht-9/src/linmodem-2.6.h
>>
>> me@me-desktop:~/Desktop$ cd pctel-0.9.7-9-rht-9, then
>> me@me-desktop:~/Desktop/ pctel-0.9.7-9-rht-9$ cd src,
>>
>> then me@me- desktop:~/ Desktop/ pctel-0.9.7-9-rht-9/src$ cd
>> ./configure -auto
>> checking......for gcc, etc. detecting modem...found pct789
>>
>> up til now ok but,
>> me@me-desktop:~/ Desktop/pctel-0.9.7-9-rht-9/src$ make (is this next
>> command)
>>
>> response: CC   vuart.o
>>               LD   binary.a
>> make -C /lib/modules...  M=/home/me/Desktop.../src
>> make[1]:Entering directory `/usr/src/linux-headers-2.6.27
>> LD /home/me/Desktop/pctel-0.9.7-9-rht-9/src/built-in.o
>> CC [M] /home/me/Desktop/pctel-0.9.7-9-rht-9/src/ linmodem-2.6.o
>> /home/...linmodem-2.6.c: In function 'received_chars':
>> /home/...linmodem-2.6.c:416: error: 'struct uart_info' has no member named
>> 'tty'
>> make[2]:***[/home/me/Desktop/pctel-0.9.7-9-rht-9/
>> src/linmodem-2.6.o] Error 1
>> make[1]:***[_module_/home/me/Desktop/pctel-0.9.7-9-rht-9/src] Error 2
>> make[1]: Leaving directory`/usr/src/linux-headers-2.6.27
>> make:***[all] Error 2
>> instructions I have found I beleive are telling me that 'make' command (as
>> above) then 'make install'  and that finishes the install. right, wrong, I
>> don't know. thnx for the help and responses so far Reid
>
> That will usually do it, if the compilation is successful, which in this
> case here, it doesn't appear to be. The error message:
>
> linmodem-2.6.c:416: error: 'struct uart_info' has no member named 'tty'
>
> and the fact you seem be dealing with a 2.6.27 kernel might mean this driver
> code wasn't updated for the changes made in recent kernels and as such,
> won't work without modification.

struct uart_info has changed in kernel 2.6.27.*.

Reid, in linmodem-2.6.c, at line 416, you'll find "whatever->tty".
Change that to "whatever->port.tty", and compilation will continue.
--
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