bash 4.1编译libsh.a错误

时间:2013-07-11 19:06:27

标签: linux bash compiler-errors

大家下午好!我正在尝试编译bash 4.1,但继续遇到提供的错误。我已经安装了libncurses-dev并确保libcurses符号链接存在。我无法想出这一点,任何帮助都会非常感激!

谢谢, 戴夫

编译语法:

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

0 个答案:

没有答案