[#5593] fail to build kernel with module AD1836 and AD1938
Submitted By: Vivi Li
Open Date
2009-10-10 01:58:46 Close Date
2009-10-12 02:42:08
Priority:
Medium Assignee:
Barry Song
Status:
Closed Fixed In Release:
N/A
Found In Release:
2010R1 Release:
Category:
Make Errors Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1-09r1-rc9
App binary format:
N/A
Summary: fail to build kernel with module AD1836 and AD1938
Details:
It fails to build kernel with module AD1836 and AD1938. It fails at bf5xx-tdm-pcm.c.
--
LD init/built-in.o
LD .tmp_vmlinux1
sound/built-in.o: In function `bf5xx_pcm_free_dma_buffers':
sound/soc/blackfin/bf5xx-tdm-pcm.c:278: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:278: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:279: undefined reference to `sport_done'
sound/built-in.o: In function `bf5xx_pcm_preallocate_dma_buffer':
sound/soc/blackfin/bf5xx-tdm-pcm.c:254: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:254: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:256: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:256: undefined reference to `sport_handle'
sound/built-in.o: In function `bf5xx_pcm_pointer':
sound/soc/blackfin/bf5xx-tdm-pcm.c:146: undefined reference to `sport_curr_offset_tx'
sound/soc/blackfin/bf5xx-tdm-pcm.c:149: undefined reference to `sport_curr_offset_rx'
sound/built-in.o: In function `bf5xx_pcm_trigger':
sound/soc/blackfin/bf5xx-tdm-pcm.c:129: undefined reference to `sport_rx_stop'
sound/soc/blackfin/bf5xx-tdm-pcm.c:121: undefined reference to `sport_rx_start'
sound/soc/blackfin/bf5xx-tdm-pcm.c:127: undefined reference to `sport_tx_stop'
sound/soc/blackfin/bf5xx-tdm-pcm.c:119: undefined reference to `sport_tx_start'
sound/built-in.o: In function `bf5xx_pcm_prepare':
sound/soc/blackfin/bf5xx-tdm-pcm.c:98: undefined reference to `sport_set_tx_callback'
sound/soc/blackfin/bf5xx-tdm-pcm.c:99: undefined reference to `sport_config_tx_dma'
sound/soc/blackfin/bf5xx-tdm-pcm.c:102: undefined reference to `sport_set_rx_callback'
sound/soc/blackfin/bf5xx-tdm-pcm.c:103: undefined reference to `sport_config_rx_dma'
sound/built-in.o: In function `bf5xx_pcm_open':
sound/soc/blackfin/bf5xx-tdm-pcm.c:167: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:167: undefined reference to `sport_handle'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'
make: *** [linux] Error 1
--
Follow-ups
--- Barry Song 2009-10-10 03:16:37
Same problems happen to all codecs in blackfin while I2S/TDM/AC97 DAI is built
in but others work as module.
sound/built-in.o: In function `bf5xx_mmap_copy':
sound/soc/blackfin/bf5xx-ac97-pcm.c:63: undefined reference to
`bf5xx_pcm_to_ac97'
sound/soc/blackfin/bf5xx-ac97-pcm.c:71: undefined reference to
`bf5xx_ac97_to_pcm'
sound/built-in.o: In function `bf5xx_pcm_trigger':
sound/soc/blackfin/bf5xx-ac97-pcm.c:213: undefined reference to
`sport_rx_stop'
sound/soc/blackfin/bf5xx-ac97-pcm.c:199: undefined reference to
`sport_rx_start'
sound/soc/blackfin/bf5xx-ac97-pcm.c:208: undefined reference to
`sport_tx_stop'
sound/soc/blackfin/bf5xx-ac97-pcm.c:197: undefined reference to
`sport_tx_start'
sound/built-in.o: In function `bf5xx_pcm_prepare':
sound/soc/blackfin/bf5xx-ac97-pcm.c:161: undefined reference to
`sport_set_tx_callback'
sound/soc/blackfin/bf5xx-ac97-pcm.c:162: undefined reference to
`sport_config_tx_dma'
sound/soc/blackfin/bf5xx-ac97-pcm.c:165: undefined reference to
`sport_set_rx_callback'
sound/soc/blackfin/bf5xx-ac97-pcm.c:166: undefined reference to
`sport_config_rx_dma'
sound/built-in.o: In function `bf5xx_pcm_open':
sound/soc/blackfin/bf5xx-ac97-pcm.c:257: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-ac97-pcm.c:257: undefined reference to `sport_handle'
sound/built-in.o: In function `bf5xx_pcm_free_dma_buffers':
sound/soc/blackfin/bf5xx-ac97-pcm.c:379: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-ac97-pcm.c:379: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-ac97-pcm.c:400: undefined reference to `sport_handle'
sound/built-in.o:sound/soc/blackfin/bf5xx-ac97-pcm.c:400: more undefined
references to `sport_handle' follow
sound/built-in.o: In function `bf5xx_pcm_free_dma_buffers':
sound/soc/blackfin/bf5xx-ac97-pcm.c:413: undefined reference to `sport_done'
sound/soc/blackfin/bf5xx-ac97-pcm.c:406: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-ac97-pcm.c:406: undefined reference to `sport_handle'
sound/built-in.o: In function `bf5xx_pcm_preallocate_dma_buffer':
sound/soc/blackfin/bf5xx-ac97-pcm.c:338: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-ac97-pcm.c:338: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-ac97-pcm.c:340: undefined reference to `sport_handle'
sound/built-in.o:sound/soc/blackfin/bf5xx-ac97-pcm.c:340: more undefined
references to `sport_handle' follow
sound/built-in.o: In function `bf5xx_pcm_trigger':
sound/soc/blackfin/bf5xx-i2s-pcm.c:124: undefined reference to `sport_rx_stop'
sound/soc/blackfin/bf5xx-i2s-pcm.c:116: undefined reference to
`sport_rx_start'
sound/soc/blackfin/bf5xx-i2s-pcm.c:122: undefined reference to `sport_tx_stop'
sound/soc/blackfin/bf5xx-i2s-pcm.c:114: undefined reference to
`sport_tx_start'
sound/built-in.o: In function `bf5xx_pcm_prepare':
sound/soc/blackfin/bf5xx-i2s-pcm.c:92: undefined reference to
`sport_set_tx_callback'
sound/soc/blackfin/bf5xx-i2s-pcm.c:93: undefined reference to
`sport_config_tx_dma'
sound/soc/blackfin/bf5xx-i2s-pcm.c:96: undefined reference to
`sport_set_rx_callback'
sound/soc/blackfin/bf5xx-i2s-pcm.c:97: undefined reference to
`sport_config_rx_dma'
sound/built-in.o: In function `bf5xx_pcm_open':
sound/soc/blackfin/bf5xx-i2s-pcm.c:163: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-i2s-pcm.c:163: undefined reference to `sport_handle'
sound/built-in.o: In function `bf5xx_pcm_free_dma_buffers':
sound/soc/blackfin/bf5xx-i2s-pcm.c:244: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-i2s-pcm.c:244: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-i2s-pcm.c:245: undefined reference to `sport_done'
sound/built-in.o: In function `bf5xx_pcm_preallocate_dma_buffer':
sound/soc/blackfin/bf5xx-i2s-pcm.c:220: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-i2s-pcm.c:220: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-i2s-pcm.c:222: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-i2s-pcm.c:222: undefined reference to `sport_handle'
sound/built-in.o: In function `bf5xx_pcm_pointer':
sound/soc/blackfin/bf5xx-i2s-pcm.c:141: undefined reference to
`sport_curr_offset_tx'
sound/soc/blackfin/bf5xx-i2s-pcm.c:144: undefined reference to
`sport_curr_offset_rx'
sound/built-in.o: In function `bf5xx_pcm_free_dma_buffers':
sound/soc/blackfin/bf5xx-tdm-pcm.c:278: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:278: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:279: undefined reference to `sport_done'
sound/built-in.o: In function `bf5xx_pcm_preallocate_dma_buffer':
sound/soc/blackfin/bf5xx-tdm-pcm.c:254: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:254: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:256: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:256: undefined reference to `sport_handle'
sound/built-in.o: In function `bf5xx_pcm_pointer':
sound/soc/blackfin/bf5xx-tdm-pcm.c:146: undefined reference to
`sport_curr_offset_tx'
sound/soc/blackfin/bf5xx-tdm-pcm.c:149: undefined reference to
`sport_curr_offset_rx'
sound/built-in.o: In function `bf5xx_pcm_trigger':
sound/soc/blackfin/bf5xx-tdm-pcm.c:129: undefined reference to `sport_rx_stop'
sound/soc/blackfin/bf5xx-tdm-pcm.c:121: undefined reference to
`sport_rx_start'
sound/soc/blackfin/bf5xx-tdm-pcm.c:127: undefined reference to `sport_tx_stop'
sound/soc/blackfin/bf5xx-tdm-pcm.c:119: undefined reference to
`sport_tx_start'
sound/built-in.o: In function `bf5xx_pcm_prepare':
sound/soc/blackfin/bf5xx-tdm-pcm.c:98: undefined reference to
`sport_set_tx_callback'
sound/soc/blackfin/bf5xx-tdm-pcm.c:99: undefined reference to
`sport_config_tx_dma'
sound/soc/blackfin/bf5xx-tdm-pcm.c:102: undefined reference to
`sport_set_rx_callback'
sound/soc/blackfin/bf5xx-tdm-pcm.c:103: undefined reference to
`sport_config_rx_dma'
sound/built-in.o: In function `bf5xx_pcm_open':
sound/soc/blackfin/bf5xx-tdm-pcm.c:167: undefined reference to `sport_handle'
sound/soc/blackfin/bf5xx-tdm-pcm.c:167: undefined reference to `sport_handle'
make: *** [.tmp_vmlinux1] Error 1
Fixed in Kconfig.
--- Vivi Li 2009-10-12 02:42:08
OK now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.multichannel application/octet-stream 29239 Vivi Li