Subject: Re: errors in build from sup 1997/06/21 (libexec/ftpd)
To: Curt Sampson <cjs@portal.ca>
From: Erik E. Fair <fair@clock.org>
List: current-users
Date: 06/21/1997 18:59:00
Recompiling yacc on the sun3 had no effect:


make clean ; make ; make install ; pushd /usr/src/libexec/ftpd ; make clean
; make
rm -f a.out [Ee]rrs mklog core *.core  yacc closure.o error.o lalr.o lr0.o
main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o
closure.ln error.ln lalr.ln lr0.ln main.ln mkpar.ln output.ln reader.ln
skeleton.ln symtab.ln verbose.ln warshall.ln
2.4u 2.5s 0:05.25 95.6% 0+0k 40+39io 8pf+0w
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c closure.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c error.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c lalr.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c lr0.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c main.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c mkpar.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c output.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c reader.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c skeleton.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c symtab.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c verbose.c
cc -O  -Werror -nostdinc -idirafter /altroot/usr/include  -c warshall.c
cc   -o yacc -nostdlib -L/altroot/usr/lib /altroot/usr/lib/crt0.o
closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o
symtab.o verbose.o warshall.o  -lgcc -lc -lgcc
210.8u 25.1s 4:00.32 98.2% 0+0k 87+317io 433pf+0w
install -c -s -o bin -g bin  -m 555 yacc /altroot/usr/bin/yacc
3.0u 2.8s 0:05.73 102.4% 0+0k 57+28io 37pf+0w
/usr/src/libexec/ftpd /usr/src/usr.bin/yacc /usr/local/src/bin/ssh/ssh-1.2.2=
0
rm -f a.out [Ee]rrs mklog core *.core  ftpd conf.o ftpd.o ftpcmd.o
logwtmp.o popen.o  conf.ln ftpd.ln ftpcmd.ln logwtmp.ln popen.ln ftpcmd.c
y.tab.h
2.4u 1.3s 0:03.62 106.6% 0+0k 16+16io 8pf+0w
cc -O -DHASSETPROCTITLE -DSKEY -Dunix -Wall -Wstrict-prototypes
-Wmissing-prototypes  -Werror -nostdinc -idirafter /altroot/usr/include  -c
conf.c
cc -O -DHASSETPROCTITLE -DSKEY -Dunix -Wall -Wstrict-prototypes
-Wmissing-prototypes  -Werror -nostdinc -idirafter /altroot/usr/include  -c
ftpd.c
yacc -d ftpcmd.y
mv y.tab.c ftpcmd.c
cc -O -DHASSETPROCTITLE -DSKEY -Dunix -Wall -Wstrict-prototypes
-Wmissing-prototypes  -Werror -nostdinc -idirafter /altroot/usr/include  -c
ftpcmd.c
cc1: warnings being treated as errors
y.tab.c:960: warning: function declaration isn't a prototype
y.tab.c:991: warning: function declaration isn't a prototype
y.tab.c: In function `yyparse':
y.tab.c:1062: warning: label `yyerrlab' defined but not used
y.tab.c:1057: warning: label `yynewerror' defined but not used
ftpcmd.c: At top level:
ftpcmd.c:5: warning: `yyrcsid' defined but not used
*** Error code 1

Stop.
108.9u 12.2s 2:04.72 97.2% 0+0k 188+136io 110pf+0w