2009-07-30 15:40:13

by Hin-Tak Leung

[permalink] [raw]
Subject: Re: The problem of driver of rtl8187 wireless card

2009/7/30 gu gu <[email protected]>:
> Hi!
> Thank you for your reply.
> Because I have an ARM board which run linux -v2.6.25.10,so I have to use "compat-wireless-2.6-old.tar.bz2" packet to generate the "rtl8187.ko" .But the real problem is that I can't make it to get "rtl8187.ko"(modules).And you say need other modules, So which modules I needed?And how can I do?
> The directory "compat-wireless-2.6-old/drivers/net/wireless" has no
> driver of rtl8187,So I send the compiled packet for you in Accessory.I think something wrong in it ,I just set the values of KLIB & KLIB_BUILD in Makefile.How do that?
>
> Could you tell me how to resolve it ,thank you!Looking forward
> from you .

Hmm, you only have 18 modules, not the 50+ it should be. You also
make a mistake with your editing of the Makefile. (I think it is
common ettique to check for problems from self-inflicted issues like
that). I think compat-wireless won't build any modules your tree have
them built-in (because if you can't unload the old one, there is no
point building new), so you *must* set your KBUILD/KLIB correctly, if
you choose to edit the makefile by hand. if you read the Makefile (as
you should, since you edited it), it mostly just do
$(MAKE) -C $(KLIB_BUILD) M=$(PWD) modules
recursively down the directory. You could do "make -C <someplace>
M=<here> rtl8187.ko" inside drivers/net/wireless/ and see if a
rtl8187.ko .
but first, correct your editing of the Makefile.