mgetty and Sparc solaris7
Gert Doering (gert@greenie.muc.de)
Tue, 17 Aug 1999 14:21:54 +0200
hi,
On Tue, Aug 17, 1999 at 09:46:21AM +0000, Ralf Meuser wrote:
> Did somebody installed mgetty on a sparc solaris7 machine with
> the Sun complier 5.0 ?
>
> When yes then I would like to know how to configure the Makefile.
>
> I tryed it like this:
>
>
> cc -Dsolaris2 -fast -xO5 -xarch=v9 -w -DCONFDIR=\"/usr/local/etc/mgetty+send
> fax\" -c conf_mg.c
> "conf_mg.c", line 65: an address is not allowed in a constant initializer
> for an integral type whose size is smaller than
> the size of a pointer
Looks like you want to add -DPTR_IS_LONG to CFLAGS in the Makefile.
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