谢谢, 戴夫
编译语法:
make DESTDIR=/opt/staging/source --with-curses --disable-debugger
错误结果:
mbscmp.c: In function ‘mbscmp’:
mbscmp.c:40:3: warning: ignoring return value of ‘mblen’, declared with attribute warn_unused_result [-Wunused-result]
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 uconvert.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 ufuncs.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 casemod.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 fdprintf.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 input_avail.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 mbscasecmp.c
mbscasecmp.c: In function ‘mbscasecmp’:
mbscasecmp.c:43:3: warning: ignoring return value of ‘mblen’, declared with attribute warn_unused_result [-Wunused-result]
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 fnxform.c
make[1]: *** No rule to make target `fdprintf\e[4m.o', needed by `libsh.a'. Stop.
make[1]: Leaving directory `/opt/staging/source/lib/sh'
make: *** [lib/sh/libsh.a] Error 1