🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #2272

Compile problems with atty

#2272
From: Reid M. Pinchback
Date: Fri, 09 Jun 1989 22:26
23 lines
1625 bytes
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
Technical Details
Message-ID: <10240@watcgl.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!watpix!rpinchback

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!watcgl!watpix!rpinchback
From: rpinchback@watpix.waterloo.edu (Reid M. Pinchback)
Newsgroups: comp.sources.bugs,comp.sources.d
Subject: Compile problems with atty
Message-ID: <10240@watcgl.waterloo.edu>
Date: 9 Jun 89 22:26:46 GMT
Sender: daemon@watcgl.waterloo.edu
Reply-To: rpinchback@watpix.waterloo.edu (Reid M. Pinchback)
Organization: U. of Waterloo, Ontario
Lines: 23