Makefile error: “No rule to make target”

June 13, 2009 on 12:15 pm | In Tech, Uncategorized | No Comments

I’ve been using Ubuntu for about two months now, pretty much exclusively. It’s been pretty good so far. When I want to tinker, I can, but it just works most of the time. It’s also got Linux’s famed customizability.

Recently, while trying to install my Creative PD1001 webcam driver and kept getting this error:

$ sudo make
Building EPCAM driver for 2.5/2.6 kernel.
PLEASE IGNORE THE “Overriding SUBDIRS” WARNING
Remember: you must have read/write access to your kernel source tree.
#make -C /lib/modules/2.6.28-13-generic/build SUBDIRS=/media/DATA/Ubuntu/Creative PD1001 webcam linux driver modules
make -C /lib/modules/2.6.28-13-generic/build  M=/media/DATA/Ubuntu/Creative PD1001 webcam linux driver modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-13-generic’
make[1]: *** No rule to make target `PD1001′.  Stop.
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-13-generic’
make: *** [default] Error 2

Turns out the error was caused by a space in the directory in which the makefile was. So I just removed all the spaces in the folder name and it worked.

You can download the driver here. Instructions here.

I’m still messing aroudn with the driver to get it to work. If it doesn’t, I’ll just end up buying a different one, methinx.

Hope this helps!

I really like comments, so please take a few seconds to leave one. If you enjoyed this post, make sure you subscribe to my RSS feed!

del.icio.us:Makefile error:  digg:Makefile error:  reddit:Makefile error:  fark:Makefile error:  Y!:Makefile error:
Related Posts:
MySQL Troubleshooting
My New Fav Theory – Reactance Theory
Why some things just don’t matter
Python tip: Test Easier with Nose testing instead of Unittest

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^