编译u_boot时出错unterminated argument list invoking macro "U_BOO

内核编译和嵌入式产品的设计与开发
回复
cdxxh
帖子: 1
注册时间: 2008-11-07 23:48
送出感谢: 0
接收感谢: 0

编译u_boot时出错unterminated argument list invoking macro "U_BOO

#1

帖子 cdxxh » 2008-11-08 0:18

代码:


root@xxh:/usr/local/arm/u-boot-1.3.3# make
for dir in tools examples api_examples ; do make -C $dir _depend ; done
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/tools'
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/tools'
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/examples'
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/examples'
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/api_examples'
make[1]: 没有什么可以做的为 `_depend'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/api_examples'
make -C tools all
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/tools'
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/tools'
make -C examples all
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/examples'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/examples'
make -C api_examples all
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/api_examples'
arm-linux-ar crv libglue.a
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/api_examples'
make -C cpu/arm920t start.o
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/cpu/arm920t'
make[1]: “start.o”是最新的。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/cpu/arm920t'
make -C lib_generic/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/lib_generic'
make[1]: “libgeneric.a”是最新的。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/lib_generic'
make -C cpu/arm920t/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/cpu/arm920t'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/cpu/arm920t'
make -C cpu/arm920t/s3c24x0/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/cpu/arm920t/s3c24x0'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/cpu/arm920t/s3c24x0'
make -C lib_arm/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/lib_arm'
make[1]: “libarm.a”是最新的。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/lib_arm'
make -C fs/cramfs/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/fs/cramfs'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/fs/cramfs'
make -C fs/fat/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/fs/fat'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/fs/fat'
make -C fs/fdos/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/fs/fdos'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/fs/fdos'
make -C fs/jffs2/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/fs/jffs2'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/fs/jffs2'
make -C fs/reiserfs/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/fs/reiserfs'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/fs/reiserfs'
make -C fs/ext2/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/fs/ext2'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/fs/ext2'
make -C net/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/net'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/net'
make -C disk/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/disk'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/disk'
make -C drivers/bios_emulator/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/bios_emulator'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/bios_emulator'
make -C drivers/block/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/block'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/block'
make -C drivers/dma/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/dma'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/dma'
make -C drivers/hwmon/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/hwmon'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/hwmon'
make -C drivers/i2c/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/i2c'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/i2c'
make -C drivers/input/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/input'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/input'
make -C drivers/misc/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/misc'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/misc'
make -C drivers/mtd/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/mtd'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/mtd'
make -C drivers/mtd/nand/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/mtd/nand'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/mtd/nand'
make -C drivers/mtd/nand_legacy/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/mtd/nand_legacy'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/mtd/nand_legacy'
make -C drivers/mtd/onenand/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/mtd/onenand'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/mtd/onenand'
make -C drivers/net/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/net'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/net'
make -C drivers/net/sk98lin/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/net/sk98lin'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/net/sk98lin'
make -C drivers/pci/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/pci'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/pci'
make -C drivers/pcmcia/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/pcmcia'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/pcmcia'
make -C drivers/spi/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/spi'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/spi'
make -C drivers/rtc/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/rtc'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/rtc'
make -C drivers/serial/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/serial'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/serial'
make -C drivers/usb/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/usb'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/usb'
make -C drivers/video/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/drivers/video'
make[1]: 没有什么可以做的为 `all'。
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/drivers/video'
make -C common/
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/common'
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -mshort-load-bytes -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/usr/local/arm/u-boot-1.3.3/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/arm-gcc/bin/../lib/gcc-lib/arm-linux/3.2/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mapcs-32 -Wall -Wstrict-prototypes -c -o cmd_autoscript.o cmd_autoscript.c
cmd_autoscript.c:238:1: directives may not be used inside a macro argument
cmd_autoscript.c:237:9: unterminated argument list invoking macro "U_BOOT_CMD"
cmd_autoscript.c:242: parse error before ')' token
make[1]: *** [cmd_autoscript.o] 错误 1
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/common'
make: *** [common/libcommon.a] 错误 2


菜鸟求解,哪位大哥教教小弟,谢谢
头像
jeffwei
帖子: 1344
注册时间: 2007-05-12 22:48
送出感谢: 0
接收感谢: 0

Re: 编译u_boot时出错unterminated argument list invoking macro "U_BOO

#2

帖子 jeffwei » 2008-11-18 20:39

贴这段就够了
make[1]: 正在进入目录 `/usr/local/arm/u-boot-1.3.3/common'
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -mshort-load-bytes -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/usr/local/arm/u-boot-1.3.3/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/arm-gcc/bin/../lib/gcc-lib/arm-linux/3.2/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mapcs-32 -Wall -Wstrict-prototypes -c -o cmd_autoscript.o cmd_autoscript.c
cmd_autoscript.c:238:1: directives may not be used inside a macro argument
cmd_autoscript.c:237:9: unterminated argument list invoking macro "U_BOOT_CMD"

cmd_autoscript.c:242: parse error before ')' token
make[1]: *** [cmd_autoscript.o] 错误 1
make[1]:正在离开目录 `/usr/local/arm/u-boot-1.3.3/common'
make: *** [common/libcommon.a] 错误 2
两行是关键
Gobeaty528
帖子: 1
注册时间: 2008-11-13 14:23
送出感谢: 0
接收感谢: 0

Beautiful Smile and Love

#3

帖子 Gobeaty528 » 2008-11-20 1:44

bump!!haha

The poor are very wonderful people. One evening we went out and we picked up four people from the street. And one of them was in a most terrible condition,and I told the sisters: You take care of the other three. I take care of this one who looked worse. So I did for her all that my love can do. I put her in bed, and there was such a beautiful smile on her face. She took hold of my hand as she said just the words “thank you” and she died. I could not help but examine my conscience[良心]before her and I asked what would I say if I was in her place. And my answer was very simple. I would have tried to draw a little attention to myself. I would have said I am hungry, that I am dying, I am cold, I am in pain, or something, but she gave me much more-she gave me her grateful love. And she died with a smile on her face. As did that man whom we picked up from the drain[阴沟、下水道], half eaten with worms, and we brought him to the home. “I have lived like an animal in the street, but I am going to die like an angel, loved and cared for.” And it was so wonderful to see the greatness of that man who could speak like that, who could die like that without blaming anybody, without cursing anybody, without comparing anything. Like an angel-this is the greatness of our people. And that is why we believe what Jesus had said: I was hungry, I was naked, I was homeless, I was unwanted, unloved, uncared for, and you did it to me.

Thsale is a professional, loyal and reliable wow gold supplier online, we pioneered selling cheap wow gold. Welcome to thsale buy world of warcraft gold Buy Cheap WoW Gold,our wow gold site: WoW Gold buy WoW Gold, buy wow power leveling,cheap wow power leveling World of Warcraft Gold, Please look here! We are a Great MMORPG company. wow money and wow items,which is very cheap WOW Gold!All US Server 24.99$/1000G on sell! Cheap wow gold,WOTLK Power Leveling ,wow power leveling,Buy Cheapest/Safe/Fast WoW US EU Gold Power leveling
头像
uusky
帖子: 159
注册时间: 2006-09-02 10:02
送出感谢: 0
接收感谢: 0
联系:

Re: 编译u_boot时出错unterminated argument list invoking macro "U_BOO

#4

帖子 uusky » 2009-02-08 23:17

我遇到同样的问题,正在找解决方案呢。不知道为啥?报那段语法错误,但是看不错什么语法错误!
回复

回到 “内核及嵌入式开发”