For the build logs, demonstrate that /dev/null and /dev/tty exist: crw-rw-rw- 1 root sys 4, 2 Jul 27 09:08 /dev/null crw-rw-rw- 1 bin terminal 3, 0 Jul 27 09:20 /dev/tty >>> /* work around NeXTstep bug */ >>> #define MKSH_BUILDSH 1 >>> #define MKSH__NO_SETEUGID 1 >>> #define MKSH_BROKEN_OFFSETOF 1 >>> #define MKSH_TYPEDEF_SSIZE_T int Hi from $MirOS: src/bin/mksh/Build.sh,v 1.775 2021/07/27 01:25:25 tg Exp $ on: $ uname -a >&2 | scosysv scosysv 3.2 2 i386 Warning: mksh has not yet been ported to or tested on your operating system 'scosysv'; it may or may not work. If you can provide a shell account to the developer, this may improve; please drop us a success or failure notice or even send in diffs, at the very least, complete logs (Build.sh + test.sh) will help. Build.sh: Building the MirBSD Korn Shell R59 2021/06/29 on scosysv 3.2... Build.sh: Scanning for functions... please ignore any errors. ... which compiler type seems to be used $ cc -E -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c | sed -n '/^ *[ce]t *= */s/^ *\([ce]t\) *= */\1=/p' | tr -d \015 >x [ ct="unknown" [ et="unknown" $ cc --version | ld crt1.o: unknown flag: -version $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -v conftest.c | Command line error D2003 : missing source file name $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -V conftest.c | Command line error D2003 : missing source file name ==> which compiler type seems to be used... unknown ... if the compiler works $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> if the compiler works... yes ... if the compiler does not fail correctly $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] thiswillneverbedefinedIhope conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> if the compiler does not fail correctly... no ... if this could be tcc $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] thiswillneverbedefinedIhope conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> if this could be tcc... no ... if -Wno-error can be used $ cc -Wno-error -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] Command line error D2021 : invalid numerical argument 'no-error' ==> if -Wno-error can be used... no ... if -Werror can be used $ cc -Werror -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] Command line error D2021 : invalid numerical argument 'error' ==> if -Werror can be used... no ==> if to rely on compiler for string pooling... no ... for __attribute__((__bounded__)) $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(16) : error C2055: expected formal-parameter list, not a type list ] conftest.c(16) : error C2061: syntax error : identifier '__attribute__' ==> for __attribute__((__bounded__))... no >>> #define HAVE_ATTRIBUTE_BOUNDED 0 ... for __attribute__((__format__)) $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(18) : error C2055: expected formal-parameter list, not a type list ] conftest.c(18) : error C2061: syntax error : identifier '__attribute__' ==> for __attribute__((__format__))... no >>> #define HAVE_ATTRIBUTE_FORMAT 0 ... for __attribute__((__noreturn__)) $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(15) : error C2061: syntax error : identifier '__attribute__' ==> for __attribute__((__noreturn__))... no >>> #define HAVE_ATTRIBUTE_NORETURN 0 ... for __attribute__((__pure__)) $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(15) : error C2055: expected formal-parameter list, not a type list ] conftest.c(15) : error C2061: syntax error : identifier '__attribute__' ==> for __attribute__((__pure__))... no >>> #define HAVE_ATTRIBUTE_PURE 0 ... for __attribute__((__unused__)) $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(15) : error C2061: syntax error : identifier '__attribute__' ==> for __attribute__((__unused__))... no >>> #define HAVE_ATTRIBUTE_UNUSED 0 ... for __attribute__((__used__)) $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(15) : error C2054: expected '(' to follow 'fnord' ] conftest.c(15) : error C2061: syntax error : identifier '__attribute__' ==> for __attribute__((__used__))... no >>> #define HAVE_ATTRIBUTE_USED 0 ... if a reduced-feature mksh is requested $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] thiswillneverbedefinedIhope conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> if a reduced-feature mksh is requested... no ... if invoking as sh should be handled specially $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] thiswillneverbedefinedIhope conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> if invoking as sh should be handled specially... no ... if mksh will be built without job control $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> if mksh will be built without job control... yes ... if mksh will be built without job signals $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] thiswillneverbedefinedIhope conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> if mksh will be built without job signals... no ... if the default UTF-8 mode is specified $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] thiswillneverbedefinedIhope conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> if the default UTF-8 mode is specified... no ==> if the default UTF-8 mode is disabled... no (implied) ... if the MidnightBSD 0.1 ash compatibility mode is requested $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] thiswillneverbedefinedIhope conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> if the MidnightBSD 0.1 ash compatibility mode is requested... no ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_SYS_TIME_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_TIME_H 1 ==> whether and can both be included... no (cached) >>> #define HAVE_BOTH_TIME_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(9) : fatal error C1024: cannot open include file 'sys/bsdtypes.h' ==> ... no >>> #define HAVE_SYS_BSDTYPES_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_SYS_FILE_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : fatal error C1024: cannot open include file 'sys/mkdev.h' ==> ... no >>> #define HAVE_SYS_MKDEV_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : fatal error C1024: cannot open include file 'sys/mman.h' ==> ... no >>> #define HAVE_SYS_MMAN_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_SYS_PARAM_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_SYS_RESOURCE_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_SYS_SELECT_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_SYS_SYSMACROS_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(9) : fatal error C1024: cannot open include file 'bstring.h' ==> ... no >>> #define HAVE_BSTRING_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_GRP_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(9) : fatal error C1024: cannot open include file 'io.h' ==> ... no >>> #define HAVE_IO_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(9) : fatal error C1024: cannot open include file 'libgen.h' ==> ... no >>> #define HAVE_LIBGEN_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : fatal error C1024: cannot open include file 'libutil.h' ==> ... no >>> #define HAVE_LIBUTIL_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(9) : fatal error C1024: cannot open include file 'paths.h' ==> ... no >>> #define HAVE_PATHS_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : fatal error C1024: cannot open include file 'stdint.h' ==> ... no >>> #define HAVE_STDINT_H 0 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_STRINGS_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_TERMIOS_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_ULIMIT_H 1 ... $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> ... yes >>> #define HAVE_VALUES_H 1 ... for large file support $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(13) : error C2118: negative subscript ==> for large file support... no ... ... with -D_FILE_OFFSET_BITS=64 $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -D_FILE_OFFSET_BITS=64 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(13) : error C2118: negative subscript ==> ... with -D_FILE_OFFSET_BITS=64... no ... ... with -D_LARGE_FILES=1 $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -D_LARGE_FILES=1 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(13) : error C2118: negative subscript ==> ... with -D_LARGE_FILES=1... no ... for standard 32-bit integer types $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : error C2065: 'uint32_t' : undefined ] conftest.c(10) : error C2064: term does not evaluate to a function ] conftest.c(10) : error C2144: syntax error : missing ')' before type 'size_t' ==> for standard 32-bit integer types... no >>> #define HAVE_CAN_INTTYPES 0 ... for UCB 32-bit integer types $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : error C2065: 'u_int32_t' : undefined ] conftest.c(10) : error C2064: term does not evaluate to a function ] conftest.c(10) : error C2144: syntax error : missing ')' before type 'size_t' ==> for UCB 32-bit integer types... no >>> #define HAVE_CAN_UCBINTS 0 ... for standard 8-bit integer type $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : error C2065: 'uint8_t' : undefined ] conftest.c(10) : error C2064: term does not evaluate to a function ] conftest.c(10) : error C2144: syntax error : missing ')' before type 'size_t' ==> for standard 8-bit integer type... no >>> #define HAVE_CAN_INT8TYPE 0 ... for UCB 8-bit integer type $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : error C2065: 'u_int8_t' : undefined ] conftest.c(10) : error C2064: term does not evaluate to a function ] conftest.c(10) : error C2144: syntax error : missing ')' before type 'size_t' ==> for UCB 8-bit integer type... no >>> #define HAVE_CAN_UCBINT8 0 ... sig_t $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(11) : error C2054: expected '(' to follow 'sig_t' ] conftest.c(11) : error C2061: syntax error : identifier 'foo' ==> sig_t... no ... sighandler_t $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(11) : error C2054: expected '(' to follow 'sighandler_t' ] conftest.c(11) : error C2061: syntax error : identifier 'foo' ==> sighandler_t... no ... __sighandler_t $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(11) : error C2054: expected '(' to follow '__sighandler_t' ] conftest.c(11) : error C2061: syntax error : identifier 'foo' ==> __sighandler_t... no >>> #define sig_t nosig_t >>> #define HAVE_SIG_T 0 ... checking if the final link command may succeed cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c conftest.c conftest.c cc -o a.out conftest.o || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ==> checking if the final link command may succeed... yes ... the sys_errlist[] array and sys_nerr $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> the sys_errlist[] array and sys_nerr... yes ==> the _sys_errlist[] array and _sys_nerr... no (implied) >>> #define HAVE_SYS_ERRLIST 1 ... the sys_signame[] array $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] sys_signame conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> the sys_signame[] array... no ... the _sys_signame[] array $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] _sys_signame conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> the _sys_signame[] array... no >>> #define HAVE_SYS_SIGNAME 0 ... the sys_siglist[] array $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] sys_siglist conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> the sys_siglist[] array... no ... the _sys_siglist[] array $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] _sys_siglist conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> the _sys_siglist[] array... no >>> #define HAVE_SYS_SIGLIST 0 ... flock $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(14) : error C2065: 'LOCK_EX' : undefined ] conftest.c(14) : error C2065: 'LOCK_UN' : undefined ==> flock... no >>> #define HAVE_FLOCK 0 ... whether we can lock files with fcntl $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> whether we can lock files with fcntl... yes >>> #define HAVE_LOCK_FCNTL 1 ... getrlimit and setrlimit $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] getrlimit conftest.o ] setrlimit conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> getrlimit and setrlimit... no >>> #define HAVE_RLIMIT 0 ==> rlim_t... no (implied) >>> #define HAVE_RLIM_T 0 ... getrusage $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] getrusage conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> getrusage... no >>> #define HAVE_GETRUSAGE 0 ... getsid $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] getsid conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> getsid... no >>> #define HAVE_GETSID 0 ... gettimeofday $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] gettimeofday conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> gettimeofday... no >>> #define HAVE_GETTIMEOFDAY 0 ... killpg $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] killpg conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> killpg... no >>> #define HAVE_KILLPG 0 ... memmove $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> memmove... yes >>> #define HAVE_MEMMOVE 1 ==> if to use mknod(), makedev() and friends... no (cached) >>> #define HAVE_MKNOD 0 ... for mmap and munmap $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(18) : error C2065: 'PROT_READ' : undefined ] conftest.c(18) : error C2065: 'MAP_PRIVATE' : undefined ==> for mmap and munmap... no >>> #define HAVE_MMAP 0 ==> for ftruncate... no (implied) >>> #define HAVE_FTRUNCATE 0 ... nice $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> nice... yes >>> #define HAVE_NICE 1 ... revoke $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] revoke conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> revoke... no >>> #define HAVE_REVOKE 0 ... setlocale(LC_CTYPE, "") $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> setlocale(LC_CTYPE, "")... yes >>> #define HAVE_SETLOCALE_CTYPE 1 ... nl_langinfo(CODESET) $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : error C2065: 'CODESET' : undefined ==> nl_langinfo(CODESET)... no >>> #define HAVE_LANGINFO_CODESET 0 ... select $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] /usr/include/sys/select.h(41) : error C2011: 'timeval' : type type redefinition ==> select... no >>> #define HAVE_SELECT 0 ... setresugid $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] setresuid conftest.o ] setresgid conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> setresugid... no >>> #define HAVE_SETRESUGID 0 ==> setgroups... no (implied) >>> #define HAVE_SETGROUPS 0 ==> strerror... no (implied) >>> #define HAVE_STRERROR 0 ... strsignal $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : error C2109: subscript on nonarray ==> strsignal... no >>> #define HAVE_STRSIGNAL 0 ... strlcpy $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] undefined first referenced ] symbol in file ] strlcpy conftest.o ] ld fatal: Symbol referencing errors. No output written to a.out ==> strlcpy... no >>> #define HAVE_STRLCPY 0 ==> for declaration of flock()... yes (implied) >>> #define HAVE_FLOCK_DECL 1 ==> for declaration of revoke()... yes (implied) >>> #define HAVE_REVOKE_DECL 1 ... for declaration of sys_errlist[] and sys_nerr $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ==> for declaration of sys_errlist[] and sys_nerr... yes >>> #define HAVE_SYS_ERRLIST_DECL 1 ==> for declaration of sys_siglist[]... no (implied) >>> #define HAVE_SYS_SIGLIST_DECL 0 ... for struct stat.st_mtimensec $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : error C2039: 'st_mtimensec' : not struct member ==> for struct stat.st_mtimensec... no ... for struct stat.st_mtimespec.tv_nsec $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : error C2039: 'st_mtimespec' : not struct member ==> for struct stat.st_mtimespec.tv_nsec... no ... for struct stat.st_mtim.tv_nsec $ cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 conftest.c || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done ] conftest.c ] conftest.c(10) : error C2039: 'st_mtim' : not struct member ==> for struct stat.st_mtim.tv_nsec... no >>> #define HAVE_ST_MTIMENSEC 0 ==> if to use persistent history... no >>> #define HAVE_PERSISTENT_HISTORY 0 ... checking if the C Preprocessor supports -dD $ cc -E -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -dD conftest.c >x ] fatal error C1023: cannot open source file '-dD' ==> checking if the C Preprocessor supports -dD... no ... done. No list of signal names available via cpp. Falling back... NSIG=30 ... ABRT=6 FPE=8 ILL=4 INT=2 SEGV=11 TERM=15 ALRM=14 BUS=10 CHLD=18 CONT=25 HUP=1 KILL=9 PIPE=13 QUIT=3 STOP=23 TSTP=24 TTIN=26 TTOU=27 USR1=16 USR2=17 POLL=22 PROF=29 SYS=12 TRAP=5 VTALRM=28 WINCH=20 EMT=7 PWR=19 done. >>> #define MKSH_BUILD_R 599 Build.sh: Finished configuration testing, now producing output. + Running genopt on 'rlimits.opt'... + Running genopt on 'sh_flags.opt'... + Running genopt on 'ulimits.opt'... cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c lalloc.c lalloc.c cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c edit.c edit.c edit.c(277) : warning C4047: '=' : different levels of indirection edit.c(279) : warning C4047: '=' : different levels of indirection edit.c(280) : warning C4047: '=' : different levels of indirection edit.c(419) : warning C4047: '=' : different levels of indirection edit.c(431) : warning C4047: '=' : different levels of indirection edit.c(503) : warning C4047: '=' : different levels of indirection edit.c(562) : warning C4047: '=' : different levels of indirection edit.c(796) : warning C4047: '=' : different levels of indirection edit.c(2269) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(2444) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(2566) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(2905) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(2943) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(3877) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(4099) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(4850) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(4850) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(4958) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(5583) : warning C4061: long/short mismatch in argument : conversion supplied edit.c(5668) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c eval.c eval.c eval.c(154) : warning C4047: '=' : different levels of indirection eval.c(156) : warning C4047: '=' : different levels of indirection eval.c(159) : warning C4047: '=' : different levels of indirection eval.c(172) : warning C4047: '=' : different levels of indirection eval.c(190) : warning C4047: '=' : different levels of indirection eval.c(1079) : warning C4047: '=' : different levels of indirection eval.c(1082) : warning C4047: '=' : different levels of indirection eval.c(1095) : warning C4047: '=' : different levels of indirection eval.c(1302) : warning C4047: '=' : different levels of indirection eval.c(1307) : warning C4047: '=' : different levels of indirection eval.c(1460) : warning C4047: '=' : different levels of indirection eval.c(1464) : warning C4047: '=' : different levels of indirection eval.c(1470) : warning C4047: '=' : different levels of indirection eval.c(1715) : warning C4047: '=' : different levels of indirection eval.c(1803) : warning C4047: '=' : different levels of indirection eval.c(1862) : warning C4090: different 'const/volatile' qualifiers eval.c(1862) : warning C4022: 'memcpy' : pointer mismatch : parameter 1 eval.c(1863) : warning C4090: different 'const/volatile' qualifiers eval.c(1880) : warning C4028: parameter 1 declaration different eval.c(1918) : warning C4090: different 'const/volatile' qualifiers eval.c(1929) : warning C4090: different 'const/volatile' qualifiers eval.c(1929) : warning C4022: 'afree' : pointer mismatch : parameter 1 eval.c(1950) : warning C4028: parameter 1 declaration different eval.c(1993) : warning C4028: parameter 1 declaration different eval.c(2006) : warning C4090: different 'const/volatile' qualifiers eval.c(2012) : warning C4028: parameter 2 declaration different eval.c(2012) : warning C4028: parameter 3 declaration different eval.c(2012) : warning C4028: parameter 4 declaration different eval.c(2050) : warning C4047: '=' : different levels of indirection eval.c(1077) : warning C4061: long/short mismatch in argument : conversion supplied eval.c(1171) : warning C4061: long/short mismatch in argument : conversion supplied eval.c(1565) : warning C4061: long/short mismatch in argument : conversion supplied eval.c(2048) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c exec.c exec.c exec.c(1707) : warning C4090: different 'const/volatile' qualifiers exec.c(1707) : warning C4024: 'call_builtin' : different types : parameter 2 exec.c(760) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c expr.c expr.c cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c funcs.c funcs.c funcs.c(431) : warning C4047: '=' : different levels of indirection funcs.c(493) : warning C4047: '=' : different levels of indirection funcs.c(505) : warning C4047: '=' : different levels of indirection funcs.c(839) : warning C4090: different 'const/volatile' qualifiers funcs.c(839) : warning C4024: 'c_unalias' : different types : parameter 1 funcs.c(2235) : warning C4090: different 'const/volatile' qualifiers funcs.c(2235) : warning C4024: 'c_typeset' : different types : parameter 1 funcs.c(1186) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c histrap.c histrap.c histrap.c(333) : warning C4090: different 'const/volatile' qualifiers histrap.c(356) : warning C4028: parameter 1 declaration different histrap.c(1344) : warning C4090: different 'const/volatile' qualifiers histrap.c(1433) : warning C4090: different 'const/volatile' qualifiers histrap.c(1433) : warning C4022: 'afree' : pointer mismatch : parameter 1 histrap.c(252) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c jobs.c jobs.c jobs.c(312) : warning C4061: long/short mismatch in argument : conversion supplied jobs.c(809) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c lex.c lex.c cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c main.c main.c main.c(131) : warning C4056: overflow in constant arithmetic main.c(255) : warning C4090: different 'const/volatile' qualifiers main.c(437) : warning C4090: different 'const/volatile' qualifiers main.c(704) : warning C4090: different 'const/volatile' qualifiers main.c(704) : warning C4024: 'c_builtin' : different types : parameter 1 main.c(984) : warning C4061: long/short mismatch in argument : conversion supplied main.c(989) : warning C4061: long/short mismatch in argument : conversion supplied main.c(1291) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c misc.c misc.c misc.c(2688) : warning C4028: parameter 2 declaration different misc.c(549) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c shf.c shf.c cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c syn.c syn.c syn.c(277) : warning C4047: '=' : different levels of indirection syn.c(278) : warning C4047: '=' : different levels of indirection syn.c(330) : warning C4047: '=' : different levels of indirection syn.c(332) : warning C4047: '=' : different levels of indirection syn.c(349) : warning C4047: '=' : different levels of indirection syn.c(350) : warning C4047: '=' : different levels of indirection syn.c(351) : warning C4047: '=' : different levels of indirection syn.c(352) : warning C4047: '=' : different levels of indirection syn.c(353) : warning C4047: '=' : different levels of indirection syn.c(357) : warning C4047: '=' : different levels of indirection syn.c(414) : warning C4047: '=' : different levels of indirection syn.c(415) : warning C4047: '=' : different levels of indirection syn.c(416) : warning C4047: '=' : different levels of indirection syn.c(519) : warning C4047: '=' : different levels of indirection syn.c(521) : warning C4047: '=' : different levels of indirection syn.c(631) : warning C4047: '=' : different levels of indirection syn.c(651) : warning C4047: '=' : different levels of indirection syn.c(654) : warning C4047: '=' : different levels of indirection syn.c(754) : warning C4047: '=' : different levels of indirection syn.c(763) : warning C4047: '=' : different levels of indirection syn.c(766) : warning C4047: '=' : different levels of indirection syn.c(1016) : warning C4047: '=' : different levels of indirection syn.c(1031) : warning C4047: '=' : different levels of indirection syn.c(94) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c tree.c tree.c tree.c(237) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c var.c var.c var.c(80) : warning C4090: different 'const/volatile' qualifiers var.c(758) : warning C4090: different 'const/volatile' qualifiers var.c(758) : warning C4022: 'memcpy' : pointer mismatch : parameter 1 var.c(936) : warning C4090: different 'const/volatile' qualifiers var.c(936) : warning C4022: 'afree' : pointer mismatch : parameter 1 var.c(1028) : warning C4090: different 'const/volatile' qualifiers var.c(1028) : warning C4022: 'afree' : pointer mismatch : parameter 1 var.c(1051) : warning C4090: different 'const/volatile' qualifiers var.c(1051) : warning C4022: 'aresize' : pointer mismatch : parameter 1 var.c(1052) : warning C4090: different 'const/volatile' qualifiers var.c(1052) : warning C4022: 'memcpy' : pointer mismatch : parameter 1 var.c(1090) : warning C4090: different 'const/volatile' qualifiers var.c(1090) : warning C4022: 'afree' : pointer mismatch : parameter 1 var.c(1099) : warning C4090: different 'const/volatile' qualifiers var.c(1099) : warning C4022: 'afree' : pointer mismatch : parameter 1 var.c(1198) : warning C4047: '=' : different levels of indirection var.c(1230) : warning C4047: '=' : different levels of indirection var.c(1230) : warning C4090: different 'const/volatile' qualifiers var.c(1235) : warning C4047: '=' : different levels of indirection var.c(1391) : warning C4090: different 'const/volatile' qualifiers var.c(1391) : warning C4022: 'afree' : pointer mismatch : parameter 1 var.c(1403) : warning C4090: different 'const/volatile' qualifiers var.c(1403) : warning C4022: 'afree' : pointer mismatch : parameter 1 var.c(1526) : warning C4090: different 'const/volatile' qualifiers var.c(1526) : warning C4022: 'afree' : pointer mismatch : parameter 1 var.c(1539) : warning C4090: different 'const/volatile' qualifiers var.c(1539) : warning C4022: 'afree' : pointer mismatch : parameter 1 var.c(542) : warning C4061: long/short mismatch in argument : conversion supplied var.c(924) : warning C4061: long/short mismatch in argument : conversion supplied var.c(1007) : warning C4061: long/short mismatch in argument : conversion supplied var.c(2096) : warning C4061: long/short mismatch in argument : conversion supplied var.c(2108) : warning C4061: long/short mismatch in argument : conversion supplied var.c(2134) : warning C4061: long/short mismatch in argument : conversion supplied cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c strlcpy.c strlcpy.c cc -I. -DMKSH_UNEMPLOYED -DMKSH_USE_AUTOCONF_H -D_IBCS2 -c ulimit.c ulimit.c ulimit.c(134) : warning C4028: parameter 2 declaration different cc -o mksh lalloc.o edit.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 strlcpy.o ulimit.o || for _f in ${tcfn}*; do case $_f in *.1|*.faq|*.ico) ;; *) rm -f "$_f" ;; esac; done size mksh 252196 + 26844 + 9576 = 288616 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 lksh.1 mksh.1 /usr/share/man/man1/ Run the regression test suite: ./test.sh Please also read the sample file dot.mkshrc and the fine manual. Run FAQ2HTML.sh and place FAQ.htm into a suitable location as well.