Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Unable to compile v4linux in Red Hat Enterprise 5.5 with CentOS

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-05-2011
Member
 
Join Date: Sep 2010
Posts: 32
Unable to compile v4linux in Red Hat Enterprise 5.5 with CentOS
  

Hello everyone, I am using Red Hat Enterprise Linux 5.5 with CentOS at my place, and I am having some problem in it. I tried to recover the problem and I came to know that it is not compiling v4linux. When I checked the logs I got this which I am writing below:

Code:
[az@server v4l-dvb-abd3aac6644e]$ uname -a
Linux server.home 2.6.18-194.17.1.el5.centos.plus #1 SMP Thu Sep 30
19:27:35 EDT 2010 i686 athlon i386 GNU/Linux
rpm -qa |grep kernel*
kernel-2.6.18-164.11.1.el5.centos.plus
kernel-2.6.18-164.15.1.el5.centos.plus
kernel-devel-2.6.18-194.17.1.el5.centos.plus
kernel-2.6.18-194.17.1.el5.centos.plus
kernel-devel-2.6.18-164.11.1.el5.centos.plus
kernel-headers-2.6.18-194.17.1.el5.centos.plus
kernel-devel-2.6.18-164.15.1.el5.centos.plus

ls -lh /usr/src/kernels/
total 12K
drwxr-xr-x 19 root root 4.0K Dec 21 2010 2.6.18-164.11.1.el5.centos.plus-i686
drwxr-xr-x 19 root root 4.0K Feb 17  2010 2.6.18-164.15.1.el5.centos.plus-i686
drwxr-xr-x 19 root root 4.0K may 5 12:23 2.6.18-194.17.1.el5.centos.plus-i686
ls -lh /usr/src/kernels/2.6.18-194.17.1.el5.centos.plus-i686/
total 852K
drwxr-xr-x 26 root root 4.0K May 5 12:23 arch
drwxr-xr-x  2 root root 4.0K May 5 12:23 block
drwxr-xr-x  4 root root 4.0K May 5 12:23 crypto
drwxr-xr-x 68 root root 4.0K May 5 12:23 drivers
drwxr-xr-x 66 root root 4.0K May 5 12:23 fs
drwxr-xr-x 22 root root 4.0K May 5 12:23 include
drwxr-xr-x  2 root root 4.0K May 5 12:23 init
drwxr-xr-x  2 root root 4.0K May 5 12:23 ipc
-rw-r--r--  1 root root  57K Sep 30 20:01 kabi_whitelist
drwxr-xr-x  5 root root 4.0K May 5 12:23 kernel
drwxr-xr-x  5 root root 4.0K May 5 12:23 lib
-rw-r--r--  1 root root  48K May 5 12:23 Makefile
drwxr-xr-x  2 root root 4.0K May 5 12:23 mm
-rw-r--r--  1 root root 165K May 5 12:23 Module.kabi
-rw-r--r--  1 root root 2.1K May 5 12:23 Module.markers
-rw-r--r--  1 root root 433K May 5 12:23 Module.symvers
drwxr-xr-x 43 root root 4.0K May 5 12:23 net
drwxr-xr-x  4 root root 4.0K May 5 12:23 samples
drwxr-xr-x 10 root root 4.0K May 5 12:23 scripts
drwxr-xr-x  4 root root 4.0K May 5 12:23 security
drwxr-xr-x 18 root root 4.0K May 5 12:23 sound
-rw-r--r--  1 root root  49K May 5 12:23
symsets-2.6.18-194.17.1.el5.centos.plus.tar.gz
drwxr-xr-x  2 root root 4.0K May 5 12:23 usr
so can anyone help me to fix my problem? Thanks a lot in advance.

Reply With Quote
  #2  
Old 06-05-2011
Member
 
Join Date: May 2008
Posts: 859
Re: Unable to compile v4linux in Red Hat Enterprise 5.5 with CentOS

Hello, I have gone through to your problem, and also I have read your log files. I just don?t understand why you are doing this things, as these things are already built and Kernel is independent of everything. The Kernel in Red Hat 5.5 is independent of Kabi tracking kmod-video4linux package from the ELRepo Project. Just do one thing again install Linux again and again check, I thing if you will install it again you might not be having any problem. All the Best.
Reply With Quote
  #3  
Old 06-05-2011
Member
 
Join Date: May 2008
Posts: 962
Re: Unable to compile v4linux in Red Hat Enterprise 5.5 with CentOS

