mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ezequiel Garcia <elezegarcia@gmail.com>
To: Yuriy Davygora <davygora@googlemail.com>
Cc: linux-kernel@vger.kernel.org, linux-media <linux-media@vger.kernel.org>
Subject: Re: PROBLEM: Ali m5602 won't compile (3.4.9-gentoo)
Date: Sun, 14 Oct 2012 12:01:33 -0300	[thread overview]
Message-ID: <CALF0-+U=fcMnrxAxmFK-RfkbfE-j45N3TL4RJ2w+q2bEm0omPQ@mail.gmail.com> (raw)
In-Reply-To: <CABjyUiLyfHFE6ew5JPaH4YSz5k1sm4HnZFm4e12v=_Pcp6jGNw@mail.gmail.com>

(Adding media list in Cc)

On Sun, Oct 14, 2012 at 11:39 AM, Yuriy Davygora
<davygora@googlemail.com> 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

  reply	other threads:[~2012-10-14 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-14 14:39 Yuriy Davygora
2012-10-14 15:01 ` Ezequiel Garcia [this message]
2012-10-15 10:54 ` Ezequiel Garcia
2012-10-15 10:55   ` Ezequiel Garcia
2012-10-15 11:37     ` Ezequiel Garcia
     [not found]       ` <CABjyUiLjhZxANU9pbQjFya5dqXW3D2-w0d-35tfZrcLd3TCscg@mail.gmail.com>
2012-10-15 13:40         ` Ezequiel Garcia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALF0-+U=fcMnrxAxmFK-RfkbfE-j45N3TL4RJ2w+q2bEm0omPQ@mail.gmail.com' \
    --to=elezegarcia@gmail.com \
    --cc=davygora@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®