Re: PROBLEM: Ali m5602 won't compile (3.4.9-gentoo)
From: Ezequiel Garcia
Date: Mon Oct 15 2012 - 06:54:50 EST
On Sun, Oct 14, 2012 at 11:39 AM, Yuriy Davygora
<davygora@xxxxxxxxxxxxxx> wrote:
> Hello,
>
> I have trouble compiling the 3.4.9 kernel with genkernel (gentoo)
> having enabled the Ali Corp webcam (m5602) driver.
>
> Here's the output of the ver_linux script:
>
> =================================
>
> yuriy-newlaptop linux # sh scripts/ver_linux
> If some fields are empty or look unusual you may have an old version.
> Compare to the current minimal requirements in Documentation/Changes.
>
> Linux yuriy-newlaptop 3.4.9-gentoo #1 SMP Sat Oct 13 10:01:59 CEST
> 2012 x86_64 Intel(R) Core(TM) i3 CPU M 380 @ 2.53GHz GenuineIntel
> GNU/Linux
>
> Gnu C 4.5.4
> Gnu make 3.82
> binutils 2.22
> util-linux 2.21.2
> mount support
> module-init-tools 3.16
> e2fsprogs 1.42
> Linux C Library 2.15
> Dynamic linker (ldd) 2.15
> Procps 3.2.8
> Net-tools 1.60_p20110409135728
> Kbd 1.15.3wip
> Sh-utils 8.16
> wireless-tools 29
> Modules Loaded ipv6 acpi_cpufreq i2c_i801 coretemp joydev
> freq_table battery ac pcspkr microcode mperf processor thermal
> sha256_generic libiscsi scsi_transport_iscsi tg3 libphy e1000 fuse nfs
> lockd sunrpc jfs raid10 raid456 async_raid6_recov async_memcpy
> async_pq async_xor xor async_tx raid6_pq raid1 raid0 dm_snapshot
> dm_crypt dm_mirror dm_region_hash dm_log dm_mod scsi_wait_scan
> hid_sunplus hid_sony hid_samsung hid_pl hid_petalynx hid_monterey
> hid_microsoft hid_logitech hid_gyration hid_ezkey hid_cypress
> hid_chicony hid_cherry hid_belkin hid_apple hid_a4tech sl811_hcd
> usbhid ohci_hcd ssb uhci_hcd usb_storage ehci_hcd usbcore usb_common
> aic94xx libsas qla2xxx megaraid_sas megaraid_mbox megaraid_mm megaraid
> aacraid sx8 DAC960 cciss 3w_9xxx 3w_xxxx mptsas scsi_transport_sas
> mptfc scsi_transport_fc scsi_tgt mptspi mptscsih mptbase atp870u
> dc395x qla1280 imm parport dmx3191d sym53c8xx gdth advansys initio
> BusLogic arcmsr aic7xxx aic79xx scsi_transport_spi sg pdc_adma
> sata_inic162x sata_mv ata_piix ahci libahci sata_qstor sata_vsc
> sata_uli sata_sis sata_sx4 sata_nv sata_via sata_svw sata_sil24
> sata_sil sata_promise pata_sl82c105 pata_cs5530 pata_cs5520 pata_via
> pata_jmicron pata_marvell pata_sis pata_netcell pata_sc1200
> pata_pdc202xx_old pata_triflex pata_atiixp pata_opti pata_amd pata_ali
> pata_it8213 pata_pcmcia pcmcia pcmcia_core pata_ns87415 pata_ns87410
> pata_serverworks pata_artop pata_it821x pata_optidma pata_hpt3x2n
> pata_hpt3x3 pata_hpt37x pata_hpt366 pata_cmd64x pata_efar pata_rz1000
> pata_sil680 pata_radisys pata_pdc2027x pata_mpiix libata
>
> =================================
>
> My current kernel configuration is attached to this mail. What I
> tried to do, was to enable the Ali Corp webcam (m5602) driver using
> menuconfig as follows:
>
> Device Drivers --->
> <*> Multimedia Support --->
> <*> Video For Linux (NEW)
> [*] Video capture adapters (NEW) --->
> [*] V4L USB devices (NEW) --->
> <*> GSPCA based webcams (NEW) --->
> <*> Ali USB m5602 Camera Driver
>
I'm confused, your attached kernel config does not enable MEDIA_SUPPORT.
You should attach the problematic config.
Ezequiel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/