osakasan Posted September 10, 2005 Report Share Posted September 10, 2005 (edited) Does anyone knows how to fix the following error: [root@localhost usbvision-0.9.8.2]# cd src [root@localhost src]# ls bt819-new.c i2c-algo-usb.c Makefile saa7113.c usbvision.c usbvision_ioctl.h Do_not_copy_Makefile_to_kernel_tree i2c-algo-usb.h saa7111-new.c saa7113-new.c usbvision.h [root@localhost src]# make make -C /lib/modules/2.6.11-6mdksmp/build SUBDIRS=/home/osakasans/usbvision-0.9.8.2/src modules make: *** /lib/modules/2.6.11-6mdksmp/build: No such file or directory. Stop. make: *** [default] Error 2 [root@localhost src]# [moved from Software by spinynorman] Edited September 21, 2005 by osakasan Quote Link to comment Share on other sites More sharing options...
devries Posted September 11, 2005 Report Share Posted September 11, 2005 make: *** /lib/modules/2.6.11-6mdksmp/build: No such file or directory. Stop. This is the error. It means you haven't installed the correct kernel source (the 'build' directory is a link to /usr/src/linux). Open a console, log in as root and type: urpmi kernel-source. Quote Link to comment Share on other sites More sharing options...
mystified Posted September 11, 2005 Report Share Posted September 11, 2005 To make sure you install the correct kernel-source type uname -r at the command prompt. That will tell you the kernel version you have installed. Quote Link to comment Share on other sites More sharing options...
osakasan Posted September 12, 2005 Author Report Share Posted September 12, 2005 Did you say, but still getting that same error message: [root@localhost /]# urpmi kernel-source One of the following packages is needed: 1- kernel-source-2.6-2.6.11-12mdk.i586 : The source code for the Linux kernel. (to install) 2- kernel-source-stripped-2.6-2.6.11-12mdk.i586 : The source code of the Linux kernel stripped for post build. (to install) 3- kernel-multimedia-source-2.6.10-3.mm.24mdk.i586 : The source code for the Linux kernel (to install) What is your choice? (1-3) uname -r To satisfy dependencies, the following 2 packages are going to be installed (199 MB): kernel-multimedia-source-2.6.10-3.mm.24mdk.i586 libncurses5-devel-5.4-1.20050108.1mdk.i586 Is this OK? (Y/n) Y ftp://mirror.usu.edu/mirrors/Mandrake/off....24mdk.i586.rpm installing /var/ftp/pub/Mandrakelinux/media/main2/libncurses5-devel-5.4-1.20050108.1mdk.i586.rpm /var/cache/urpmi/rpms/kernel-multimedia-source-2.6.10-3.mm.24mdk.i586.rpm Preparing... ############################################# 1/2: libncurses5-devel ############################################# 2/2: kernel-multimedia-source############################################# [root@localhost /]# uname -r 2.6.11-6mdksmp [root@localhost /]# urpmi kernel-source The package(s) are already installed [root@localhost /]# cd home [root@localhost home]# cd osakasans [root@localhost osakasans]# ls] bash: ls]: command not found [root@localhost osakasans]# ls CJLZ600LE-CUPS-1.0-1.tar.gz Desktop/ README spca5xx-20050906.tar.gz usbvision-0.9.8.2/ COPYING DicOOo-1.5.3.sxw rpm2tar-1.0.0-1.i386.rpm target/ usbvision-0.9.8.2.tar.tar dcraw-7.49-2mdk.x86_64.rpm installer/ spca5xx-20050906/ tmp/ z600cups-1.0-1.gz.sh* [root@localhost osakasans]# cd target [root@localhost target]# ls globals.tcl* lexinstall* license* testpage xlexinstall* z600cups-1.0-1.i386.rpm install* lexinstall.tcl* setup.tcl* usb.tcl* xlexinstall.tcl* z600llpddk-2.0-1.i386.rpm* [root@localhost target]# cd .. [root@localhost osakasans]# cd spca5xx-20050906 [root@localhost spca5xx-20050906]# ls CHANGELOG cutlog.py* drivers/ INSTALL Makefile README README-TV8532 RGB-YUV%2fmodule-setting [root@localhost spca5xx-20050906]# 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/osakasans/spca5xx-20050906 CC=cc modules make: *** /lib/modules/2.6.11-6mdksmp/build: No such file or directory. Stop. make: *** [default] Error 2 [root@localhost spca5xx-20050906]# cd .. [root@localhost osakasans]# cd usbvision-0.9.8.2 [root@localhost usbvision-0.9.8.2]# ls COPYING FAQ readme.2.4.x kernels* readme.2.6.x kernels* src/ xawtv-config-example [root@localhost usbvision-0.9.8.2]# make make: *** No targets specified and no makefile found. Stop. [root@localhost usbvision-0.9.8.2]# cd src [root@localhost src]# ls bt819-new.c i2c-algo-usb.c Makefile saa7113.c usbvision.c usbvision_ioctl.h Do_not_copy_Makefile_to_kernel_tree i2c-algo-usb.h saa7111-new.c saa7113-new.c usbvision.h [root@localhost src]# make make -C /lib/modules/2.6.11-6mdksmp/build SUBDIRS=/home/osakasans/usbvision-0.9.8.2/src modules make: *** /lib/modules/2.6.11-6mdksmp/build: No such file or directory. Stop. make: *** [default] Error 2 Quote Link to comment Share on other sites More sharing options...
osakasan Posted September 12, 2005 Author Report Share Posted September 12, 2005 Still need help on this. Quote Link to comment Share on other sites More sharing options...
mystified Posted September 12, 2005 Report Share Posted September 12, 2005 Your kernel source isn't the same as the kernel. Look at the number you got with the command uname -r vs. the kernel source installed. You need to remove that kernel source and track down the correct one. I'm not a Mandriva user so I don't know if that kernel source is in any of the repos. Hopefully somebody else can help you with that if you can't find it on your own. Quote Link to comment Share on other sites More sharing options...
osakasan Posted September 12, 2005 Author Report Share Posted September 12, 2005 (edited) Just how do I un-install the Kernel source get the matching one? Just how to I go about installing the following: 1- kernel-source-2.6-2.6.11-12mdk.i586 : The source code for the Linux kernel. (to install) 2- kernel-source-stripped-2.6-2.6.11-12mdk.i586 : The source code of the Linux kernel stripped for post build. (to install) Edited September 12, 2005 by osakasan Quote Link to comment Share on other sites More sharing options...
osakasan Posted September 13, 2005 Author Report Share Posted September 13, 2005 I think I updated all that is to update, but still getting the following: [root@localhost osakasans]# rpm -ivh kernel-source-2.6=2.6.11-12mdk.i586.rpm error: open of kernel-source-2.6=2.6.11-12mdk.i586.rpm failed: No such file or directory [root@localhost osakasans]# rpm -ivh kernel-source-2.6-2.6.11-12mdk.i586.rpm Preparing... ########################################### [100%] package kernel-source-2.6-2.6.11-12mdk is already installed [root@localhost osakasans]# cd spca5xx-20050906 [root@localhost spca5xx-20050906]# ls CHANGELOG cutlog.py* drivers/ INSTALL Makefile README README-TV8532 RGB-YUV%2fmodule-setting [root@localhost spca5xx-20050906]# 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/osakasans/spca5xx-20050906 CC=cc modules make: *** /lib/modules/2.6.11-6mdksmp/build: No such file or directory. Stop. make: *** [default] Error 2 Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted September 13, 2005 Report Share Posted September 13, 2005 Your kernel source still doesn't match. Post the output of: $ rpm -qa | grep kernel and you will see what I mean. Here's the problem. You are using kernel 2.6.11-6mdksmp. You have installed kernel source-2.6=2.6.11-12mdk. Here's what I have in mine: kernel-source-2.6-2.6.11-6mdk kernel-smp-2.6.11.6mdk-1-1mdk Uninstall your kernel source and go here: ftp://fr2.rpmfind.net/linux/Mandrakelinux...586/media/main/ and download this rpm: kernel-source-2.6-2.6.11-6mdk.i586.rpm and install that. Quote Link to comment Share on other sites More sharing options...
osakasan Posted September 13, 2005 Author Report Share Posted September 13, 2005 Please tell me how to un-install the Kernel-Source. Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted September 13, 2005 Report Share Posted September 13, 2005 Let's just do it the graphical way as you may find that easier. In the start menu go to System>Configuration>Configure Your Computer. A window will pop up asking for your root password; enter it and Mandrake Control Center(mcc) will come up. It usually is set to open On the "Software" tab and on the right you select the " Look at installed software and uninstall software packages". That will bring up the software removal window. In the search field type: kernel-source and hit the Search button. Select the kernel-source package(s) for removal. That should clean it up for you. Now get the kernel-source rpm I previously posted. Once downloaded, you just doubleclick on it to install it. You will be prompted for your root password before the install will go forward. Quote Link to comment Share on other sites More sharing options...
osakasan Posted September 14, 2005 Author Report Share Posted September 14, 2005 Moving along slowly but surely, now can you explain the following error: Shorewall:net2all:DROP:IN=eth0 OUT= MAC= SRC=192.168.1.100 DST=224.0.0.251 LEN=77 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=57 Shorewall:net2all:DROP:IN=eth0 OUT= MAC= SRC=192.168.1.100 DST=224.0.0.251 LEN=95 TOS=0x00 PREC=0x00 TTL=255 ID=1 DF PROTO=UDP SPT=5353 DPT=5353 LEN=75 UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume '', timestamp 2004/12/27 17:40 (1da8) Shorewall:net2all:DROP:IN=eth0 OUT= MAC= SRC=192.168.1.100 DST=224.0.0.251 LEN=77 TOS=0x00 PREC=0x00 TTL=255 ID=2 DF PROTO=UDP SPT=5353 DPT=5353 LEN=57 Shorewall:net2all:DROP:IN=eth0 OUT= MAC= SRC=192.168.1.100 DST=224.0.0.251 LEN=77 TOS=0x00 PREC=0x00 TTL=255 ID=3 DF PROTO=UDP SPT=5353 DPT=5353 LEN=57 spca5xx: Unknown symbol video_devdata spca5xx: Unknown symbol video_unregister_device spca5xx: Unknown symbol video_device_alloc spca5xx: Unknown symbol video_register_device spca5xx: Unknown symbol video_usercopy spca5xx: Unknown symbol video_device_release No module found in object No module found in object usbvision: Unknown symbol i2c_usb_del_bus usbvision: Unknown symbol video_devdata usbvision: Unknown symbol video_unregister_device usbvision: Unknown symbol video_device_alloc usbvision: Unknown symbol video_register_device usbvision: Unknown symbol i2c_usb_add_bus usbvision: Unknown symbol video_usercopy usbvision: Unknown symbol video_device_release Quote Link to comment Share on other sites More sharing options...
osakasan Posted September 15, 2005 Author Report Share Posted September 15, 2005 I am getting there, New error: [root@localhost /]# xawtv This is xawtv-3.94, running on Linux/i686 (2.6.11-6mdksmp) can't open /dev/video0: Device or resource busy v4l-conf had some trouble, trying to continue anyway v4l2: open /dev/video0: Device or resource busy v4l2: open /dev/video0: Device or resource busy v4l: open /dev/video0: Device or resource busy no video grabber device available [root@localhost /]# Any Help? Quote Link to comment Share on other sites More sharing options...
osakasan Posted September 16, 2005 Author Report Share Posted September 16, 2005 Still need to find a solution for this, Anyone? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.