qn1565763436
易百纳技术社区
易百纳技术社区
0 访问量
0 原创专栏
0 资料
0 粉丝
个性签名:此E友还没有留下个性签名哦~
加入易百纳时间:2019-08-14

个人成就

易百纳技术社区 共获得 0 个点赞
易百纳技术社区 共获得 0 个收藏
易百纳技术社区 共获得 0 次评论/回复

个人勋章

暂无勋章
分类专栏

Ta擅长的领域

暂无
  • 参考【Hi3516CV500╱Hi3516DV300╱Hi3516AV300 SDK 安装及升级使用说明.pdf】 进行SDK安装,在mkyaffs2image这一步卡住了,求各位论坛大佬指点,谢谢! 具体报错信息如下 ---------task [5] build tools which run on pc make -C /home/upload/Hi3516CV500R001C02SPC011/01.software/board/Hi3516CV500_SDK_V2.0.1.1/osdrv/tools/pc/mkyaffs2image/ make[1]: Entering directory `/home/upload/Hi3516CV500R001C02SPC011/01.software/board/Hi3516CV500_SDK_V2.0.1.1/osdrv/tools/pc/mkyaffs2image' tar -xjf mkyaffs2image.tar.bz2 -C /home/upload/Hi3516CV500R001C02SPC011/01.software/board/Hi3516CV500_SDK_V2.0.1.1/osdrv/tools/pc/mkyaffs2image cd /home/upload/Hi3516CV500R001C02SPC011/01.software/board/Hi3516CV500_SDK_V2.0.1.1/osdrv/tools/pc/mkyaffs2image/mkyaffs2image && \         make && \ cd - make[2]: Entering directory `/home/upload/Hi3516CV500R001C02SPC011/01.software/board/Hi3516CV500_SDK_V2.0.1.1/osdrv/tools/pc/mkyaffs2image/mkyaffs2image' gcc -c -I/usr/include -O2 -Wall -DCONFIG_YAFFS_UTIL -static -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline mkyaffs2image.c -o mkyaffs2image.o In file included from mkyaffs2image.c:35:0: yaffs_guts.h:852:51: warning: ‘struct iattr’ declared inside parameter list [enabled by default] int yaffs_SetAttributes(yaffs_Object *obj, struct iattr *attr);                                                    ^ yaffs_guts.h:852:51: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] yaffs_guts.h:853:51: warning: ‘struct iattr’ declared inside parameter list [enabled by default] int yaffs_GetAttributes(yaffs_Object *obj, struct iattr *attr);                                                    ^ mkyaffs2image.c: In function ‘write_chunk’: mkyaffs2image.c:150:9: warning: ‘offset’ may be used uninitialized in this function [-Wmaybe-uninitialized]    offset++;          ^ mkyaffs2image.c:129:6: note: ‘offset’ was declared here   int offset, length;       ^ gcc -c -I/usr/include -O2 -Wall -DCONFIG_YAFFS_UTIL -static -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline yaffs_ecc.c -o yaffs_ecc.o gcc -c -I/usr/include -O2 -Wall -DCONFIG_YAFFS_UTIL -static -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline yaffs_packedtags2.c -o yaffs_packedtags2.o In file included from yaffs_packedtags2.h:21:0,                  from yaffs_packedtags2.c:14: yaffs_guts.h:852:51: warning: ‘struct iattr’ declared inside parameter list [enabled by default] int yaffs_SetAttributes(yaffs_Object *obj, struct iattr *attr);                                                    ^ yaffs_guts.h:852:51: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] yaffs_guts.h:853:51: warning: ‘struct iattr’ declared inside parameter list [enabled by default] int yaffs_GetAttributes(yaffs_Object *obj, struct iattr *attr);                                                    ^ gcc -c -I/usr/include -O2 -Wall -DCONFIG_YAFFS_UTIL -static -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline yaffs_tagsvalidity.c -o yaffs_tagsvalidity.o In file included from yaffs_tagsvalidity.h:20:0,                  from yaffs_tagsvalidity.c:14: yaffs_guts.h:852:51: warning: ‘struct iattr’ declared inside parameter list [enabled by default] int yaffs_SetAttributes(yaffs_Object *obj, struct iattr *attr);                                                    ^ yaffs_guts.h:852:51: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] yaffs_guts.h:853:51: warning: ‘struct iattr’ declared inside parameter list [enabled by default] int yaffs_GetAttributes(yaffs_Object *obj, struct iattr *attr);                                                    ^ gcc -c -I/usr/include -O2 -Wall -DCONFIG_YAFFS_UTIL -static -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline oob_config_v610.c -o oob_config_v610.o gcc -o mkyaffs2image610 mkyaffs2image.o yaffs_ecc.o yaffs_packedtags2.o yaffs_tagsvalidity.o oob_config_v610.o -static /usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status make[2]: *** [mkyaffs2image610] Error 1 make[2]: Leaving directory `/home/upload/Hi3516CV500R001C02SPC011/01.software/board/Hi3516CV500_SDK_V2.0.1.1/osdrv/tools/pc/mkyaffs2image/mkyaffs2image' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/upload/Hi3516CV500R001C02SPC011/01.software/board/Hi3516CV500_SDK_V2.0.1.1/osdrv/tools/pc/mkyaffs2image' make: *** [hipctools] Error 2
    2019-08-14
    0 0 1653
易百纳技术社区
共1条
易百纳技术社区