Can't compile drivers for Creative webcam

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Can't compile drivers for Creative webcam

Postby gumibear » Feb 11th, '14, 10:34

Hi,
Maybe someone smarter then me can help?
I try to execute ./gspca_build and still taking the same result:

Code: Select all
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/bozena/Pobrane/gspcav1-20071224 CC=cc modules
make[1]: Wejście do katalogu '/usr/src/linux-3.12.9-desktop-1.mga4'
  CC [M]  /home/bozena/Pobrane/gspcav1-20071224/gspca_core.o
/home/bozena/Pobrane/gspcav1-20071224/gspca_core.c:37:26: fatal error: linux/config.h: Nie ma takiego pliku ani katalogu
 #include <linux/config.h>
                          ^
compilation terminated.
scripts/Makefile.build:308: polecenia dla obiektu '/home/bozena/Pobrane/gspcav1-20071224/gspca_core.o' nie powiodły się
make[2]: *** [/home/bozena/Pobrane/gspcav1-20071224/gspca_core.o] Błąd 1
Makefile:1228: polecenia dla obiektu '_module_/home/bozena/Pobrane/gspcav1-20071224' nie powiodły się
make[1]: *** [_module_/home/bozena/Pobrane/gspcav1-20071224] Błąd 2
make[1]: Opuszczenie katalogu '/usr/src/linux-3.12.9-desktop-1.mga4'
Makefile:44: polecenia dla obiektu 'default' nie powiodły się
make: *** [default] Błąd 2


What am I doing wrong?

edit:
I forgot to mention:
Code: Select all
rpm -qa | grep kernel
kernel-desktop-latest-3.12.9-1.mga4
kernel-desktop-devel-latest-3.12.9-1.mga4
kernel-firmware-20131013-2.mga4
kernel-desktop-3.12.9-1.mga4-1-1.mga4
kernel-firmware-nonfree-20140119-1.mga4.nonfree
kernel-desktop-devel-3.12.9-1.mga4-1-1.mga4
kernel-userspace-headers-3.12.9-1.mga4
kernel-source-latest-3.12.9-1.mga4
kernel-source-3.12.9-1.mga4-1-1.mga4


Code: Select all
 dmesg | grep Video
[    0.351873] acpi PNP0A08:00: ignoring host bridge window [mem 0x000cc000-0x000cffff] (conflicts with Video ROM [mem 0x000c0000-0x000cedff])
[    8.853737] usb 3-2: Product: Live! Cam Video IM Pro
[   12.846775] ACPI: Video Device [VGA] (multi-head: yes  rom: no  post: no)
[   12.846817] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input8
gumibear
 
Posts: 3
Joined: Jan 30th, '14, 20:49

Re: Can't compile drivers for Creative webcam

Postby doktor5000 » Feb 12th, '14, 01:02

Can you please run the build again via
Code: Select all
export LC_ALL=C
make

so that you get english output/error messages?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't compile drivers for Creative webcam

Postby gumibear » Feb 12th, '14, 18:00

Here they are...

Code: Select all
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/bozena/Pobrane/gspcav1-20071224 CC=cc modules
make[1]: Wejście do katalogu '/usr/src/linux-3.12.9-desktop-1.mga4'
  CC [M]  /home/bozena/Pobrane/gspcav1-20071224/gspca_core.o
/home/bozena/Pobrane/gspcav1-20071224/gspca_core.c:37:26: fatal error: linux/config.h: No such file or directory
  #include <linux/config.h>
                              ^
compilation terminated.
scripts/Makefile.build:308: recipe for target '/home/bozena/Pobrane/gspcav1-20071224/gspca_core.o' failed
make[2]: *** [/home/bozena/Pobrane/gspcav1-20071224/gspca_core.o] Error 1
Makefile:1228: recipe for target '_module_/home/bozena/Pobrane/gspcav1-20071224' failed
make[1]: *** [_module_/home/bozena/Pobrane/gspcav1-20071224] Error 2
make[1]: Leaving directory '/usr/src/linux-3.12.9-desktop-1.mga4'
Makefile:44: recipe for target 'default' failed
make: *** [default] Error 2


Code: Select all
[root@bozena gspcav1-20071224]# make
make -C /lib/modules/`uname -r`/build
SUBDIRS=/home/bozena/Pobrane/gspcav1-20071224 CC=cc modules
make[1]: Entering directory '/usr/src/linux-3.12.9-desktop-1.mga4'
  CC [M]  /home/bozena/Pobrane/gspcav1-20071224/gspca_core.o
/home/bozena/Pobrane/gspcav1-20071224/gspca_core.c:37:26: fatal
error: linux/config.h: No such file or directory
 #include <linux/config.h>
                          ^
compilation terminated.
scripts/Makefile.build:308: recipe for target
'/home/bozena/Pobrane/gspcav1-20071224/gspca_core.o' failed
make[2]: *** [/home/bozena/Pobrane/gspcav1-20071224/gspca_core.o]
Error 1
Makefile:1228: recipe for target
'_module_/home/bozena/Pobrane/gspcav1-20071224' failed
make[1]: *** [_module_/home/bozena/Pobrane/gspcav1-20071224]
Error 2
make[1]: Leaving directory '/usr/src/linux-3.12.9-desktop-1.mga4'
Makefile:44: recipe for target 'default' failed
make: *** [default] Error 2


Code: Select all
lsusb | grep Video
Bus 004 Device 002: ID 041e:4055 Creative Technology, Ltd Live! Cam Video IM Pro
gumibear
 
Posts: 3
Joined: Jan 30th, '14, 20:49

Re: Can't compile drivers for Creative webcam

Postby doktor5000 » Feb 12th, '14, 23:07

Where did you download that driver?

