mgetty and Sparc solaris7
"Ralf Meuser" (rmeuser@free.fr)
Wed, 18 Aug 1999 09:29:11 GMT
Thanks for you fast help.
I modified my Makefile and restart make.
Now O get the follwing message:
cc -Dsolaris2 -fast -xO5 -xarch=v9 -w -DPTR_IS_LONG -c do_stat.c
cc -o mgetty mgetty.o logfile.o do_chat.o locks.o utmp.o logname.o login.o
mg_m
_init.o modem.o faxrec.o ring.o faxlib.o faxsend.o faxrecp.o class1.o
class1lib
.o faxhng.o io.o gettydefs.o tio.o cnd.o getdisk.o goodies.o config.o
conf_mg.
o do_stat.o
ld: fatal : fichier mgetty.o : classe de machine erronée
ld: fatal : Erreurs de traitement des fichiers. Aucun résultat écrit dans
mgetty
*** Error code 1
make: Fatal error: Command failed for target `mgetty'
Coiuld you help me again ??
bye
Ralf Meuser
Gert Doering <gert@greenie.muc.de> a écrit dans le message :
19990817142154.A952@greenie.muc.de...
> 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!
>
file://www.muc.de/~gert/
> Gert Doering - Munich, Germany
gert@greenie.muc.de
> fax: +49-89-35655025
gert.doering@physik.tu-muenchen.de
>
> -
> Posted automagically by a mail2news gateway at muc.de e.V.
> Please direct questions, flames, donations, etc. to admin@newsgate.muc.de