I’m running Suse 11.2 32bit with KDE 4.3.1 “release 6”
When I start compiling my webcam driver I get the following error:
make -C /lib/modules/2.6.31.5-0.1-desktop/build M=/home/gila/Download/ov51x-jpeg-1.5.9 modules
make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2
I have the kernel-headers and kernel-source installed. But I did notice that I have the kernel-headers show up with version 2.6.31-3.4. Does that matter?
Thanks in advance.
As you can see, I since installed kernel-syms. Now when I type “make” it can’t find gcc. I had to uninstall that, when I uninstalled the kernel-headers. If I go to re-install gcc it wants to put the wrong version kernel-headers back in.
Hi, @von_shtupp: Did You solve this? I want to compile the newest gspca drivers and I’ve got similar error:
mateusz2@cmxpc:/home/mateusz/WebCam/gspca-182b5f8fa160> LANG=en_EN make
make -C /home/mateusz/WebCam/gspca-182b5f8fa160/v4l
make[1]: Entering directory `/home/mateusz/WebCam/gspca-182b5f8fa160/v4l'
Updating/Creating .config
Preparing to compile for kernel version 2.6.31
File not found: /lib/modules/2.6.31.5-0.1-desktop/build/.config at ./scripts/make_kconfig.pl line 32, <IN> line 4.
make[1]: *** No rule to make target `.myconfig', needed by `config-compat.h'. Stop.
make[1]: Leaving directory `/home/mateusz/WebCam/gspca-182b5f8fa160/v4l'
make: *** [all] Error 2
The problem is that /lib/modules/2.6.31.5-0.1-desktop/build point to linux-obj:
so far I have not been able to solve this. And to be honest, I know next to nothing about compiling, so I’m the wrong person to ask really.Sorry about not being able to help you.