>>> Emerging (1 of 1) net-dialup/ltmodem-2.6.9-r1 to / * ltmodem-2.6-alk-9.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking ltmodem-2.6-alk-9.tar.bz2 ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.27-gentoo-r1/build * Found sources for kernel version: * 2.6.27-gentoo-r1 * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking ltmodem-2.6-alk-9.tar.bz2 to /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work * Applying ltmodem-2.6.9-kernel-2.6.24.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9 ... * Preparing ltmodem module make -C /usr/src/linux SUBDIRS=/var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9 modules make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo-r1' CC [M] /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/lt_modem.o CC [M] /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.o /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c: In function 'lt_virtual_rs_interrupt': /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c:365: error: 'struct uart_info' has no member named 'tty' /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c: In function 'lt_set_termios': /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c:489: warning: passing argument 2 of 'uart_get_baud_rate' from incompatible pointer type /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c:489: warning: passing argument 3 of 'uart_get_baud_rate' from incompatible pointer type /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c: In function 'lt_startup': /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c:571: error: 'struct uart_info' has no member named 'tty' /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c: At top level: /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c:717: warning: initialization from incompatible pointer type /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c: In function 'lt_init': /var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.c:834: warning: passing argument 2 of 'request_irq' from incompatible pointer type make[2]: *** [/var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9/serial.o] Error 1 make[1]: *** [_module_/var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/work/ltmodem-2.6-alk-9] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r1' make: *** [module] Error 2 * * ERROR: net-dialup/ltmodem-2.6.9-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3162: Called linux-mod_src_compile * environment, line 2407: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNEL_DIR='/usr/src/linux' module * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/ltmodem-2.6.9-r1/temp/environment'. * Reproducible: Always Steps to Reproduce: 1. emerge ltmodem
Patch for the solution is: --- ltmodem-2.6-alk-9.orig/serial.c 2007-09-06 03:56:25.000000000 +0200 +++ ltmodem-2.6-alk-9/serial.c 2008-10-29 00:17:22.000000000 +0100 @@ -362,7 +362,7 @@ receive_chars(<_port,&status,0); { - struct tty_struct *tty = lt_port.port.info->tty; + struct tty_struct *tty = lt_port.port.info->port.tty; spin_unlock_irqrestore(<_port.port.lock, flags); tty_flip_buffer_push(tty); spin_lock_irqsave(<_port.port.lock,flags); @@ -568,7 +568,7 @@ // force low latency mode on tty. // We will push data from buttom half, no need to delay it further. - port->info->tty->low_latency = 1; + port->info->port.tty->low_latency = 1; lt_modem_ops.PortOpen();
Created attachment 170174 [details, diff] Patch to build with 2.6.27 kernel
Fixed in cvs, without revbump. Thanks!