[#4653] It fails to build kernel with audio ssm2602 in BF527-EZKIT in trunk
Submitted By: Vivi Li
Open Date
2008-11-19 02:48:20 Close Date
2008-12-04 01:40:59
Priority:
Medium Assignee:
Cliff Cai
Status:
Closed Fixed In Release:
N/A
Found In Release:
N/A Release:
Category:
Make Errors Board:
EZKIT Lite
Processor:
BF527 Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Under Debugging
Uboot version or rev.:
Toolchain version or rev.:
gcc4.1 2008_Nov_13
App binary format:
N/A
Summary: It fails to build kernel with audio ssm2602 in BF527-EZKIT in trunk
Details:
Build kernel with audio ssm2602 on BF527-EZKIT, it fails at bf5xx-ac97-pcm.c.
It will both fail when audio ssm2602 is built-in mode or module.
Config files are attached.
Bellow is the log when audio ssm2602 is built-in mode:
--
LD .tmp_vmlinux1^M
sound/built-in.o: In function `bf5xx_mmap_copy':^M
sound/soc/blackfin/bf5xx-ac97-pcm.c:(.text+0x1a274): undefined reference to `bf5xx_pcm_to_ac97'^M
sound/soc/blackfin/bf5xx-ac97-pcm.c:(.text+0x1a2b2): undefined reference to `bf5xx_ac97_to_pcm'^M
make[1]: *** [.tmp_vmlinux1] Error 1^M
make[1]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/linux-2.6.x'^M
make: *** [linux] Error 1^M
--
Bellow is the log when audio ssm2602 is module:
--
SYSMAP System.map^M
SYSMAP .tmp_System.map^M
OBJCOPY arch/blackfin/boot/vmlinux.bin^M
GZIP arch/blackfin/boot/vmlinux.gz^M
Building modules, stage 2.^M
MODPOST 41 modules^M
ERROR: "bf5xx_pcm_to_ac97" [sound/soc/blackfin/snd-bf5xx-ac97.ko] undefined!^M
ERROR: "bf5xx_ac97_to_pcm" [sound/soc/blackfin/snd-bf5xx-ac97.ko] undefined!^M
make[2]: *** [__modpost] Error 1^M
make[1]: *** [modules] Error 2^M
make[1]: *** Waiting for unfinished jobs....^M
--
Follow-ups
--- Cliff Cai 2008-11-28 02:32:16
SSM2602 should have nothing to do with ac97,so selecting I2S relative stuff is
enough.
Cliff
--- Vivi Li 2008-12-04 01:40:59
I changed the build scripts and it's ok now.
Close it.
Thanks!
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
config.audio_ssm2602.module application/octet-stream 36748 Vivi Li
config.audio_ssm2602.built-in application/octet-stream 36737 Vivi Li