Hi guys, well i'm trying my best to understand what you are doing. I'm going to put what i had done before i asked you guys for help to try to solve the problem with what i read googling, i didn't mention it at first because i thought it would not be important, but i can now see that its similar to what i had done gooling. I read in a forum that for the "asm/match--default" problem to change lines 426 and 442 in the ./configure file as follows: 426--- if [ ! -d ${kernel_inc}/asm/mach-default ] 426--- if [ ! -d ${kernel_inc}/asm ] <---new 442--- extra_includes=-I${kernel_inc2}/asm/mach-default 442--- extra_includes=-I${kernel_inc2}/asm <---new then when i do: carlos@carlos-desktop:~/Desktop/pctel-0.9.7-9-rht-10$ sudo ./setup [sudo] password for carlos: checking for running kernel version...2.6.32 checking for ptserial...ptserial-2.6.c checking for gcc...4.4.3 checking for kernel gcc version...4.4.3 searching for kernel includes...found at /lib/modules/2.6.32-21-generic/build/include checking for autoconf.h.../lib/modules/2.6.32-21-generic/build/include/linux/autoconf.h checking for asm/mach-default...yes checking for kernel version in utsrelease.h...UTS_RELEASE is 2.6.32-21-generic checking type of tty_struct.count...int checking for presence of udev...present (kernel version 2.6.13 or later) detecting your modem...found. Your modem is a pct789 type modem. ** compilation error please read the FAQ about reporting compilation problems and report this problem. A transcript of the build process has been saved in src/make.log. When reporting problems to the development team, please send us this file. carlos@carlos-desktop:~/Desktop/pctel-0.9.7-9-rht-10$ and this is the make.log file: CC vuart.o LD binary.a make -C /lib/modules/2.6.32-21-generic/build M=/home/carlos/Desktop/pctel-0.9.7-9-rht-10/src make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic' LD /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/built-in.o CC [M] /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.o /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c: In function ‘receive_chars’: /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c:419: error: ‘struct uart_port’ has no member named ‘info’ /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c: In function ‘transmit_chars’: /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c:512: error: ‘struct uart_port’ has no member named ‘info’ /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c: In function ‘check_modem_status’: /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c:564: error: ‘struct uart_port’ has no member named ‘info’ /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c: In function ‘linmodem_register_port’: /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c:1226: error: incompatible types when assigning to type ‘struct tty_port’ from type ‘void *’ make[2]: *** [/home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.o] Error 1 make[1]: *** [_module_/home/carlos/Desktop/pctel-0.9.7-9-rht-10/src] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic' make: *** [all] Error 2 then for this error i read to change from "info" to "state" in the indicated lines in the linmodem-2.6.c file, then when i do: carlos@carlos-desktop:~/Desktop/pctel-0.9.7-9-rht-10$ sudo ./setup [sudo] password for carlos: checking for running kernel version...2.6.32 checking for ptserial...ptserial-2.6.c checking for gcc...4.4.3 checking for kernel gcc version...4.4.3 searching for kernel includes...found at /lib/modules/2.6.32-21-generic/build/include checking for autoconf.h.../lib/modules/2.6.32-21-generic/build/include/linux/autoconf.h checking for asm/mach-default...yes checking for kernel version in utsrelease.h...UTS_RELEASE is 2.6.32-21-generic checking type of tty_struct.count...int checking for presence of udev...present (kernel version 2.6.13 or later) detecting your modem...found. Your modem is a pct789 type modem. ** compilation error please read the FAQ about reporting compilation problems and report this problem. A transcript of the build process has been saved in src/make.log. When reporting problems to the development team, please send us this file. carlos@carlos-desktop:~/Desktop/pctel-0.9.7-9-rht-10$ and this is the make.log file: CC vuart.o LD binary.a make -C /lib/modules/2.6.32-21-generic/build M=/home/carlos/Desktop/pctel-0.9.7-9-rht-10/src make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic' LD /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/built-in.o CC [M] /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.o /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c: In function ‘check_modem_status’: /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c:564: error: ‘struct uart_state’ has no member named ‘delta_msr_wait’ /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c: In function ‘linmodem_register_port’: /home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.c:1226: error: incompatible types when assigning to type ‘struct tty_port’ from type ‘void *’ make[2]: *** [/home/carlos/Desktop/pctel-0.9.7-9-rht-10/src/linmodem-2.6.o] Error 1 make[1]: *** [_module_/home/carlos/Desktop/pctel-0.9.7-9-rht-10/src] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic' make: *** [all] Error 2 as I said I really don't know about programing, i just changed the lines in the files to see if the driver could install, with what I read that could solve the problem. Maybe with output of the make.log files can be of some help. On 6/5/10, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote: > The residual compile problem is at least in part due to > port.info becoming obsolete. Below is a fix that was done for the > ltmodem code. In the pctel src/linmodems.2.6.c , I tried > substitutions of port.state for port.info, but the compile still > failed. So something a bit more sophisticated is needed. > > MarvS > > > ---------- Forwarded message ---------- > From: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> > Date: Mon, Jan 4, 2010 at 5:03 PM > Subject: [PATCH 8/9] v8250: uart_info is gone > To: Discuss@xxxxxxxxxxxxx > > > See upstream kernel.org commit ebd2c8f6d2ec4012c267ecb95e72a57b8355a705 > where things are relocated into uart_state > > Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> > --- > v8250.c | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/v8250.c b/v8250.c > index b422ad1..18849a6 100644 > --- a/v8250.c > +++ b/v8250.c > @@ -178,7 +178,7 @@ static void serial8250_enable_ms(struct uart_port *port) > static void > receive_chars(struct vuart_8250_port *up, unsigned int *status) > { > - struct tty_struct *tty = up->port.info->port.tty; > + struct tty_struct *tty = up->port.state->port.tty; > unsigned char ch, lsr = *status; > int max_count = 256; > char flag; > @@ -240,7 +240,7 @@ receive_chars(struct vuart_8250_port *up, unsigned > int *status) > > static void transmit_chars(struct vuart_8250_port *up) > { > - struct circ_buf *xmit = &up->port.info->xmit; > + struct circ_buf *xmit = &up->port.state->xmit; > int count; > > if (up->port.x_char) { > @@ -281,7 +281,7 @@ static unsigned int check_modem_status(struct > vuart_8250_port *up) > unsigned int status = serial_in(up, UART_MSR); > > if (status & UART_MSR_ANY_DELTA && up->ier & UART_IER_MSI && > - up->port.info != NULL) { > + up->port.state != NULL) { > if (status & UART_MSR_TERI) > up->port.icount.rng++; > if (status & UART_MSR_DDSR) > @@ -291,7 +291,7 @@ static unsigned int check_modem_status(struct > vuart_8250_port *up) > if (status & UART_MSR_DCTS) > uart_handle_cts_change(&up->port, status & > UART_MSR_CTS); > > - wake_up_interruptible(&up->port.info->delta_msr_wait); > + wake_up_interruptible(&up->port.state->delta_msr_wait); > } > > return status; > -- > 1.6.5.2 >