The "modules" target is a basic target of the kernel build system. The driver build process dispatches the kernel build system specifying that target in order to build the driver. It's a mechanism that has been in place for basically the entire life of the 2.6 kernel series.
It however will only work if the kernel source tree is correctly installed in your system. The fact that your build seems to have dispatched *something* there would suggest that you do have it installed, but then the "modules" target should have worked. Perhaps your distribution is doing something strange? It's impractical for me to test / verify multiple distributions' methods for handling kernel sources. I'm a Debian user here but for this driver I also build and test against vanilla kernel tree from kernel.org. That's about as "generic" as one can get. -Mike On Fri, 18 Dec 2009, Dhimiter Bozo wrote: > hi, > i just downloaded the new driver and for some reason "make" is failing. > below is a snapshot of what i'm doing and the message i'm getting. Can > someone help? > Kernel version: 2.6.31-16-generic > > laptop:~/Downloads/pvrusb2-mci-20091124$ make --directory driver > make: Entering directory > `/home/dhimiter/Downloads/pvrusb2-mci-20091124/driver' > make INSTALL_MOD_DIR=pvrusb2 -C /lib/modules/2.6.31-16-generic/ > M=/home/dhimiter/Downloads/pvrusb2-mci-20091124/driver > CONFIG_VIDEO_PVRUSB2=m CONFIG_VIDEO_PVRUSB2_24XXX=y > CONFIG_VIDEO_PVRUSB2_SYSFS=y CONFIG_VIDEO_PVRUSB2_DVB=y > CONFIG_VIDEO_PVRUSB2_DEBUGIFC=y CONFIG_VIDEO_ADV_DEBUG=y modules > make[1]: Entering directory `/lib/modules/2.6.31-16-generic' > make[1]: *** No rule to make target `modules'. Stop. > make[1]: Leaving directory `/lib/modules/2.6.31-16-generic' > make: *** [modules] Error 2 > make: Leaving directory > `/home/dhimiter/Downloads/pvrusb2-mci-20091124/driver' > > > > thanks, > dhimiter > _______________________________________________ > pvrusb2 mailing list > [email protected] > http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2 > -- Mike Isely isely @ isely (dot) net PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8 _______________________________________________ pvrusb2 mailing list [email protected] http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
