Hi
Kind of as a plan B to my post about trying to set up a cross-compilation toolchain on my desktop PC, I thought I'd try setting up the capability to compile drivers right on the 'plug itself.
apt-get install kernel-package linux-headers build-essential ctags libv4l
No joy - there are lots of choices for linux-headers:
Package linux-headers is a virtual package provided by:
linux-headers-2.6.28-16-versatile 2.6.28-16.55
linux-headers-2.6.28-16-ixp4xx 2.6.28-16.55
linux-headers-2.6.28-16-iop32x 2.6.28-16.55
linux-headers-2.6.28-16-imx51 2.6.28-16.55
linux-headers-2.6.28-16 2.6.28-16.55
linux-headers-2.6.28-15-versatile 2.6.28-15.52
linux-headers-2.6.28-15-ixp4xx 2.6.28-15.52
linux-headers-2.6.28-15-iop32x 2.6.28-15.52
linux-headers-2.6.28-15-imx51 2.6.28-15.52
linux-headers-2.6.28-15 2.6.28-15.52
linux-headers-2.6.28-14-versatile 2.6.28-14.47
linux-headers-2.6.28-14-ixp4xx 2.6.28-14.47
linux-headers-2.6.28-14-iop32x 2.6.28-14.47
linux-headers-2.6.28-14-imx51 2.6.28-14.47
linux-headers-2.6.28-14 2.6.28-14.47
linux-headers-2.6.28-13-versatile 2.6.28-13.45
linux-headers-2.6.28-13-ixp4xx 2.6.28-13.45
linux-headers-2.6.28-13-iop32x 2.6.28-13.45
linux-headers-2.6.28-13-imx51 2.6.28-13.45
linux-headers-2.6.28-13 2.6.28-13.45
linux-ports-headers-2.6.28-6 2.6.28-6.20
linux-headers-2.6.28-11-versatile 2.6.28-11.42
linux-headers-2.6.28-11-ixp4xx 2.6.28-11.42
linux-headers-2.6.28-11-iop32x 2.6.28-11.42
linux-headers-2.6.28-11-imx51 2.6.28-11.42
linux-headers-2.6.28-11 2.6.28-11.42
You should explicitly select one to install.
None of these really seems to make sense since uname-rvp gives:
2.6.30.2 #11 PREEMPT Wed Jul 22 19:53:31 MDT 2009 unknown
Can you see 2.6.30 in the list above? All 2.6.28.

Yours hopefully
Marcus