Also, gspca drivers come with the kernel, check
Code: Select all
ls -al /lib/modules/$(uname -r)/kernel/drivers/media/usb/gspca/
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Can't compile drivers for Creative webcam

Postby gumibear » Feb 13th, '14, 19:00

Where? From that page: http://mxhaard.free.fr/download.html

Code: Select all
[root@bozena bozena]# ls -al /lib/modules/$(uname -r)/kernel/drivers/media/usb/gspca/
total 360
drwxr-xr-x  5 root root  4096 lut 10 11:45 ./
drwxr-xr-x 26 root root  4096 lut 10 11:45 ../
drwxr-xr-x  2 root root  4096 lut 10 11:45 gl860/
-rw-r--r--  1 root root  2596 lut  1 19:23 gspca_benq.ko.xz
-rw-r--r--  1 root root  5644 lut  1 19:23 gspca_conex.ko.xz
-rw-r--r--  1 root root  6956 lut  1 19:23 gspca_cpia1.ko.xz
-rw-r--r--  1 root root  4596 lut  1 19:23 gspca_etoms.ko.xz
-rw-r--r--  1 root root  2608 lut  1 19:23 gspca_finepix.ko.xz
-rw-r--r--  1 root root  4212 lut  1 19:23 gspca_jeilinj.ko.xz
-rw-r--r--  1 root root  3484 lut  1 19:23 gspca_jl2005bcd.ko.xz
-rw-r--r--  1 root root  2836 lut  1 19:23 gspca_kinect.ko.xz
-rw-r--r--  1 root root  3484 lut  1 19:23 gspca_konica.ko.xz
-rw-r--r--  1 root root 13844 lut  1 19:23 gspca_main.ko.xz
-rw-r--r--  1 root root  3616 lut  1 19:23 gspca_mars.ko.xz
-rw-r--r--  1 root root  5604 lut  1 19:23 gspca_mr97310a.ko.xz
-rw-r--r--  1 root root  6604 lut  1 19:23 gspca_nw80x.ko.xz
-rw-r--r--  1 root root 18048 lut  1 19:23 gspca_ov519.ko.xz
-rw-r--r--  1 root root  5688 lut  1 19:23 gspca_ov534_9.ko.xz
-rw-r--r--  1 root root  6956 lut  1 19:23 gspca_ov534.ko.xz
-rw-r--r--  1 root root  4100 lut  1 19:23 gspca_pac207.ko.xz
-rw-r--r--  1 root root  5156 lut  1 19:23 gspca_pac7302.ko.xz
-rw-r--r--  1 root root  4500 lut  1 19:23 gspca_pac7311.ko.xz
-rw-r--r--  1 root root  4704 lut  1 19:23 gspca_se401.ko.xz
-rw-r--r--  1 root root  4020 lut  1 19:23 gspca_sn9c2028.ko.xz
-rw-r--r--  1 root root 12200 lut  1 19:23 gspca_sn9c20x.ko.xz
-rw-r--r--  1 root root  6596 lut  1 19:23 gspca_sonixb.ko.xz
-rw-r--r--  1 root root 12756 lut  1 19:23 gspca_sonixj.ko.xz
-rw-r--r--  1 root root  3840 lut  1 19:23 gspca_spca1528.ko.xz
-rw-r--r--  1 root root  5684 lut  1 19:23 gspca_spca500.ko.xz
-rw-r--r--  1 root root  3912 lut  1 19:23 gspca_spca501.ko.xz
-rw-r--r--  1 root root  3280 lut  1 19:23 gspca_spca505.ko.xz
-rw-r--r--  1 root root  3820 lut  1 19:23 gspca_spca506.ko.xz
-rw-r--r--  1 root root  3868 lut  1 19:23 gspca_spca508.ko.xz
-rw-r--r--  1 root root  5128 lut  1 19:23 gspca_spca561.ko.xz
-rw-r--r--  1 root root  2976 lut  1 19:23 gspca_sq905c.ko.xz
-rw-r--r--  1 root root  3116 lut  1 19:23 gspca_sq905.ko.xz
-rw-r--r--  1 root root  6152 lut  1 19:23 gspca_sq930x.ko.xz
-rw-r--r--  1 root root  3884 lut  1 19:23 gspca_stk014.ko.xz
-rw-r--r--  1 root root  4260 lut  1 19:23 gspca_stk1135.ko.xz
-rw-r--r--  1 root root  3112 lut  1 19:23 gspca_stv0680.ko.xz
-rw-r--r--  1 root root  6488 lut  1 19:23 gspca_sunplus.ko.xz
-rw-r--r--  1 root root  6128 lut  1 19:23 gspca_t613.ko.xz
-rw-r--r--  1 root root 11960 lut  1 19:23 gspca_topro.ko.xz
-rw-r--r--  1 root root  2608 lut  1 19:23 gspca_tv8532.ko.xz
-rw-r--r--  1 root root 10092 lut  1 19:23 gspca_vc032x.ko.xz
-rw-r--r--  1 root root  3212 lut  1 19:23 gspca_vicam.ko.xz
-rw-r--r--  1 root root 10792 lut  1 19:23 gspca_xirlink_cit.ko.xz
-rw-r--r--  1 root root 15012 lut  1 19:23 gspca_zc3xx.ko.xz
drwxr-xr-x  2 root root  4096 lut 10 11:45 m5602/
drwxr-xr-x  2 root root  4096 lut 10 11:45 stv06xx/
gumibear
 
Posts: 3
Joined: Jan 30th, '14, 20:49

Re: Can't compile drivers for Creative webcam

Postby doktor5000 » Feb 13th, '14, 22:31

Well, no need to compile it.

Seems your device ID is not included in the driver, see e.g. http://video4linux-list.1448896.n2.nabb ... 09760.html
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18070
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest