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; or struct tty_struct *tty =p->port.info->port.tty; (original) struct tty_struct *tty =p->port.info->tty; retyped line 416 to: struct tty_struct *port.tty = p->port.info->tty; rec'd. errors as follow: /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:expected '=', ',', ';', 'asm' or '__attribute__' before'.' token /home/me/ Desktop/ pctel-0.9.7-9rht-9/src/linmodem-2.6.c:416:error:expected expression before '.' Token /home/me/ Desktop/ pctel-0.9.7-9rht-9/src/linmodem-2.6.c:416:error: 'struct uart_info' has no member named 'tty' /home/me/ Desktop/ pctel-0.9.7-9rht-9/src/linmodem-2.6.c:416: warning: ISO C90 forbids mixed declarations and code /home/me/ Desktop/ pctel-0.9.7-9rht-9/src/linmodem-2.6.c:502: error: 'tty' undeclared (first use in function) /home/me/ Desktop/ pctel-0.9.7-9rht-9/src/linmodem-2.6.c:502: error: (Each undeclared identifier is reported only once /home/me/ Desktop/ pctel-0.9.7-9rht-9/src/linmodem-2.6.c:502: error: for each function it appears in.) retyped line 416 to: struct tty_struct *tty = p->port.info->port.tty rec'd. errors as follow: CC vuart.o LD binary.a make -C /lib/ .blah... (as above) make[1]: Entering dir..'/usr..2.6.27..as above LD /home/me/Desktop/pctel-9.7.9-rht-9/src/build-in.o (as above) CC[M] /home/me/Desktop/pctel-9.7.9-rht-9/src/linmodem-2.6.o (as above) (this is new) CC[M] /home/me/Desktop/pctel-9.7.9-rht-9/src/ptserial -2.6.o /home/me/Desktop/pctel-9.7.9-rht-9/src/ptserial-2.6.c: In function 'pctel_interrupt': /home/me/Desktop/pctel-9.7.9-rht-9/src/ptserial-2.6.c: 135: error: storage size of 'i387' isn't known /home/me/Desktop/pctel-9.7.9-rht-9/src/ptserial-2.6.c: 135: warning: unused variable 'i387' /home/me/Desktop/pctel-9.7.9-rht-9/src/ptserial-2.6.c: 155: error: invalid ivalue in asm output 0 /home/me/Desktop/pctel-9.7.9-rht-9/src/ptserial-2.6.c: 187: error: memory output 0 is not directly addressable /home/me/Desktop/pctel-9.7.9-rht-9/src/ptserial-2.6.c:At top level /home/me/Desktop/pctel-9.7.9-rht-9/src/ptserial-2.6.c: 511: fatal error: opening dependency file /home/me/Desktop/pctel-9.7.9-rht-9/src/ptserial-2.6.o.d: Permission denied