LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel problem (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-problem-4175466701/)

yougant 06-20-2013 02:21 AM

kernel problem
 
The output for

rpm -qa kernel |sort |tail -n 1 is:
kernel-3.8.13-100.fc17.i686

the output for uname -r is:
3.3.4-5.fc17.i686.PAE

Now i am trying to install EasyCap DC60 on my fedora 17.

when i run sudo ./install.sh command its give me an error saying:
ERROR:cannot find directory /lib/modules/3.3.4-5.fc17.i686.PAE/build
Are the kernel headers installed correctly?

I have already installed the headers also i dont understand how to proceed further.
Can someone please help

yougant 06-20-2013 02:42 AM

Also when i perform a reboot it gives me option of selecting kernel is grub2 menu

3.8.13-100.fc17.i686
3.3.4-5.fc17.i686.PAE

i selected 3.3.4-5.fc17.i686.PAE and still the problem is not resolved

jdkaye 06-20-2013 04:56 AM

What version of the linux headers have you installed?
jdk

yougant 06-21-2013 01:02 AM

Hi i manged to resolve the issue by removing the kernel and re-installting it again how i have

kernel-PAE-devel-3.8.13-100.fc17.i686
kernel-headers-3.8.13-100.fc17.i686
kernel-PAE-3.8.13-100.fc17.i686

but now when i go ahead and install the easy cap drivers is give me an error:

ERROR: step failed: make
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c: In function ‘easycap_mmap’:
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:2675:19: error: ‘VM_RESERVED’ undeclared (first use in this function)
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:2675:19: note: each undeclared identifier is reported only once for each function it appears in
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c: In function ‘easycap_usb_probe’:
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:4416:3: error: implicit declaration of function ‘err’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.o] Error 1
make[2]: *** [_module_/home/yougant/EASYCAP/easycap_dc60.0.9/src] Error 2
make[1]: *** [all] Error 2
make: *** [build] Error 2


any resolution??

jdkaye 06-21-2013 02:46 AM

Have you run the configure file? Does it report any errors?
jdk

yougant 06-21-2013 03:54 AM

i have been refering the readme file to install the drivers, where it has been mentioned on run the command sudo ./install.sh after executing the command i get the o/p :

ERROR: step failed: make
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c: In function ‘easycap_mmap’:
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:2675:19: error: ‘VM_RESERVED’ undeclared (first use in this function)
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:2675:19: note: each undeclared identifier is reported only once for each function it appears in
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c: In function ‘easycap_usb_probe’:
/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:4416:3: error: implicit declaration of function ‘err’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.o] Error 1
make[2]: *** [_module_/home/yougant/EASYCAP/easycap_dc60.0.9/src] Error 2
make[1]: *** [all] Error 2
make: *** [build] Error 2

jdkaye 06-21-2013 04:38 AM

You're clearly missing something but with information you're giving it's really impossible to say what. It's interesting that there appears to be nothing in the kernel drivers later than the kernel 3.6.0.5. The output of a search for easycap is shown below.
Code:

/usr/src/linux-headers-3.6.0-5.dmz.1-liquorix-amd64/drivers/staging/media/easycap
/usr/src/linux-headers-3.6.0-5.dmz.1-liquorix-amd64/drivers/staging/media/easycap/Kconfig
/usr/src/linux-headers-3.6.0-5.dmz.1-liquorix-amd64/drivers/staging/media/easycap/Makefile
/usr/src/linux-headers-3.6.0-5.dmz.1-liquorix-amd64/include/config/easycap.h

But I am using 3.9-6.dmz.2-liquorix-amd64. Maybe Easycap has stopped supporting linux?
jdk

yougant 06-21-2013 04:56 AM

any suggestions about how to go about installing it

jdkaye 06-21-2013 07:04 AM

Quote:

/home/yougant/EASYCAP/easycap_dc60.0.9/src/easycap_main.c: In function ‘easycap_mmap’:
First thing is why are these files in your home folder? Where do they come from?
jdk

tonj 06-12-2014 08:50 AM

hi yougant did you ever solve this problem? I'm trying to get an easycap dc60 usb to work in fedora 20 but I'm getting errors and brick walls. Google gives info of an Stk1160 driver but I can't find a download link anywhere. Thank if you can shed any light.


All times are GMT -5. The time now is 01:03 AM.