patching file bc/bc.y patching file bc/storage.c patching file bc/util.c checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for flex... flex checking for yywrap in -lfl... no checking for yywrap in -ll... no checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for bison... bison -y checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking lib.h usability... no checking lib.h presence... no checking for lib.h... no checking for an ANSI C-conforming const... yes checking for size_t... yes checking for ptrdiff_t... yes checking for vprintf... yes checking for _doprnt... no checking for isgraph... yes checking for setvbuf... yes checking for fstat... yes checking for strtol... yes checking for tparm in -lncurses... yes checking for readline in -lreadline... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes Using the readline library. Adding GCC specific compile flags. configure: creating ./config.status config.status: creating Makefile config.status: creating bc/Makefile config.status: creating dc/Makefile config.status: creating doc/Makefile config.status: creating doc/texi-ver.incl config.status: creating lib/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/sources/bc-1.06.95' Making all in lib make[2]: Entering directory '/sources/bc-1.06.95/lib' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \ then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \ then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f ".deps/getopt1.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT vfprintf.o -MD -MP -MF ".deps/vfprintf.Tpo" -c -o vfprintf.o vfprintf.c; \ then mv -f ".deps/vfprintf.Tpo" ".deps/vfprintf.Po"; else rm -f ".deps/vfprintf.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT number.o -MD -MP -MF ".deps/number.Tpo" -c -o number.o number.c; \ then mv -f ".deps/number.Tpo" ".deps/number.Po"; else rm -f ".deps/number.Tpo"; exit 1; fi number.c: In function '_bc_rec_mul': number.c:767:14: warning: variable 'v0len' set but not used [-Wunused-but-set-variable] int u0len, v0len; ^ number.c:767:7: warning: variable 'u0len' set but not used [-Wunused-but-set-variable] int u0len, v0len; ^ rm -f libbc.a ar cru libbc.a getopt.o getopt1.o vfprintf.o number.o ranlib libbc.a make[2]: Leaving directory '/sources/bc-1.06.95/lib' Making all in bc make[2]: Entering directory '/sources/bc-1.06.95/bc' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi bison -y -d bc.y if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT execute.o -MD -MP -MF ".deps/execute.Tpo" -c -o execute.o execute.c; \ then mv -f ".deps/execute.Tpo" ".deps/execute.Po"; else rm -f ".deps/execute.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT load.o -MD -MP -MF ".deps/load.Tpo" -c -o load.o load.c; \ then mv -f ".deps/load.Tpo" ".deps/load.Po"; else rm -f ".deps/load.Tpo"; exit 1; fi bc.y: warning: 3 shift/reduce conflicts [-Wconflicts-sr] main.c: In function 'open_new_file': main.c:295:12: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char tmp; ^ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT storage.o -MD -MP -MF ".deps/storage.Tpo" -c -o storage.o storage.c; \ then mv -f ".deps/storage.Tpo" ".deps/storage.Po"; else rm -f ".deps/storage.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \ then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi if test -f y.tab.h; then \ to=`echo "bc_H" | sed \ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \ -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \ sed -e "/^#/!b" -e "s/Y_TAB_H/$to/g" -e "s|y\.tab\.h|bc.h|" \ y.tab.h >bc.ht; \ rm -f y.tab.h; \ if cmp -s bc.ht bc.h; then \ rm -f bc.ht ;\ else \ mv bc.ht bc.h; \ fi; \ fi if test -f y.output; then \ mv y.output bc.output; \ fi sed '/^#/ s|y\.tab\.c|bc.c|' y.tab.c >bc.ct && mv bc.ct bc.c rm -f y.tab.c if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT global.o -MD -MP -MF ".deps/global.Tpo" -c -o global.o global.c; \ then mv -f ".deps/global.Tpo" ".deps/global.Po"; else rm -f ".deps/global.Tpo"; exit 1; fi storage.c: In function 'process_params': storage.c:1004:11: warning: variable 'n_temp' set but not used [-Wunused-but-set-variable] bc_num *n_temp; ^ if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT warranty.o -MD -MP -MF ".deps/warranty.Tpo" -c -o warranty.o warranty.c; \ then mv -f ".deps/warranty.Tpo" ".deps/warranty.Po"; else rm -f ".deps/warranty.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT bc.o -MD -MP -MF ".deps/bc.Tpo" -c -o bc.o bc.c; \ then mv -f ".deps/bc.Tpo" ".deps/bc.Po"; else rm -f ".deps/bc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT scan.o -MD -MP -MF ".deps/scan.Tpo" -c -o scan.o scan.c; \ then mv -f ".deps/scan.Tpo" ".deps/scan.Po"; else rm -f ".deps/scan.Tpo"; exit 1; fi scan.c:1800:17: warning: 'yyunput' defined but not used [-Wunused-function] static void yyunput (int c, register char * yy_bp ) ^ gcc -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -o bc main.o bc.o scan.o execute.o load.o storage.o util.o global.o warranty.o ../lib/libbc.a -lreadline -lncurses make[2]: Leaving directory '/sources/bc-1.06.95/bc' Making all in dc make[2]: Entering directory '/sources/bc-1.06.95/dc' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT dc.o -MD -MP -MF ".deps/dc.Tpo" -c -o dc.o dc.c; \ then mv -f ".deps/dc.Tpo" ".deps/dc.Po"; else rm -f ".deps/dc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT misc.o -MD -MP -MF ".deps/misc.Tpo" -c -o misc.o misc.c; \ then mv -f ".deps/misc.Tpo" ".deps/misc.Po"; else rm -f ".deps/misc.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT eval.o -MD -MP -MF ".deps/eval.Tpo" -c -o eval.o eval.c; \ then mv -f ".deps/eval.Tpo" ".deps/eval.Po"; else rm -f ".deps/eval.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT stack.o -MD -MP -MF ".deps/stack.Tpo" -c -o stack.o stack.c; \ then mv -f ".deps/stack.Tpo" ".deps/stack.Po"; else rm -f ".deps/stack.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT array.o -MD -MP -MF ".deps/array.Tpo" -c -o array.o array.c; \ then mv -f ".deps/array.Tpo" ".deps/array.Po"; else rm -f ".deps/array.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT numeric.o -MD -MP -MF ".deps/numeric.Tpo" -c -o numeric.o numeric.c; \ then mv -f ".deps/numeric.Tpo" ".deps/numeric.Po"; else rm -f ".deps/numeric.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./../h -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -MT string.o -MD -MP -MF ".deps/string.Tpo" -c -o string.o string.c; \ then mv -f ".deps/string.Tpo" ".deps/string.Po"; else rm -f ".deps/string.Tpo"; exit 1; fi gcc -g -O2 -Wall -funsigned-char -g -O2 -Wall -funsigned-char -o dc dc.o misc.o eval.o stack.o array.o numeric.o string.o ../lib/libbc.a make[2]: Leaving directory '/sources/bc-1.06.95/dc' Making all in doc make[2]: Entering directory '/sources/bc-1.06.95/doc' restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (makeinfo --no-split --version) >/dev/null 2>&1; then \ for f in bc.info bc.info-[0-9] bc.info-[0-9][0-9] bc.i[0-9] bc.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if makeinfo --no-split -I . \ -o bc.info bc.texi; \ then \ rc=0; \ cd .; \ else \ rc=$?; \ cd . && \ $restore $backupdir/* `echo "./bc.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (makeinfo --no-split --version) >/dev/null 2>&1; then \ for f in dc.info dc.info-[0-9] dc.info-[0-9][0-9] dc.i[0-9] dc.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if makeinfo --no-split -I . \ -o dc.info dc.texi; \ then \ rc=0; \ cd .; \ else \ rc=$?; \ cd . && \ $restore $backupdir/* `echo "./dc.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc make[2]: Leaving directory '/sources/bc-1.06.95/doc' make[2]: Entering directory '/sources/bc-1.06.95' make[2]: Leaving directory '/sources/bc-1.06.95' make[1]: Leaving directory '/sources/bc-1.06.95' Checking e(x) scale = 10 Failed: index = 97 val1 = 1338334719204269500461736408706115029076717.4572136445 val2 = 1338334719204269500461736408706115029076717.45721364460012 Total tests: 200 Total failures: 1 Percent failed: .50 scale = 20 Total tests: 200 Total failures: 0 Percent failed: 0 scale = 30 Total tests: 200 Total failures: 0 Percent failed: 0 scale = 40 Total tests: 200 Total failures: 0 Percent failed: 0 scale = 50 Total tests: 200 Total failures: 0 Percent failed: 0 scale = 60 Total tests: 200 Total failures: 0 Percent failed: 0 Checking l(x) scale = 10 Total tests: 400 Total failures: 0 Percent failed: 0 scale = 20 Total tests: 400 Total failures: 0 Percent failed: 0 scale = 30 Total tests: 400 Total failures: 0 Percent failed: 0 scale = 40 Total tests: 400 Total failures: 0 Percent failed: 0 scale = 50 Failed: index = 8651 val1 = 9.06543020018037429960871963849168770641756864298096 val2 = 9.065430200180374299608719638491687706417568642980970004 Total tests: 400 Total failures: 1 Percent failed: .25 scale = 60 Total tests: 400 Total failures: 0 Percent failed: 0 Checking s(x) scale = 10 Failed: index = .80 val1 = .7173560909 val2 = .71735609089952 Total tests: 624 Total failures: 1 Percent failed: .16 scale = 20 Failed: index = 4.47 val1 = -.97076733665828831221 val2 = -.970767336658288312209921 Total tests: 624 Total failures: 1 Percent failed: .16 scale = 30 Failed: index = 2.19 val1 = .814340892425795914434327645905 val2 = .8143408924257959144343276459049990 Failed: index = 4.31 val1 = -.920128053755623783965712426991 val2 = -.9201280537556237839657124269909938 Total tests: 624 Total failures: 2 Percent failed: .32 scale = 40 Failed: index = 2.36 val1 = .7044107657701761194310307129327036851253 val2 = .70441076577017611943103071293270368512529991 Total tests: 624 Total failures: 1 Percent failed: .16 scale = 50 Failed: index = 2.04 val1 = .89192865095337963517152564858420454473014439859865 val2 = .891928650953379635171525648584204544730144398598649944 Total tests: 624 Total failures: 1 Percent failed: .16 scale = 60 Failed: index = .65 val1 = .6051864057360395603725216786059407063184991873698258835123\ 50 val2 = .6051864057360395603725216786059407063184991873698258835123\ 499974 Failed: index = 1.07 val1 = .8772005042746816103070632577768211866500141475064720919109\ 44 val2 = .8772005042746816103070632577768211866500141475064720919109\ 439950 Total tests: 624 Total failures: 2 Percent failed: .32 Checking a(x) scale = 10 Total tests: 200 Total failures: 0 Percent failed: 0 scale = 20 Total tests: 200 Total failures: 0 Percent failed: 0 scale = 30 Total tests: 200 Total failures: 0 Percent failed: 0 scale = 40 Total tests: 200 Total failures: 0 Percent failed: 0 scale = 50 Total tests: 200 Total failures: 0 Percent failed: 0 scale = 60 Total tests: 200 Total failures: 0 Percent failed: 0 Checking j(n,x) n=0, scale = 10 Total tests: 300 Total failures: 0 Percent failed: 0 n=1, scale = 10 Total tests: 300 Total failures: 0 Percent failed: 0 n=0, scale = 20 Total tests: 300 Total failures: 0 Percent failed: 0 n=1, scale = 20 Total tests: 300 Total failures: 0 Percent failed: 0 n=0, scale = 30 Total tests: 300 Total failures: 0 Percent failed: 0 n=1, scale = 30 Total tests: 300 Total failures: 0 Percent failed: 0 n=0, scale = 40 Total tests: 300 Total failures: 0 Percent failed: 0 n=1, scale = 40 Total tests: 300 Total failures: 0 Percent failed: 0 n=0, scale = 50 Total tests: 300 Total failures: 0 Percent failed: 0 n=1, scale = 50 Total tests: 300 Total failures: 0 Percent failed: 0 n=0, scale = 60 Total tests: 300 Total failures: 0 Percent failed: 0 n=1, scale = 60 Total tests: 300 Total failures: 0 Percent failed: 0 Making install in lib make[1]: Entering directory '/sources/bc-1.06.95/lib' make[2]: Entering directory '/sources/bc-1.06.95/lib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/sources/bc-1.06.95/lib' make[1]: Leaving directory '/sources/bc-1.06.95/lib' Making install in bc make[1]: Entering directory '/sources/bc-1.06.95/bc' make[2]: Entering directory '/sources/bc-1.06.95/bc' test -z "/usr/bin" || mkdir -p -- "/usr/bin" /usr/bin/install -c 'bc' '/usr/bin/bc' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/sources/bc-1.06.95/bc' make[1]: Leaving directory '/sources/bc-1.06.95/bc' Making install in dc make[1]: Entering directory '/sources/bc-1.06.95/dc' make[2]: Entering directory '/sources/bc-1.06.95/dc' test -z "/usr/bin" || mkdir -p -- "/usr/bin" /usr/bin/install -c 'dc' '/usr/bin/dc' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/sources/bc-1.06.95/dc' make[1]: Leaving directory '/sources/bc-1.06.95/dc' Making install in doc make[1]: Entering directory '/sources/bc-1.06.95/doc' make[2]: Entering directory '/sources/bc-1.06.95/doc' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/info" || mkdir -p -- "/usr/share/info" /usr/bin/install -c -m 644 './bc.info' '/usr/share/info/bc.info' /usr/bin/install -c -m 644 './dc.info' '/usr/share/info/dc.info' install-info --info-dir='/usr/share/info' '/usr/share/info/bc.info' install-info --info-dir='/usr/share/info' '/usr/share/info/dc.info' test -z "/usr/share/man/man1" || mkdir -p -- "/usr/share/man/man1" /usr/bin/install -c -m 644 './bc.1' '/usr/share/man/man1/bc.1' /usr/bin/install -c -m 644 './dc.1' '/usr/share/man/man1/dc.1' make[2]: Leaving directory '/sources/bc-1.06.95/doc' make[1]: Leaving directory '/sources/bc-1.06.95/doc' make[1]: Entering directory '/sources/bc-1.06.95' make[2]: Entering directory '/sources/bc-1.06.95' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/sources/bc-1.06.95' make[1]: Leaving directory '/sources/bc-1.06.95' real 0m17.629s user 0m18.076s sys 0m0.782s