HOWTO build a kernel module

Paul Howarth paul at city-fan.org
Tue Feb 22 10:36:23 UTC 2005


BZ Benny wrote:
> Hi Paul,
> tkank you, you are very helpful.
> 
> I did like you describe here for building hci_usb.ko
> in
> /lib/modules/2.6.10-1.766_FC3/kernel/drivers/bluetooth
> 
> But i noticed that the one used before has a size of
> 19.4KB and the one I build by myself has 133.9KB size.
> why is it so biger than the original one?

The one supplied in the kernel RPM has the debugging symbols stripped 
out. You can do this using:

$ strip -g hci_usb.ko

Paul.





More information about the users mailing list