./jobs.def:282: warning: passing argument 1 of 'sh_badjob' discards qualifiers from pointer target type ./pushd.def: In function 'pushd_error': ./pushd.def:508: warning: passing argument 2 of 'sh_erange' discards qualifiers from pointer target type rm -f help.c rm -f setattr.o ./mkbuiltins -D . setattr.def /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 setattr.c || ( rm -f setattr.c ; exit 1 ) rm -f fc.c rm -f shift.o ./mkbuiltins -D . shift.def rm -f return.c rm -f kill.c /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 shift.c || ( rm -f shift.c ; exit 1 ) rm -f source.o rm -f suspend.o ./mkbuiltins -D . source.def ./mkbuiltins -D . suspend.def /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 source.c || ( rm -f source.c ; exit 1 ) /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 suspend.c || ( rm -f suspend.c ; exit 1 ) rm -f history.c rm -f test.o rm -f jobs.c ./mkbuiltins -D . test.def rm -f times.o /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 test.c || ( rm -f test.c ; exit 1 ) ./mkbuiltins -D . times.def /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 times.c || ( rm -f times.c ; exit 1 ) rm -f mapfile.c rm -f trap.o ./mkbuiltins -D . trap.def /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 trap.c || ( rm -f trap.c ; exit 1 ) rm -f source.c rm -f type.o ./mkbuiltins -D . type.def /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 type.c || ( rm -f type.c ; exit 1 ) rm -f test.c /usr/bin/gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O2 -I/home/test/test/output/host/include -I/home/test/test/output/host/usr/include -DCROSS_COMPILING -o psize.aux ./psize.c ./shift.def: In function 'shift_builtin': ./shift.def:71: warning: passing argument 2 of 'sh_erange' discards qualifiers from pointer target type ./shift.def:77: warning: passing argument 2 of 'sh_erange' discards qualifiers from pointer target type rm -f times.c ./suspend.def: In function 'suspend_builtin': ./suspend.def:101: warning: passing argument 1 of 'sh_nojobs' discards qualifiers from pointer target type rm -f umask.o ./mkbuiltins -D . umask.def /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 umask.c || ( rm -f umask.c ; exit 1 ) rm -f setattr.c rm -f wait.o ./mkbuiltins -D . wait.def /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 wait.c || ( rm -f wait.c ; exit 1 ) rm -f pushd.c rm -f getopts.o rm -f shift.c rm -f suspend.c ./mkbuiltins -D . getopts.def ./umask.def: In function 'umask_builtin': ./umask.def:118: warning: passing argument 2 of 'sh_erange' discards qualifiers from pointer target type rm -f shopt.o rm -f printf.o /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 getopts.c || ( rm -f getopts.c ; exit 1 ) rm -f wait.c ./mkbuiltins -D . shopt.def ./mkbuiltins -D . printf.def rm -f umask.c rm -f set.c /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 shopt.c || ( rm -f shopt.c ; exit 1 ) rm -f trap.c /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 printf.c || ( rm -f printf.c ; exit 1 ) rm -f getopt.o rm -f bashgetopt.o /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 getopt.c /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 bashgetopt.c rm -f complete.o ./mkbuiltins -D . complete.def rm -f type.c /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 complete.c || ( rm -f complete.c ; exit 1 ) /bin/sh ./psize.sh > pipesize.h rm -f getopts.c rm -f read.c rm -f shopt.c rm -f complete.c rm -f printf.c rm -f ulimit.o ./mkbuiltins -D . ulimit.def /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ulimit.c || ( rm -f ulimit.c ; exit 1 ) ./ulimit.def: In function 'ulimit_internal': ./ulimit.def:457: warning: passing argument 2 of 'sh_erange' discards qualifiers from pointer target type rm -f ulimit.c rm -f libbuiltins.a /home/test/test/output/host/usr/bin/bfin-linux-uclibc-ar cr libbuiltins.a builtins.o alias.o bind.o break.o builtin.o caller.o cd.o colon.o command.o common.o declare.o echo.o enable.o eval.o evalfile.o evalstring.o exec.o exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o mapfile.o pushd.o read.o return.o set.o setattr.o shift.o source.o suspend.o test.o times.o trap.o type.o ulimit.o umask.o wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o /home/test/test/output/host/usr/bin/bfin-linux-uclibc-ranlib libbuiltins.a make[2]: Leaving directory `/home/test/test/output/build/bash-4.2/builtins' rm -f bash /home/test/test/output/host/usr/bin/bfin-linux-uclibc-gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -rdynamic -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o signames.o -lbuiltins -lglob -lsh -lreadline -lhistory -lcurses -ltilde -lmalloc -ldl jobs.o: In function `_make_child': jobs.c:(.text+0x39cc): undefined reference to `_fork' collect2: ld returned 1 exit status make[1]: *** [bash] Error 1 make[1]: Leaving directory `/home/test/test/output/build/bash-4.2' make: *** [/home/test/test/output/build/bash-4.2/.stamp_built] Error 2