sys_errlist previous declaration

Gert Doering (gert@greenie.muc.de)
Sat, 27 Feb 1999 20:00:52 +0100


Hi,

On Sat, Feb 27, 1999 at 01:42:39PM -0500, Brian E. Seppanen wrote:
> > > I'm trying to compile mgetty1.1.0-Jan20, and I get the following error
> > > when running make.
> > 
> > What operating system?  What version of the libraries?
> 
> I'm running linux 2.0.36 with glibc6.  

Exactly which version of glibc, and which compiler?  Mgetty does check for
glibc2 in various places (btw: it's "libc6" or "glibc2", not "glibc6"),
and so I'm fairly surprised that this reappears.

> I've gotten the program to compile
> successfully, but to do so I had to change the variable type for
> sys_errlist  to match my stdio.h.  Will this impact the running of
> mgetty? 

No.  The "const" stuff is actually only a hint to the compiler "complain
if somebody tries to change it", but doesn't affect code generation.

> I'm assuming its necessary, considering I couldn't compile without
> doing so.  The only other problem I had compiling is for some reason it
> choked on the fax handshake codes.  I have a rockwell based Zoltrix modem
> thatneeds AT&K3, which I included in policy.h FAX_HANDSHAKE.  I just commented
> the handshake code out, which appeared OK from the comments.  

Better use the config files, not policy.h, for modem specific things.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de