Results 1 to 6 of 6

Thread: Unable to compile v4linux in Red Hat Enterprise 5.5 with CentOS

  1. #1
    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.

  2. #2
    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.

  3. #3
    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!

  4. #4
    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!

  5. #5
    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]$

  6. #6
    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.

Similar Threads

  1. Replies: 3
    Last Post: 15-09-2011, 10:42 PM
  2. Unable to compile managed C++ code by using the VC 7.0
    By fanish-war in forum Software Development
    Replies: 4
    Last Post: 25-06-2011, 09:46 PM
  3. Compile kernel 2.6.35.7 for centos 5.5
    By hardyB in forum Operating Systems
    Replies: 5
    Last Post: 12-11-2010, 11:12 PM
  4. Unable to compile and execute code
    By spuff in forum Software Development
    Replies: 5
    Last Post: 24-12-2009, 01:56 PM
  5. unable to compile java file in ms-dos
    By jennifer in forum Software Development
    Replies: 3
    Last Post: 05-01-2009, 01:11 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,318,653.82757 seconds with 16 queries