(Adding media list in Cc) 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 > > Here's the relevant output of genkernel: > > ================================= > > * >> Compiling 3.4.9-gentoo bzImage... > * ERROR: Failed to compile the "bzImage" target... > > * -- Grepping log... -- > > HOSTCC scripts/mod/file2alias.o > SHIPPED scripts/genksyms/parse.tab.h > SHIPPED scripts/genksyms/parse.tab.c > HOSTCC scripts/genksyms/lex.lex.o > scripts/genksyms/lex.lex.c_shipped: In function ‘yylex1’: > scripts/genksyms/lex.lex.c_shipped:904:1: warning: ignoring return > value of ‘fwrite’, declared with attribute warn_unused_result > -- > CC fs/ext4/hash.o > CC block/blk-map.o > CC fs/ext4/resize.o > CC block/blk-exec.o > fs/ext4/resize.c: In function ‘ext4_update_super’: > fs/ext4/resize.c:1144:9: warning: unused variable ‘ret’ > -- > CC drivers/video/console/font_8x8.o > CC drivers/video/console/font_8x16.o > CC drivers/video/console/softcursor.o > CC net/ipv4/udplite.o > CC drivers/video/console/fbcondecor.o > drivers/video/console/fbcondecor.c:511:6: warning: function > declaration isn’t a prototype > -- > CC net/sched/sch_blackhole.o > CC net/mac80211/driver-trace.o > CC net/sched/cls_api.o > CC net/mac80211/mlme.o > net/mac80211/mlme.c: In function ‘ieee80211_prep_connection’: > net/mac80211/mlme.c:3058:19: warning: ‘sta’ may be used uninitialized > in this function > -- > (.text+0x16d770): undefined reference to `usb_control_msg' > drivers/built-in.o: In function `sd_driver_init': > m5602_core.c:(.init.text+0x91ad): undefined reference to `usb_register_driver' > drivers/built-in.o: In function `sd_driver_exit': > m5602_core.c:(.exit.text+0xed3): undefined reference to `usb_deregister' > make: *** [.tmp_vmlinux1] Error 1 > * Gentoo Linux Genkernel; Version 3.4.24_p2 > * Running with options: all --menuconfig > > * ERROR: Failed to compile the "bzImage" target... > > ================================= > > Files containing output about the environment are also attached to > this mail. Thank you very much in advance! > > Best regards, > Yuriy -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html