Hey above post is right from its own point, after reading your logs I can say that you might having problem in Webcam and 0x04f2 and 0xa143 files. If you want to solve your problem then try to apply below settings to Linux and again read the logs, I think your problem will get solved.

Code:
./linux/drivers/media/video/zr364xx.c0: {USB_DEVICE(0x04f2, 0xa208), .driver_info = METHOD0 },
./linux/drivers/media/video/zr364xx.c:  {USB_DEVICE(0x04f2, 0xa208), .driver_info = METHOD0 },
./linux/drivers/media/video/zr364xx.c:  {USB_DEVICE(0x04f2, 0xa143), .driver_info = METHOD0 },
Compile this, I think it will help you, All the best!
Reply With Quote
  #4  
Old 06-05-2011
Member
 
Join Date: May 2008
Posts: 991
Re: Unable to compile v4linux in Red Hat Enterprise 5.5 with CentOS

Oh I have got your problem, and I wanted to say that this is the minor issue while you are using Red Hat Enterprise Linux 5.5 server addition. The webcam is the common issue with the server editions. According to me looking at your problem you must install the zr364xx.c drivers to recognize the webcam fingerprint of 042f2:a143. I think your current kmod-video4linux package is not providing above mentioned driver. So you must download it from internet and manually install it. I think this will be more than enough for you to fix your error. All the Best!
Reply With Quote
  #5  
Old 06-05-2011
Member
 
Join Date: May 2008
Posts: 1,020
Re: Unable to compile v4linux in Red Hat Enterprise 5.5 with CentOS

Hello everyone, looking at the above matter I am completely agreed with the above post. As per my opinion you can also use kernel-devel-i686. Because when I used it on my RHEL 5.5 system and I solve my error. See the logs below:
Code:
Dependencies Resolved

====================================================================================================================================
 Package                      Arch                 Version                                         Repository                  Size
====================================================================================================================================
Installing:
 kernel-devel                 i686                 2.6.18-194.32.1.el5.centos.plus                 centosplus                 5.5 M
Removing:
 kernel-devel                 i686                 2.6.18-164.11.1.el5.centos.plus                 installed                   16 M

Transaction Summary
====================================================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)
Remove        1 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Total size: 5.5 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : kernel-devel                                                                                                 1/2 
  Cleanup        : kernel-devel                                                                                                 2/2 

Removed:
  kernel-devel.i686 0:2.6.18-164.11.1.el5.centos.plus                                                                               

Installed:
  kernel-devel.i686 0:2.6.18-194.32.1.el5.centos.plus

<as a regular user>
[oracle@server SRPMS]$ rpmbuild -bp --target i686 ../SPECS/video4linux-kmod.spec 
Building target platforms: i686
Building for target i686
error: Failed build dependencies:
        kernel-devel-i686 = 2.6.18-194.el5 is needed by video4linux-kmod-0.0-7.20100410.2.i686
        kernel-PAE-devel-i686 = 2.6.18-194.el5 is needed by video4linux-kmod-0.0-7.20100410.2.i686
[oracle@server SRPMS]$
Reply With Quote
  #6  
Old 07-05-2011
Member
 
Join Date: Sep 2010
Posts: 32
Re: Unable to compile v4linux in Red Hat Enterprise 5.5 with CentOS

Hello, I have fixed my error, it took long to solve it, but at last finally I got through to my problem. The actual problem was that, I was not doing explicit specification of target i686 and i386, when my kernel was of i686. After that I took a look at virtual box then I came to know that I have e8400 with 64bit version. And I just rush to 32bit version and I again install the above mentioned drivers for kernel and I got the solution. I solved it. So thanks a lot friends, without you all it was not possible for me to understand such thing.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Unable to compile v4linux in Red Hat Enterprise 5.5 with CentOS"
Thread Thread Starter Forum Replies Last Post
Not able to compile vmmon in VMware 7.1.4 on redhat enterprise 6.1 Martyna Windows Software 3 15-09-2011 10:42 PM
Unable to compile managed C++ code by using the VC 7.0 fanish-war Software Development 4 25-06-2011 09:46 PM
Compile kernel 2.6.35.7 for centos 5.5 hardyB Operating Systems 5 12-11-2010 11:12 PM
Unable to compile and execute code spuff Software Development 5 24-12-2009 01:56 PM
unable to compile java file in ms-dos jennifer Software Development 3 05-01-2009 01:11 PM


All times are GMT +5.5. The time now is 07:20 AM.