Comment 5 for bug 900224

Revision history for this message
Jeff Strunk (jstrunk-math) wrote :

I managed to compile the modules using the linux headers and linux-source packages. I had to modify the makefile.

$ apt-get install linux-headers-`uname -r`-generic linux-source-3.0.0
$ cd /usr/src/linux-source-3.0.0
$ tar -xjf linux-source-3.0.0.tar.bz2
$ cd /usr/src/linux-source-3.0.0/linux-source-3.0.0/drivers/staging/usbip

Add the following line to the beginning of the Makefile:
obj-m := usbip-core.o vhci-hcd.o usbip-host.o

$ make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules
$ make -C /usr/src/linux-headers-`uname -r` M=`pwd` modules_install
$ depmod -a