MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
"cannot stat `spca5xx.ko': No such file or directory" means "you have no file named spca5xx.ko in this directory"
This in turn means either there should be a precompiled file named spca5xx.ko in the file you untarred or
the make procedure should've given an error prior to the one you posted.
That make probably requires access to the linux kernel source which you don't seem to have according to your 'ls /usr/src'.
Do a 'urpmi kernel-source-2.6' and retry your install.
Ok. I have downloaded the kernel and installed ok. However, install still fails as before.
Excuse my newbie questions but I thought the kernel was in /lib/modules/2.6.8.1-12mdk/kernel?
Anyway, all the directories that the readme says it uses exist. The stat command refers to a file that does not exist but I assume should be created by the previous line.
For a manual compile the readme states:
Before trying to compile the driver, ensure that you've configured your
kernel, and updated the dependencies:
'make [config|menuconfig|xconfig]; make dep'.
If i enter this I get the following error:
bash: menuconfig: command not found
bash: xconfig]: command not found
make: *** No rule to make target `[config'. Stop.
make: *** No rule to make target `dep'. Stop.
If I read the syntax correctly, am I ment to enter something else in place of [config|menuconfig|xconfig] ?
It also says to just build the driver use make, but using make generates the following:
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/fred/tmp/spca5xx-20050301 modules
make[1]: Entering directory `/lib/modules/2.6.8.1-12mdk/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.8.1-12mdk/build'
make: *** [default] Error 2
Im am in as root so assume that gives me full access to the kernel tree.
Im sure I am missing something obvious but being a recent Windoze convert am still comming to grips with Linux. Any more suggestions?
removed the old rmp and reinstalled. The version is correct.
In the directory where the spca5xx files are from a terminal logged in as root, I enter make.
The following is outputted.
[root@Linux1 spca5xx-20050301]# make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/fred/tmp/spca5xx-20050301 modules
make[1]: Entering directory `/lib/modules/2.6.8.1-12mdk/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/2.6.8.1-12mdk/build'
make: *** [default] Error 2
Dont know where to go from here. Not sure what the "No Rule..." bit is about.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.