Results 1 to 1 of 1

Thread: Install CPiA2 on Ubuntu 11.04

  1. #1
    Join Date
    Feb 2009
    Beans
    1

    Install CPiA2 on Ubuntu 11.04

    Hi,
    I'm tring to install the CPiA2 drivers on Natty Narwhal with 2.6.38-11-generic-pae but I have some trouble here and I need some help

    The first problem was that the Makefile contained $(PWD) instead of $(shell pwd), solved with Internet
    Code:
    default: Makefile
    	$(MAKE) -C $(KERNEL_DIR)/build SUBDIRS=$(PWD) modules
    
    clean: Makefile
    	$(MAKE) -C $(KERNEL_DIR)/build SUBDIRS=$(PWD) clean

    Code:
    default: Makefile
    	$(MAKE) -C $(KERNEL_DIR)/build SUBDIRS=$(shell pwd) modules
    
    clean: Makefile
    	$(MAKE) -C $(KERNEL_DIR)/build SUBDIRS=$(shell pwd) clean
    The Second problem is that when I try make install, it fail with
    /home/nicola/Desktop/cpia2_driver-2.0/cpia2.h:40:28: fatal error: linux/videodev.h: No such file or directory
    .

    The problem is that kernel 2.6.38 dropped support for v4l: http://kubuntuforums.net/forums/inde...opic=3115676.0
    At now I tried:
    1. Rename videodev.h include with videodev2.h
    2. Use #include </usr/include/libv4l1-videodev.h> instead #include <linux/videodev.h>
      Source: http://dolot.kipdola.com/wiki/Instal...6.38_and_above

    but both methods fail and give a lot of error and mistake

    Someone could help?
    Last edited by Jack Jon Cade; September 18th, 2011 at 11:00 AM.

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
  •