天嵌 ARM开发社区

 找回密码
 注册
查看: 3139|回复: 4

TQ6410的android LINUX内核编译出错

[复制链接]
yjwxwq 发表于 2010-8-8 23:37:31 | 显示全部楼层 |阅读模式
今天参照教程编译了TQ6410的android LINUX内核,结果编译出错,出错信息如下:
In file included from arch/arm/plat-s3c/include/plat/s3c-dma.h:9,
                 from arch/arm/plat-s3c64xx/include/plat/dma.h:12,
                 from sound/soc/s3c64xx/s3c-pcm.c:37:
arch/arm/plat-s3c/include/mach/dma-pl080.h:12:1: warning: "MAX_DMA_ADDRESS" redefined
In file included from sound/soc/s3c64xx/s3c-pcm.c:34:
/opt/EmbedSky/linux-2.6.29_android/arch/arm/include/asm/dma.h:10:1: warning: this is the location of the previous definition
In file included from arch/arm/plat-s3c/include/plat/s3c-dma.h:9,
                 from arch/arm/plat-s3c64xx/include/plat/dma.h:12,
                 from sound/soc/s3c64xx/s3c-pcm.c:37:
arch/arm/plat-s3c/include/mach/dma-pl080.h:12:1: warning: "MAX_DMA_ADDRESS" redefined
In file included from sound/soc/s3c64xx/s3c-pcm.c:34:
/opt/EmbedSky/linux-2.6.29_android/arch/arm/include/asm/dma.h:10:1: warning: this is the location of the previous definition
  CC      sound/soc/s3c64xx/s3c64xx-ac97.o
In file included from sound/soc/s3c64xx/s3c64xx-ac97.c:29:
include/sound/driver.h:1:2: warning: #warning "This file is deprecated"
In file included from arch/arm/plat-s3c/include/mach/s3c-dma.h:14,
                 from arch/arm/mach-s3c6400/include/mach/dma.h:14,
                 from sound/soc/s3c64xx/s3c64xx-ac97.c:45:
arch/arm/plat-s3c/include/mach/dma-pl080.h:12:1: warning: "MAX_DMA_ADDRESS" redefined
In file included from arch/arm/plat-s3c/include/mach/s3c-dma.h:10,
                 from arch/arm/mach-s3c6400/include/mach/dma.h:14,
                 from sound/soc/s3c64xx/s3c64xx-ac97.c:45:
/opt/EmbedSky/linux-2.6.29_android/arch/arm/include/asm/dma.h:10:1: warning: this is the location of the previous definition
sound/soc/s3c64xx/s3c64xx-ac97.c:459: warning: initialization from incompatible pointer type
sound/soc/s3c64xx/s3c64xx-ac97.c:460: warning: initialization from incompatible pointer type
In file included from sound/soc/s3c64xx/s3c64xx-ac97.c:29:
include/sound/driver.h:1:2: warning: #warning "This file is deprecated"
In file included from arch/arm/plat-s3c/include/mach/s3c-dma.h:14,
                 from arch/arm/mach-s3c6400/include/mach/dma.h:14,
                 from sound/soc/s3c64xx/s3c64xx-ac97.c:45:
arch/arm/plat-s3c/include/mach/dma-pl080.h:12:1: warning: "MAX_DMA_ADDRESS" redefined
In file included from arch/arm/plat-s3c/include/mach/s3c-dma.h:10,
                 from arch/arm/mach-s3c6400/include/mach/dma.h:14,
                 from sound/soc/s3c64xx/s3c64xx-ac97.c:45:
/opt/EmbedSky/linux-2.6.29_android/arch/arm/include/asm/dma.h:10:1: warning: this is the location of the previous definition
  CC      sound/soc/s3c64xx/smdk64xx_wm9713.o
In file included from sound/soc/s3c64xx/smdk64xx_wm9713.c:23:
include/sound/driver.h:1:2: warning: #warning "This file is deprecated"
  LD      sound/soc/s3c64xx/snd-soc-s3c.o
  LD      sound/soc/s3c64xx/snd-soc-s3c64xx-ac97.o
  LD      sound/soc/s3c64xx/snd-soc-smdk64xx-wm9713.o
  LD      sound/soc/s3c64xx/built-in.o
  LD      sound/soc/sh/built-in.o
  LD      sound/soc/built-in.o
  LD      sound/sparc/built-in.o
  LD      sound/spi/built-in.o
  LD      sound/synth/emux/built-in.o
  LD      sound/synth/built-in.o
  LD      sound/usb/caiaq/built-in.o
  LD      sound/usb/usx2y/built-in.o
  LD      sound/usb/built-in.o
  CC      sound/ac97_bus.o
  CC      sound/last.o
  LD      sound/built-in.o
make[1]: *** No rule to make target `|', needed by `firmware/zd1211b_uphr.gen.S'.  Stop.
make: *** [firmware] Error 2
[root@localhost linux-2.6.29_android]#
说明:我使用的是REDHAT9,交叉编译器为EIBA-4.3.3(该编译器在使用TQ2440时编译过内核、文件系统等),使用的内核源文件为:linux-2.6.29_android_V0.1.tar.bz2(教程上是linux-2.6.28_android_V0.1.tar.bz2而开发板附带的光盘上没有这个文件)。编译过程与教程上的一致,并且是使用的天嵌提供的config_TQ6410_Q43_android配置文件。TQ6410 android使用手册上面没有说明使用什么交叉编译器,结果自己重新将光盘上的EABI-4.3.3_V0.1.tar.bz2重新安装后编译还是出现同样的错误。我想问一下天嵌的工程师,是不是必须要安装红帽子企业版才不会出现以上错误,那交叉编译器是使用4.3.3的吗?多谢!
guoyin 发表于 2010-8-9 12:15:52 | 显示全部楼层
楼主编译的命令是什么?
 楼主| yjwxwq 发表于 2010-8-9 23:11:32 | 显示全部楼层
针对二楼的回复:
首先执行:cp -f config_TQ6410_Q43_android .config
然后执行:make menuconfig,进去后确认System Type 是选择的S3C6410;
第三部执行:arm-linux-gcc  -v 确认4.3.3的交叉编译器已经生效;
第四步执行:make zImage;
结果出现了上面的错误;
对于这个问题,我想听听天嵌的工程师的答复。
 楼主| yjwxwq 发表于 2010-8-9 23:17:44 | 显示全部楼层
针对二楼的回复:
首先执行:cp -f config_TQ6410_Q43_android .config
然后执行:make menuconfig,进去后确认System Type 是选择的S3C6410;
第三部执行:arm-linux-gcc  -v 确认4.3.3的交叉编译器已经生效;
第四步执行:make zImage;
结果出现了上面的错误;
对于这个问题,我想听听天嵌的工程师的答复。
guoyin 发表于 2010-8-10 21:33:33 | 显示全部楼层
哦,看来还真要天嵌工程师才能解决了!楼主make distclean后再重复你的操作步骤看看,不知能不能解决!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-3 14:31 , Processed in 1.046875 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表