gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNOKKI WITH SUN SOLARIS 8


From: BORBELY Zoltan
Subject: Re: GNOKKI WITH SUN SOLARIS 8
Date: Tue, 29 Oct 2002 17:27:40 +0100
User-agent: Mutt/1.2.5.1i

Hi,

On Tue, Oct 29, 2002 at 04:27:40PM +0100, address@hidden wrote:
> unixserial.c: In function `serial_write':
> unixserial.c:455: warning: increment of read-only location
> unixserial.c: In function `serial_nreceived':
> unixserial.c:466: `FIONREAD' undeclared (first use in this function)
> unixserial.c:466: (Each undeclared identifier is reported only once
> unixserial.c:466: for each function it appears in.)
> gmake[1]: *** [unixserial.o] Error 1
> gmake[1]: Leaving directory `/usr/local/gnokii-0.4.3/common/devices'
> make: *** [common/devices] Error 2

Try to delete the following lines from the common/devices/unixserial.c:

    if (ioctl(fd, FIONREAD, n)) {
            dprintf("serial_nreceived: cannot get the received data size\n");
            return GN_ERR_INTERNALERROR;
    }

This is unneccessary unless you are using m2bus. I will create a real fix
in the future.

Bye,
Bozo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]