Compile problems with atty
Reid M. Pinchback
rpinchback at watpix.waterloo.edu
Sat Jun 10 08:26:46 AEST 1989
When trying to compile atty on a 4.3 BSD vaxen, I get the following
warnings and errors before the makefile gives up.
"kbind.c", line 558: warning: "keytab" redefinition hides earlier one
"kbind.c", line 1025: warning: "syntax" redefinition hides earlier one
"atty.c", line 259: "errno" undefined
"atty.c", line 315: "errno" undefined
"atty.c", line 407: "errno" undefined
"atty.c", line 426: "errno" undefined
"atty.c", line 529: "errno" undefined
"atty.c", line 645: "errno" undefined
"atty.c", line 723: "errno" undefined
"atty.c", line 927: "errno" undefined
errno is tested, printed, or used to initialize a variable in the lines
that generated errors. It also appears in lines 731 and 930, where it
is assigned to, but these lines don't generate errors.
Has anybody else run into this? Is there a simple quick fix, like
"int errno;", or does this stem from a 4.3 vs 4.2 BSD difference?
Reid M. Pinchback
More information about the Comp.sources.bugs
mailing list