Digital unix Pb
Gert Doering (gert@greenie.muc.de)
Wed, 4 Nov 1998 23:34:49 +0100
Hi,
On Tue, Nov 03, 1998 at 06:38:26PM +0100, Malek Shabou wrote:
> i have some problem with OSF/1 cc, when builing mgetty cc produce a
> warning:
>
> cc: Warning: conf_sf.c, line 34: In the static initialization, the value
> of the address has been truncated.
> { "modem-handshake", {(p_int) FAX_MODEM_HANDSHAKE}, CT_STRING,
> C_PRESET },
> --------------------------------------^
>
> and when linking a have this message:
>
> conf_sf.o: longword relocation out-of-range in .data (offset at ce8),
> value=0x1400046a0;
> conf_sf.o: Consider using the -taso switch
AFAIR, there is some comment in the docs that compilation with
"CFLAGS=-taso" works good, and without, it might not.
Another way to get around both errors could be setting
CFLAGS=-DPTR_IS_LONG
in the Makefile, and recompiling.
[..]
> actualy, mgetty and sendfax ingore all the default parametre and if all
> the parametre does not figure in mgetty.conf and sendfax.conf, they hug
> (Segmentation fault (core dumped)) beause they trie de access sone
> parametre which are not initialisated.
Definitely. 32/64 bit problem.
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