make[1]: Entering directory `/var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers' obj-m=slamr.o slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o make modules -C /lib/modules/2.6.32.4/build M=/var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers make[2]: Entering directory `/usr/src/linux-2.6.32.4' CC [M] /var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers/amrmo_init.o /var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers/amrmo_init.c: In function ‘amrmo_update_status’: /var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers/amrmo_init.c:381: error: ‘TASK_NORMAL’ undeclared (first use in this function) /var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers/amrmo_init.c:381: error: (Each undeclared identifier is reported only once /var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers/amrmo_init.c:381: error: for each function it appears in.) make[3]: *** [/var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers/amrmo_init.o] Error 1 make[2]: *** [_module_/var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.32.4' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-dialup/slmodem-2.9.11_pre20090222-r1/work/slmodem-2.9.11-20090222/drivers' make: *** [all] Error 2 * ERROR: net-dialup/slmodem-2.9.11_pre20090222-r1 failed: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERNEL_DIR=/lib/modules/2.6.32.4/build all * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3565: Called linux-mod_src_compile * environment, line 2721: 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}";
Created attachment 217595 [details] build.log
There is no issue against 2.6.31.12, 2.6.30.10, 2.6.27.44. Problem starts with initial 2.6.32.
Slmodem fails to build with 2.6.34, too. There are updated versions of slmodem in http://linmodems.technion.ac.il/packages/smartlink/ ; I haven't tested the yet, maybe the slmodem maintainer cares to update the package...
Created attachment 244621 [details] New ebuild for 20100718 release. Got it to compile with 2.6.35-gentoo-r2 kernel. slmodem dated 20100718, ungrab-winmodem dated 20090716. Removed the check for CONFIG_PCI_LEGACY due to removal of the flag in recent kernels.
Yes, I can confirm it works with 2.6.34-r1, too
slmodem-2.9.11_pre20100718.ebuild compiles also against 2.6.31.14. Thanks.
Could anybody please add this to Portage?
Okay, even slmodem-2.9.11_pre20100718 does not compile any more with kernel 2.6.36-r5...
Created attachment 259296 [details, diff] fix for compilation in 2.6.36+ kernels This patch fixes compilation of slamr module with 2.6.36 and 2.6.37 kernels.
Created attachment 259297 [details] New ebuild that applies 2.6.36 kernel patch when needed
Thanks Lech, works again! Now, can we get this update to portage ASAP... please, Gentoo devs???
Maintainer timeout. Masked for removal in 30 days.
(In reply to comment #12) > Maintainer timeout. Masked for removal in 30 days. Please keep the package for those of us who occasionally have an archaic access to the internet. What is the point in removing a working package. Many of use use "old" kernels before 2.6.32 and personally I will not switch to some newer with my old, stable hardware. Let the bug opened so people can find the patches and apply them if they run affected kernel version. For many of us running older kernel we do not sometimes even need them but when recompiling kernel we need the sources/the package available in the tree. This only causes nuisance so people have to move current ebuild into their own overlay, and complain about Gentoo. It just does not help anybody, really.
no more slmodem in portage, closing