Solaris x86 compile error

"Cary T. Conrad" (conrad@osystems.com)
Fri, 13 Aug 1999 10:08:28 -0400


To Gert and all.

I am trying to install pppd to replace the horible aspppd and I was
directed to the mgetty effort via a document written by Oliver Hitz.

I downloaded and tried to compile the mgetty dist(1.1.9) and after
RFM'ing and reading the newsgroup I am still having the following error:

gcc -O2 -Wall -pipe -Dsolaris86 -DAUTO_PPP
-DFAX_SPOOL_IN=\"/var/spool/fax/incom
ing\" -c mgetty.c
In file included from mgetty.c:23:
mgetty.h:277: conflicting types for `getopt'
/usr/local/lib/gcc-lib/i486-sun-solaris2.5.1/2.7.2.2/include/stdlib.h:154:

previ
ous declaration of `getopt'
Usage: as [options] file
mgetty.c: In function `st_sig_callback':
mgetty.c:228: output pipe has been closed
cpp: output pipe has been closed
*** Error code 1
make: Fatal error: Command failed for target `mgetty.o'


Any suggetions?

MANY MANY Thanks in advance.

CC