Re: [Trac #201] CAFÉ camera driver build failure

Zarro Boogs per Child bugtracker at laptop.org
Fri Oct 20 05:10:53 EDT 2006


#201: CAFÉ camera driver build failure
--------------------+-------------------------------------------------------
 Reporter:  dwmw2   |        Owner:  blizzard
     Type:  defect  |       Status:  new     
 Priority:  normal  |    Milestone:  BTest-1 
Component:  distro  |   Resolution:          
 Keywords:          |  
--------------------+-------------------------------------------------------
Old description:

> Looks like a missing #include <linux/vmalloc.h>
>
> drivers/media/video/m88alp01-ccic.c: In function ‘m88_setup_siobuf’:
> drivers/media/video/m88alp01-ccic.c:1159: error: implicit declaration of
> function ‘vmalloc_user’
> drivers/media/video/m88alp01-ccic.c:1159: warning: assignment makes
> pointer from integer without a cast
> drivers/media/video/m88alp01-ccic.c: In function ‘m88_free_sio_buffers’:
> drivers/media/video/m88alp01-ccic.c:1193: error: implicit declaration of
> function ‘vfree’
> drivers/media/video/m88alp01-ccic.c: In function ‘m88_v4l_mmap’:
> drivers/media/video/m88alp01-ccic.c:1430: error: implicit declaration of
> function ‘remap_vmalloc_range’
> drivers/media/video/m88alp01-ccic.c: In function ‘m88_pci_probe’:
> drivers/media/video/m88alp01-ccic.c:2234: warning: passing argument 2 of
> ‘request_irq’ from incompatible pointer type
> make[4]: *** [drivers/media/video/m88alp01-ccic.o] Error 1

New description:

 Looks like a missing #include <linux/vmalloc.h>
 {{{
 drivers/media/video/m88alp01-ccic.c: In function ‘m88_setup_siobuf’:
 drivers/media/video/m88alp01-ccic.c:1159: error: implicit declaration of
 function ‘vmalloc_user’
 drivers/media/video/m88alp01-ccic.c:1159: warning: assignment makes
 pointer from integer without a cast
 drivers/media/video/m88alp01-ccic.c: In function ‘m88_free_sio_buffers’:
 drivers/media/video/m88alp01-ccic.c:1193: error: implicit declaration of
 function ‘vfree’
 drivers/media/video/m88alp01-ccic.c: In function ‘m88_v4l_mmap’:
 drivers/media/video/m88alp01-ccic.c:1430: error: implicit declaration of
 function ‘remap_vmalloc_range’
 drivers/media/video/m88alp01-ccic.c: In function ‘m88_pci_probe’:
 drivers/media/video/m88alp01-ccic.c:2234: warning: passing argument 2 of
 ‘request_irq’ from incompatible pointer type
 make[4]: *** [drivers/media/video/m88alp01-ccic.o] Error 1
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/201#comment:1>
One Laptop Per Child <http://laptop.org/>



More information about the Devel mailing list