n770 alsa build broken
Please supply the patch.
#make n770_defconfig
#make
sound/arm/omap/omap-alsa-dma.c: In function `omap_sound_dma_link_lch':sound/arm/omap/omap-alsa-dma.c:143: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c:143: error: (Each undeclared identifier is reported only oncesound/arm/omap/omap-alsa-dma.c:143: error: for each function it appears in.)sound/arm/omap/omap-alsa-dma.c:145: warning: implicit declaration of function `FN_OUT'sound/arm/omap/omap-alsa-dma.c: In function `omap_request_alsa_sound_dma':sound/arm/omap/omap-alsa-dma.c:164: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c: In function `omap_sound_dma_unlink_lch':sound/arm/omap/omap-alsa-dma.c:222: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c: In function `omap_free_alsa_sound_dma':sound/arm/omap/omap-alsa-dma.c:243: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c: In function `omap_stop_alsa_sound_dma':sound/arm/omap/omap-alsa-dma.c:277: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c: In function `omap_clear_alsa_sound_dma':sound/arm/omap/omap-alsa-dma.c:297: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c: In function `audio_set_dma_params_play':sound/arm/omap/omap-alsa-dma.c:315: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c: In function `audio_set_dma_params_capture':sound/arm/omap/omap-alsa-dma.c:333: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c: In function `audio_start_dma_chain':sound/arm/omap/omap-alsa-dma.c:346: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c: In function `omap_start_alsa_sound_dma':sound/arm/omap/omap-alsa-dma.c:368: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c: In function `sound_dma_irq_handler':sound/arm/omap/omap-alsa-dma.c:414: error: `FN_IN' undeclared (first use in this function)sound/arm/omap/omap-alsa-dma.c:419: warning: implicit declaration of function `DPRINTK'
make[3]: *** [sound/arm/omap/omap-alsa-dma.o] Error 1 make[2]: *** [sound/arm/omap] Error 2
make[1]: *** [sound/arm] Error 2
make: *** [sound] Error 2
---Komal Shah
http://komalshah.blogspot.com/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Quoted 10 lines · Komal Shah
Please supply the patch.
#make
n770_defconfig
#make
sound/arm/omap/omap-alsa-dma.c: In function `omap_sound_dma_link_lch':sound/arm/omap/omap-alsa-dma.c:143: error: `FN_IN' undeclared (first use in this function)
In which kernel version you got this? I tried to use your method instead of opening xconfig but I could not reproduce this neither with 2.6.16-omap2 or
with the linux-omap-git head. With the code in head I the build stopped however already earlier to some MMC build problems. The 2.6.16-omap2 compiled just fine.
One thing I noticed however. As 770 uses also alsa driver, it needs alsa platform driver initialization stuff. For that I will send a patch in a separate mail.
Mika