Hi from $MirOS: src/bin/mksh/Build.sh,v 1.616 2013/02/11 16:27:56 tg Exp $ on: $ uname -a >&2 | SunOS sun3tme 4.1.1 1 sun3 Build.sh: Building the MirBSD Korn Shell R42 2013/02/10 on SunOS ... Build.sh: Scanning for functions... please ignore any errors. ... which compiler seems to be used $ gcc -E -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \\015 >x [ ct="gcc" [ et="unknown" $ gcc -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -v conftest.c | Reading specs from /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/specs | gcc version 2.7.2.3 | /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/cpp -lang-c -v -I. -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dmc68000 -Dsun -Dunix -D__mc68000__ -D__sun__ -D__unix__ -D__mc68000 -D__sun -D__unix -Asystem(unix) -Asystem(bsd) -Acpu(m68k) -Amachine(m68k) -D__HAVE_68881__ -D__mc68020__ -Dmc68020 -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ conftest.c /usr/tmp/cca00208.i | GNU CPP version 2.7.2.3 (68k, MIT syntax) | #include "..." search starts here: | #include <...> search starts here: | . | /usr/local/include | /usr/local/m68k-sun-sunos4.1.1/include | /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include | /usr/include | End of search list. | /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/cc1 /usr/tmp/cca00208.i -quiet -dumpbase conftest.c -version -o /usr/tmp/cca00208.s | GNU C version 2.7.2.3 (68k, MIT syntax) compiled by CC. | as -mc68020 -o /usr/tmp/cca002081.o /usr/tmp/cca00208.s | /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/ld -e start -dc -dp /lib/crt0.o /lib/Mcrt1.o -L/usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3 -L/usr/local/lib /usr/tmp/cca002081.o -lgcc -lc -L/usr/lib/f68881 -lgcc $ echo `$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN $LIBS \ -dumpmachine` gcc`$CC $CFLAGS $CPPFLAGS $LDFLAGS $NOWARN \ $LIBS -dumpversion` | m68k-sun-sunos4.1.1 gcc2.7.2.3 ==> which compiler seems to be used... gcc ... if the compiler works $ gcc -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if the compiler works... yes ... if the compiler does not fail correctly $ gcc -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _thiswillneverbedefinedIhope ==> if the compiler does not fail correctly... no ==> if this could be tcc... no (implied) ... if -Wno-error can be used $ gcc -Wno-error -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Wno-error can be used... yes ... if -Werror can be used $ gcc -Werror -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Werror can be used... yes ... if -Wno-overflow can be used $ gcc -Wno-overflow -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cc1: Invalid option `-Wno-overflow' ==> if -Wno-overflow can be used... no ... if -fno-asynchronous-unwind-tables can be used $ gcc -fno-asynchronous-unwind-tables -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cc1: Invalid option `-fno-asynchronous-unwind-tables' ==> if -fno-asynchronous-unwind-tables can be used... no ... if -fno-strict-aliasing can be used $ gcc -fno-strict-aliasing -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cc1: Invalid option `-fno-strict-aliasing' ==> if -fno-strict-aliasing can be used... no ... if -fstack-protector-all can be used $ gcc -fstack-protector-all -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cc1: Invalid option `-fstack-protector-all' ==> if -fstack-protector-all can be used... no ... if -Wall can be used $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if -Wall can be used... yes ... if -fwrapv can be used $ gcc -Wall -fwrapv -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cc1: Invalid option `-fwrapv' ==> if -fwrapv can be used... no ... for __attribute__((__bounded__)) $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cc1: warnings being treated as errors ] conftest.c:9: warning: `__bounded__' attribute directive ignored ] conftest.c:9: warning: `__bounded__' attribute directive ignored ] conftest.c: In function `xcopy': ] conftest.c:16: warning: implicit declaration of function `memmove' ==> for __attribute__((__bounded__))... no ... for __attribute__((__format__)) $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__format__))... yes ... for __attribute__((__noreturn__)) $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__noreturn__))... yes ... for __attribute__((__unused__)) $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> for __attribute__((__unused__))... yes ... for __attribute__((__used__)) $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -Werror conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] cc1: warnings being treated as errors ] conftest.c:5: warning: `__used__' attribute directive ignored ==> for __attribute__((__used__))... no ... if a reduced-feature mksh is requested $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:6: warning: implicit declaration of function `thiswillneverbedefinedIhope' ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _thiswillneverbedefinedIhope ==> if a reduced-feature mksh is requested... no ... if a reduced-feature sh is requested $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:6: warning: implicit declaration of function `thiswillneverbedefinedIhope' ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _thiswillneverbedefinedIhope ==> if a reduced-feature sh is requested... no ... if mksh will be built without job control $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> if mksh will be built without job control... yes ... if mksh will be built without job signals $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:6: warning: implicit declaration of function `thiswillneverbedefinedIhope' ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _thiswillneverbedefinedIhope ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:6: warning: implicit declaration of function `thiswillneverbedefinedIhope' ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _thiswillneverbedefinedIhope ==> if the default UTF-8 mode is specified... no ... if traditional/conservative fd use is requested $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:6: warning: implicit declaration of function `thiswillneverbedefinedIhope' ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _thiswillneverbedefinedIhope ==> if traditional/conservative fd use is requested... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... whether and can both be included $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> whether and can both be included... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2: sys/bsdtypes.h: No such file or directory ==> ... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3: sys/mkdev.h: No such file or directory ==> ... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3: sys/select.h: No such file or directory ==> ... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2: bstring.h: No such file or directory ==> ... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2: libgen.h: No such file or directory ==> ... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3: libutil.h: No such file or directory ==> ... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:2: paths.h: No such file or directory ==> ... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3: stdint.h: No such file or directory ==> ... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:3: ulimit.h: No such file or directory ==> ... no ... $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> ... yes ... for large file support $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:4: warning: left shift count >= width of type ] conftest.c:4: warning: left shift count >= width of type ] conftest.c:5: warning: left shift count >= width of type ] conftest.c:5: warning: left shift count >= width of type ] conftest.c:5: size of array `off_t_is_large' is negative ==> for large file support... no ... ... with -D_FILE_OFFSET_BITS=64 $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -D_FILE_OFFSET_BITS=64 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:4: warning: left shift count >= width of type ] conftest.c:4: warning: left shift count >= width of type ] conftest.c:5: warning: left shift count >= width of type ] conftest.c:5: warning: left shift count >= width of type ] conftest.c:5: size of array `off_t_is_large' is negative ==> ... with -D_FILE_OFFSET_BITS=64... no ... ... with -D_LARGE_FILES=1 $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -D_LARGE_FILES=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c:4: warning: left shift count >= width of type ] conftest.c:4: warning: left shift count >= width of type ] conftest.c:5: warning: left shift count >= width of type ] conftest.c:5: warning: left shift count >= width of type ] conftest.c:5: size of array `off_t_is_large' is negative ==> ... with -D_LARGE_FILES=1... no ... for standard 32-bit integer types $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:3: `uint32_t' undeclared (first use this function) ] conftest.c:3: (Each undeclared identifier is reported only once ] conftest.c:3: for each function it appears in.) ] conftest.c:3: parse error before `ptrdiff_t' ] conftest.c:3: `int32_t' undeclared (first use this function) ] conftest.c:3: parse error before `ac' ] conftest.c:3: warning: control reaches end of non-void function ==> for standard 32-bit integer types... no ... for UCB 32-bit integer types $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:3: `u_int32_t' undeclared (first use this function) ] conftest.c:3: (Each undeclared identifier is reported only once ] conftest.c:3: for each function it appears in.) ] conftest.c:3: parse error before `ptrdiff_t' ] conftest.c:3: `int32_t' undeclared (first use this function) ] conftest.c:3: parse error before `ac' ] conftest.c:3: warning: control reaches end of non-void function ==> for UCB 32-bit integer types... no ... for standard 8-bit integer type $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:3: `uint8_t' undeclared (first use this function) ] conftest.c:3: (Each undeclared identifier is reported only once ] conftest.c:3: for each function it appears in.) ] conftest.c:3: parse error before `ptrdiff_t' ] conftest.c:3: warning: control reaches end of non-void function ==> for standard 8-bit integer type... no ... for UCB 8-bit integer type $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:3: `u_int8_t' undeclared (first use this function) ] conftest.c:3: (Each undeclared identifier is reported only once ] conftest.c:3: for each function it appears in.) ] conftest.c:3: parse error before `ptrdiff_t' ] conftest.c:3: warning: control reaches end of non-void function ==> for UCB 8-bit integer type... no ... rlim_t $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:14: `rlim_t' undeclared (first use this function) ] conftest.c:14: (Each undeclared identifier is reported only once ] conftest.c:14: for each function it appears in.) ] conftest.c:14: parse error before `0' ] conftest.c:14: warning: control reaches end of non-void function ==> rlim_t... no ... sig_t $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:4: `sig_t' undeclared (first use this function) ] conftest.c:4: (Each undeclared identifier is reported only once ] conftest.c:4: for each function it appears in.) ] conftest.c:4: parse error before `ptrdiff_t' ] conftest.c:4: warning: control reaches end of non-void function ==> sig_t... no ... sighandler_t $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:4: `sighandler_t' undeclared (first use this function) ] conftest.c:4: (Each undeclared identifier is reported only once ] conftest.c:4: for each function it appears in.) ] conftest.c:4: parse error before `ptrdiff_t' ] conftest.c:4: warning: control reaches end of non-void function ==> sighandler_t... no ... __sighandler_t $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:4: `__sighandler_t' undeclared (first use this function) ] conftest.c:4: (Each undeclared identifier is reported only once ] conftest.c:4: for each function it appears in.) ] conftest.c:4: parse error before `ptrdiff_t' ] conftest.c:4: warning: control reaches end of non-void function ==> __sighandler_t... no ... checking if the final link command may succeed gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -Wno-error -c conftest.c In file included from sh.h:92, from conftest.c:3: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition conftest.c: In function `main': conftest.c:5: warning: implicit declaration of function `printf' gcc -Wall -o a.out conftest.o || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> checking if the final link command may succeed... yes ... the sys_errlist[] array and sys_nerr $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> the sys_errlist[] array and sys_nerr... yes ==> the _sys_errlist[] array and _sys_nerr... no (implied) ... the sys_signame[] array $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _sys_signame ==> the sys_signame[] array... no ... the _sys_signame[] array $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] __sys_signame ==> the _sys_signame[] array... no ... the sys_siglist[] array $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> the sys_siglist[] array... yes ==> the _sys_siglist[] array... no (implied) ... flock $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:7: warning: implicit declaration of function `flock' ==> flock... yes ==> whether we can lock files with fcntl... yes (implied) ... getrusage $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] In file included from sh.h:92, ] from conftest.c:2: ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined ] /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined ] /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined ] /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined ] /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined ] /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined ] /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined ] /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined ] /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined ] /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined ] /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined ] /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined ] /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined ] /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined ] /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined ] /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined ] /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined ] /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined ] /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined ] /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition ] conftest.c: In function `main': ] conftest.c:5: warning: implicit declaration of function `getrusage' ==> getrusage... yes ... gettimeofday $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] In file included from sh.h:92, ] from conftest.c:2: ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined ] /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined ] /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined ] /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined ] /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined ] /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined ] /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined ] /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined ] /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined ] /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined ] /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined ] /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined ] /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined ] /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined ] /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined ] /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined ] /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined ] /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined ] /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined ] /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition ] conftest.c: In function `main': ] conftest.c:3: warning: implicit declaration of function `gettimeofday' ==> gettimeofday... yes ... killpg $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:2: warning: implicit declaration of function `killpg' ==> killpg... yes ... memmove $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:8: warning: implicit declaration of function `memmove' ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _memmove ==> memmove... no ==> if to use mknod(), makedev() and friends... no (cached) ... for mmap and munmap $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:12: warning: implicit declaration of function `munmap' ==> for mmap and munmap... yes ... nice $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:2: warning: implicit declaration of function `nice' ==> nice... yes ... revoke $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:6: warning: implicit declaration of function `revoke' ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _revoke ==> revoke... no ... setlocale(LC_CTYPE, "") $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ==> setlocale(LC_CTYPE, "")... yes ... nl_langinfo(CODESET) $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:3: warning: implicit declaration of function `nl_langinfo' ] conftest.c:3: `CODESET' undeclared (first use this function) ] conftest.c:3: (Each undeclared identifier is reported only once ] conftest.c:3: for each function it appears in.) ==> nl_langinfo(CODESET)... no ... select $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:28: warning: implicit declaration of function `bzero' ] conftest.c:29: warning: implicit declaration of function `select' ==> select... yes ... setresugid $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:3: warning: implicit declaration of function `setresuid' ] conftest.c:3: warning: implicit declaration of function `setresgid' ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _setresgid ] _setresuid ==> setresugid... no ==> setgroups... no (implied) ==> strerror... no (implied) ==> strsignal... no (implied) ... strlcpy $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] conftest.c: In function `main': ] conftest.c:2: warning: implicit declaration of function `strlcpy' ] collect2: ld returned 2 exit status ] ld: Undefined symbol ] _strlcpy ==> strlcpy... no ... if flock() does not need to be declared $ gcc -c -o conftest.o -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] In file included from sh.h:92, ] from conftest.c:2: ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined ] /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined ] /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined ] /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined ] /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined ] /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined ] /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined ] /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined ] /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined ] /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined ] /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined ] /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined ] /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined ] /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined ] /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined ] /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined ] /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined ] /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined ] /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined ] /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition ==> if flock() does not need to be declared... no ==> if revoke() does not need to be declared... yes (implied) ... for declaration of sys_errlist[] and sys_nerr $ gcc -c -o conftest.o -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] In file included from sh.h:92, ] from conftest.c:2: ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined ] /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined ] /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined ] /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined ] /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined ] /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined ] /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined ] /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined ] /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined ] /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined ] /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined ] /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined ] /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined ] /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined ] /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined ] /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined ] /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined ] /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined ] /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined ] /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition ] conftest.c: In function `main': ] conftest.c:3: `sys_errlist' undeclared (first use this function) ] conftest.c:3: (Each undeclared identifier is reported only once ] conftest.c:3: for each function it appears in.) ] conftest.c:3: `sys_nerr' undeclared (first use this function) ] conftest.c:3: warning: control reaches end of non-void function ==> for declaration of sys_errlist[] and sys_nerr... no ... for declaration of sys_siglist[] $ gcc -c -o conftest.o -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] In file included from sh.h:92, ] from conftest.c:2: ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined ] /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined ] /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined ] /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined ] /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined ] /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined ] /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined ] /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined ] /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined ] /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined ] /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined ] /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined ] /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined ] /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined ] /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined ] /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined ] /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined ] /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined ] /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined ] /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition ] conftest.c: In function `main': ] conftest.c:3: `sys_siglist' undeclared (first use this function) ] conftest.c:3: (Each undeclared identifier is reported only once ] conftest.c:3: for each function it appears in.) ] conftest.c:3: warning: control reaches end of non-void function ==> for declaration of sys_siglist[]... no ==> if to use persistent history... yes ... whether compile-time assertions pass $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] In file included from sh.h:92, ] from conftest.c:2: ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined ] /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined ] /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined ] /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined ] /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined ] /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined ] /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined ] /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined ] /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined ] /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined ] /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined ] /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined ] /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined ] /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined ] /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined ] /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined ] /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined ] /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined ] /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined ] /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition ] conftest.c:31: warning: integer overflow in expression ==> whether compile-time assertions pass... yes run-time checks follow, please ignore any weird errors ... (run-time) whether signed integer division overflows wrap silently $ gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -Wno-error conftest.c || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done ] In file included from sh.h:92, ] from conftest.c:2: ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined ] /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined ] /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined ] /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined ] /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined ] /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined ] /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined ] /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined ] /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined ] /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined ] /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined ] /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined ] /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined ] /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined ] /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined ] /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined ] /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined ] /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined ] /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition ] /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined ] /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition ] conftest.c: In function `main': ] conftest.c:24: warning: implicit declaration of function `printf' ] conftest.c: In function `fpe_catcher': ] conftest.c:36: warning: `noreturn' function does return | running test programme; this will fail if cross-compiling | in which case we will gracefully degrade to the default | result: no -2147483648 -1 -2147483648 -2147483648 ./a.out ==> (run-time) whether signed integer division overflows wrap silently... no end of run-time checks ... checking if the C Preprocessor supports -dD $ gcc -E -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -Wno-error -dD conftest.c >x ==> checking if the C Preprocessor supports -dD... yes ... done. Generating list of signal names... NSIG=32 ... INT=2 SEGV=11 ABRT=6 KILL=9 ALRM=14 BUS=10 CHLD=20 CONT=19 EMT=7 FPE=8 HUP=1 ILL=4 IO=23 LOST=29 PIPE=13 PROF=27 QUIT=3 STOP=17 SYS=12 TERM=15 TRAP=5 TSTP=18 TTIN=21 TTOU=22 URG=16 USR1=30 USR2=31 VTALRM=26 WINCH=28 XCPU=24 XFSZ=25 done. Build.sh: Finished configuration testing, now producing output. gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c lalloc.c In file included from sh.h:92, from lalloc.c:21: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition lalloc.c: In function `findptr': lalloc.c:70: warning: unknown conversion type character `z' in format lalloc.c:70: warning: too many arguments for format gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c eval.c In file included from sh.h:92, from eval.c:24: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition eval.c: In function `expand': eval.c:250: warning: implicit declaration of function `memset' eval.c: In function `globit': eval.c:1504: warning: implicit declaration of function `lstat' eval.c: In function `debunk': eval.c:1616: warning: implicit declaration of function `bcopy' gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c exec.c In file included from sh.h:92, from exec.c:24: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition exec.c: In function `execute': exec.c:157: warning: implicit declaration of function `memset' exec.c:174: warning: null format string gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c expr.c In file included from sh.h:92, from expr.c:24: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition expr.c: In function `v_evaluate': expr.c:217: warning: null format string gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c funcs.c In file included from sh.h:92, from funcs.c:27: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition funcs.c: In function `c_kill': funcs.c:1326: warning: null format string funcs.c:1381: warning: implicit declaration of function `killpg' funcs.c: In function `c_read': funcs.c:1891: warning: implicit declaration of function `gettimeofday' funcs.c:1901: warning: implicit declaration of function `bzero' funcs.c:1911: warning: implicit declaration of function `select' funcs.c: In function `c_times': funcs.c:2493: warning: implicit declaration of function `getrusage' funcs.c: In function `test_eval': funcs.c:2995: warning: implicit declaration of function `lstat' funcs.c: In function `set_ulimit': funcs.c:3599: warning: implicit declaration of function `getrlimit' funcs.c:3608: warning: implicit declaration of function `setrlimit' funcs.c: In function `c_rename': funcs.c:3654: warning: implicit declaration of function `rename' gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c histrap.c In file included from sh.h:92, from histrap.c:25: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition histrap.c: In function `sethistsize': histrap.c:542: warning: implicit declaration of function `bcopy' histrap.c: In function `hist_init': histrap.c:744: warning: implicit declaration of function `munmap' histrap.c:783: warning: implicit declaration of function `rename' histrap.c: In function `histload': histrap.c:838: warning: implicit declaration of function `memchr' histrap.c:838: warning: assignment makes pointer from integer without a cast histrap.c:844: warning: assignment makes pointer from integer without a cast histrap.c: In function `setsig': histrap.c:1385: warning: implicit declaration of function `memset' gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c jobs.c In file included from sh.h:92, from jobs.c:23: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition jobs.c: In function `j_exit': jobs.c:249: warning: implicit declaration of function `killpg' jobs.c: In function `ksh_nice': jobs.c:375: warning: implicit declaration of function `nice' jobs.c: In function `j_waitj': jobs.c:1212: warning: implicit declaration of function `memset' jobs.c: In function `j_sigchld': jobs.c:1282: warning: implicit declaration of function `getrusage' gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c lex.c In file included from sh.h:92, from lex.c:24: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition lex.c: In function `yylex': lex.c:1023: warning: implicit declaration of function `memset' lex.c: In function `readhere': lex.c:1120: warning: implicit declaration of function `bcopy' lex.c: In function `yyerror': lex.c:1217: warning: null format string gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c main.c In file included from sh.h:92, from main.c:28: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition main.c: In function `rndsetup': main.c:138: warning: implicit declaration of function `gettimeofday' main.c: In function `tgrow': main.c:1692: warning: implicit declaration of function `memset' gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c misc.c In file included from sh.h:92, from misc.c:25: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition misc.c: In function `change_flag': misc.c:271: warning: implicit declaration of function `seteuid' misc.c:275: warning: implicit declaration of function `setegid' misc.c: In function `simplify_gmatch_pattern': misc.c:552: warning: implicit declaration of function `bcopy' misc.c: In function `ksh_getopt': misc.c:988: warning: null format string misc.c:1016: warning: null format string misc.c: In function `print_columns': misc.c:1183: warning: unknown conversion type character `z' in format misc.c:1183: warning: too many arguments for format misc.c:1192: warning: unknown conversion type character `z' in format misc.c:1192: warning: too many arguments for format misc.c: In function `strip_nuls': misc.c:1251: warning: implicit declaration of function `memchr' misc.c:1251: warning: assignment makes pointer from integer without a cast misc.c:1260: warning: assignment makes pointer from integer without a cast misc.c: In function `do_realpath': misc.c:1417: warning: implicit declaration of function `lstat' misc.c:1454: warning: implicit declaration of function `readlink' misc.c: In function `chvt': misc.c:1967: warning: implicit declaration of function `ioctl' gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c shf.c In file included from sh.h:92, from shf.c:25: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition shf.c: In function `shf_emptybuf': shf.c:373: warning: implicit declaration of function `bcopy' shf.c: In function `shf_read': shf.c:453: warning: unknown conversion type character `z' in format shf.c:453: warning: too many arguments for format shf.c: In function `shf_getse': shf.c:503: warning: implicit declaration of function `memchr' shf.c: In function `shf_write': shf.c:634: warning: unknown conversion type character `z' in format shf.c:634: warning: too many arguments for format shf.c: In function `shf_snprintf': shf.c:718: warning: unknown conversion type character `z' in format shf.c:718: warning: unknown conversion type character `z' in format shf.c:718: warning: too many arguments for format gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c syn.c In file included from sh.h:92, from syn.c:24: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c tree.c In file included from sh.h:92, from tree.c:24: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c var.c In file included from sh.h:92, from var.c:24: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition var.c: In function `setstr': var.c:415: warning: null format string var.c: In function `formatstr': var.c:636: warning: implicit declaration of function `memset' var.c: In function `typeset': var.c:760: warning: null format string var.c:880: warning: null format string var.c: In function `getspec': var.c:1132: warning: implicit declaration of function `gettimeofday' var.c: In function `change_winsz': var.c:1491: warning: implicit declaration of function `ioctl' gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c edit.c In file included from sh.h:92, from edit.c:27: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition edit.c: In function `glob_path': edit.c:809: warning: implicit declaration of function `bcopy' edit.c: In function `x_e_getmbc': edit.c:1145: warning: implicit declaration of function `memset' gcc -Wall -I. -DMKSH_TYPEDEF_SIG_ATOMIC_T=int -DMKSH_TYPEDEF_SSIZE_T=int -DMKSH_UNEMPLOYED -DUSE_REALLOC_MALLOC=0 -DMKSH_BUILDSH -D_BSD_SOURCE -D__EXTENSIONS__ -DHAVE_ATTRIBUTE_BOUNDED=0 -DHAVE_ATTRIBUTE_FORMAT=1 -DHAVE_ATTRIBUTE_NORETURN=1 -DHAVE_ATTRIBUTE_UNUSED=1 -DHAVE_ATTRIBUTE_USED=0 -DHAVE_SYS_TIME_H=1 -DHAVE_TIME_H=1 -DHAVE_BOTH_TIME_H=1 -DHAVE_SYS_BSDTYPES_H=0 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_MKDEV_H=0 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=0 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_BSTRING_H=0 -DHAVE_GRP_H=1 -DHAVE_LIBGEN_H=0 -DHAVE_LIBUTIL_H=0 -DHAVE_PATHS_H=0 -DHAVE_STDINT_H=0 -DHAVE_STRINGS_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_ULIMIT_H=0 -DHAVE_VALUES_H=1 -DHAVE_CAN_INTTYPES=0 -DHAVE_CAN_UCBINTS=0 -DHAVE_CAN_INT8TYPE=0 -DHAVE_CAN_UCBINT8=0 -DHAVE_RLIM_T=0 -Dsig_t=nosig_t -DHAVE_SIG_T=0 -DHAVE_SYS_ERRLIST=1 -DHAVE_SYS_SIGNAME=0 -DHAVE_SYS_SIGLIST=1 -DHAVE_FLOCK=1 -DHAVE_LOCK_FCNTL=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_KILLPG=1 -DHAVE_MEMMOVE=0 -DHAVE_MKNOD=0 -DHAVE_MMAP=1 -DHAVE_NICE=1 -DHAVE_REVOKE=0 -DHAVE_SETLOCALE_CTYPE=1 -DHAVE_LANGINFO_CODESET=0 -DHAVE_SELECT=1 -DHAVE_SETRESUGID=0 -DHAVE_SETGROUPS=0 -DHAVE_STRERROR=0 -DHAVE_STRSIGNAL=0 -DHAVE_STRLCPY=0 -DHAVE_FLOCK_DECL=0 -DHAVE_REVOKE_DECL=1 -DHAVE_SYS_ERRLIST_DECL=0 -DHAVE_SYS_SIGLIST_DECL=0 -DHAVE_PERSISTENT_HISTORY=1 -DHAVE_SILENT_IDIVWRAPV=0 -DMKSH_BUILD_R=419 -c strlcpy.c In file included from sh.h:92, from strlcpy.c:19: /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:116: warning: `NL0' redefined /usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:117: warning: `NL1' redefined /usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:119: warning: `CR0' redefined /usr/include/sys/ioctl.h:40: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:120: warning: `CR1' redefined /usr/include/sys/ioctl.h:41: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:121: warning: `CR2' redefined /usr/include/sys/ioctl.h:42: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:122: warning: `CR3' redefined /usr/include/sys/ioctl.h:43: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:124: warning: `TAB0' redefined /usr/include/sys/ioctl.h:35: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:125: warning: `TAB1' redefined /usr/include/sys/ioctl.h:36: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:126: warning: `TAB2' redefined /usr/include/sys/ioctl.h:37: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:127: warning: `XTABS' redefined /usr/include/sys/ioctl.h:38: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:130: warning: `BS0' redefined /usr/include/sys/ioctl.h:48: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:131: warning: `BS1' redefined /usr/include/sys/ioctl.h:49: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:136: warning: `FF0' redefined /usr/include/sys/ioctl.h:45: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:137: warning: `FF1' redefined /usr/include/sys/ioctl.h:46: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:169: warning: `ECHO' redefined /usr/include/sys/ioctl.h:23: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:173: warning: `NOFLSH' redefined /usr/include/sys/ioctl.h:66: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:174: warning: `TOSTOP' redefined /usr/include/sys/ioctl.h:57: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:189: warning: `FLUSHO' redefined /usr/include/sys/ioctl.h:58: warning: this is the location of the previous definition /usr/local/lib/gcc-lib/m68k-sun-sunos4.1.1/2.7.2.3/include/termios.h:190: warning: `PENDIN' redefined /usr/include/sys/ioctl.h:64: warning: this is the location of the previous definition gcc -Wall -o mksh lalloc.o eval.o exec.o expr.o funcs.o histrap.o jobs.o lex.o main.o misc.o shf.o syn.o tree.o var.o edit.o strlcpy.o || for _f in ${tcfn}*; do case $_f in Build.sh|check.pl|check.t|dot.mkshrc|*.c|*.h|mksh.1) ;; *) rm -f "$_f" ;; esac; done nroff -mdoc <'./mksh.1' >mksh.cat1 Cannot open /usr/lib/tmac/tmac.doc size mksh text data bss dec hex 253952 8192 15624 277768 43d08 Installing the shell: # install -c -s -o root -g bin -m 555 mksh /bin/mksh # grep -x /bin/mksh /etc/shells >/dev/null || echo /bin/mksh >>/etc/shells # install -c -o root -g bin -m 444 dot.mkshrc /usr/share/doc/mksh/examples/ Installing the manual: # install -c -o root -g bin -m 444 mksh.1 /usr/share/man/man1/mksh.1 Run the regression test suite: ./test.sh Please also read the sample file dot.mkshrc and the fine manual.