把友善之臂提供的u-boot-mini6410-20111018移植到tiny6410上,配置完成后编译出现如下问题:
cpu/s3c64xx/movi.o: In function `movi_init':
/home/richard/kernel/u-boot-mini6410/cpu/s3c64xx/movi.c:45: undefined reference to `hsmmc_set_gpio'
/home/richard/kernel/u-boot-mini6410/cpu/s3c64xx/movi.c:46: undefined reference to `hsmmc_reset'
/home/richard/kernel/u-boot-mini6410/cpu/s3c64xx/movi.c:48: undefined reference to `hsmmc_init'
cpu/s3c64xx/movi.o: In function `movi_write_env':
/home/richard/kernel/u-boot-mini6410/cpu/s3c64xx/movi.c:58: undefined reference to `movi_write'
cpu/s3c64xx/movi.o: In function `movi_read_env':
/home/richard/kernel/u-boot-mini6410/cpu/s3c64xx/movi.c:63: undefined reference to `movi_read'
common/libcommon.a(cmd_movi.o): In function `do_movi':
/home/richard/kernel/u-boot-mini6410/common/cmd_movi.c:69: undefined reference to `movi_read'
/home/richard/kernel/u-boot-mini6410/common/cmd_movi.c:77: undefined reference to `movi_write'
/home/richard/kernel/u-boot-mini6410/common/cmd_movi.c:79: undefined reference to `movi_write'
make: *** [u-boot] Error 1
搜索后发现在include/movi.h中将上述函数声明为外部函数,但是不知道函数定义在哪里。
如果不为tiny6410配置,而直接编译已有的mini6410就不会有问题。
求解