初级会员
- 积分
- 185
- 金钱
- 185
- 注册时间
- 2019-5-24
- 在线时间
- 39 小时
|
楼主 |
发表于 2020-5-24 16:57:26
|
显示全部楼层
本帖最后由 sg_fly 于 2020-5-24 17:03 编辑
在make编译时:编译到:
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/shigang/linux-alient/tool/ncurses/include -I../lib -DCONFDIR=\"/home/shigang/linux-alient/tool/minicom/etc\" -DLOCALEDIR=\"/home/shigang/linux-alient/tool/minicom/share/locale\" -I/home/shigang/linux-alient/tool/ncurses/include -g -O2 -W -Wall -Wextra -std=gnu99 -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.c
window.c: In function ‘outstr’:
window.c:196:3: warning: implicit declaration of function ‘tputs’ [-Wimplicit-function-declaration]
tputs(s, 1, outchar);
^
window.c: In function ‘_gotoxy’:
window.c:294:7: warning: implicit declaration of function ‘tgoto’ [-Wimplicit-function-declaration]
outstr(tgoto(CM, x, y));
^
window.c:294:14: warning: passing argument 1 of ‘outstr’ makes pointer from integer without a cast
outstr(tgoto(CM, x, y));
^
window.c:194:13: note: expected ‘const char *’ but argument is of type ‘int’
static void outstr(const char *s)
^
window.c:302:16: warning: passing argument 1 of ‘outstr’ makes pointer from integer without a cast
outstr(tgoto(TS, x, x));
^
window.c:194:13: note: expected ‘const char *’ but argument is of type ‘int’
static void outstr(const char *s)
^
window.c:338:12: error: ‘BC’ undeclared (first use in this function)
Makefile:515: recipe for target 'window.o' failed
make[2]: *** [window.o] Error 1
make[2]: Leaving directory '/home/shigang/linux-alient/tool/minicom-2.7.1/src'
Makefile:388: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/shigang/linux-alient/tool/minicom-2.7.1'
Makefile:326: recipe for target 'all' failed
make: *** [all] Error 2
|
|