When emerging ltmodem-2.6.8 under kernel 2.6.24 the compile fails after complaints of "SA_INTERUPT" and "SA_SHIRQ" being undeclared. This appears to be occuring while compiling the lt_init function of serial.o. Reproducible: Always Actual Results: /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/serial.c:717: warning: initialization from incompatible pointer type /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/serial.c: In function 'lt_init': /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/serial.c:829: error: 'SA_INTERRUPT' undeclared (first use in this function) /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/serial.c:829: error: (Each undeclared identifier is reported only once /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/serial.c:829: error: for each function it appears in.) /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/serial.c:829: error: 'SA_SHIRQ' undeclared (first use in this function) /var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/serial.c:830: warning: passing argument 2 of 'request_irq' from incompatible pointer type make[2]: *** [/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9/serial.o] Error 1 make[1]: *** [_module_/var/tmp/portage/net-dialup/ltmodem-2.6.9/work/ltmodem-2.6-alk-9] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24-tuxonice' make: *** [module] Error 2 * * ERROR: net-dialup/ltmodem-2.6.9 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1383: Called linux-mod_src_compile * linux-mod.eclass, line 519: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" \ * ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} \ * || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}." * The die message: * Unable to make KERNEL_DIR='/usr/src/linux' module. *
Fixed (hopefully) without revision bump.