Bug#463869: rt2500-source: Will not build against kernel 2.6.24-1

Ben Hutchings ben at decadent.org.uk
Sun Feb 3 21:53:55 UTC 2008


On Sun, 2008-02-03 at 14:29 -0700, RickH wrote:
> Package: rt2500-source
> Version: 1:1.1.0-b4+cvs20070924-2
> Severity: normal
> 
> This is the error output:
> touch config.mk \
> 		&& /usr/bin/make clean
> make[1]: Entering directory `/usr/src/modules/rt2500'
> make[1]: Leaving directory `/usr/src/modules/rt2500'
> dh_clean
> /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
> make[1]: Entering directory `/usr/src/modules/rt2500'
> touch config.mk \
> 		&& /usr/bin/make clean
> make[2]: Entering directory `/usr/src/modules/rt2500'
> make[2]: Leaving directory `/usr/src/modules/rt2500'
> dh_clean
> for templ in ; do \
>     cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.24-1-686/g'` ; \
>   done
> for templ in `ls debian/*.modules.in` ; do \
>     test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} 
> ${templ%.modules.in}.backup 2>/dev/null || true; \
>     sed -e 's/##KVERS##/2.6.24-1-686/g ;s/#KVERS#/2.6.24-1-686/g ; 
> s/_KVERS_/2.6.24-1-686/g ; s/##KDREV##/2.6.24-2/g ; s/#KDREV#/2.6.24-2/g 
> ; s/_KDREV_/2.6.24-2/g  ' < $templ > ${templ%.modules.in}; \
>   done
> # Install module
> dh_installdirs lib/modules/2.6.24-1-686/kernel/drivers/net/wireless
> # Build modules
> /usr/bin/make KERNDIR=/lib/modules/2.6.24-1-686/build PATCHLEVEL=6
> make[2]: Entering directory `/usr/src/modules/rt2500'
> make[3]: Entering directory `/usr/src/linux-headers-2.6.24-1-686'
>   CC [M]  /usr/src/modules/rt2500/rtmp_main.o
> /usr/src/modules/rt2500/rtmp_main.c: In function 'RT2500_probe':
> /usr/src/modules/rt2500/rtmp_main.c:254: error: implicit declaration of 
> function 'SET_MODULE_OWNER'

You can just delete this line from the source and re-run the build, as
it never had any effect in 2.6 kernels.  However, you may be better off
using the rt2500pci driver which is included in Linux 2.6.24 instead of
rt2500.

Ben.

-- 
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
                                                           - Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-ralink-maintainers/attachments/20080203/d05403b5/attachment-0001.pgp 


More information about the Pkg-ralink-maintainers mailing list