作为一个小白,被老师赶鸭子上架了,各位大神求教

我 arm-linux-gcc cmd_hello.c -o cmd_hello.o总是提示这个错误,我已经把有可能的安装包都给补上了还是不行

root@yukin-virtual-machine:/CBT-SuperIOT/SRC/u-boot4cbt210-2011.06# arm-linux-gcc cmd_hello.c -o cmd_hello.o
cmd_hello.c:13: error: expected ')' before '*' token
cmd_hello.c:21: error: expected ')' before numeric constant
这个是我的.c文件的代码,帮我看看好不

#include <common.h>
#include <watchdog.h>
#include <command.h>
#include <image.h>
#include <malloc.h>
#include <u-bootzlib.h>
#include <bzlib.h>
#include <environment.h>
#include <lmb.h>
#include <linuxctype.h>
#include <asmbyteorder.h>
U_BOOT_CMD(hello,CONFIG_SYS_MAXARGS,1,do_hello,"usage info", "help info");
int do_hello (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
printf("hello world\n");
return 0;
}