==================BEGIN FORWARDED MESSAGE==================
>From: "Yuri Prokushev" <prokushev(a)freemail.ru>
>To: "Frank Heckenbach" <frank(a)g-n-u.de>
>Date: Mon, 18 Mar 2002 11:10:59 -0500 (EST)
>Reply-To: "Yuri Prokushev" <prokushev(a)freemail.ru>
>Priority: Normal
>X-Mailer: PMMail 2.20.2380 for OS/2 Warp 4.5
>In-Reply-To: <200203172125.WAA10698(a)goedel.fjf.gnu.de>
>MIME-Version: 1.0
>Content-Type: text/plain; charset="koi8-r"
>Content-Transfer-Encoding: 7bit
>Subject: Re: constants in rts/rts.c
>
On Sun, 17 Mar 2002 22:25:07 +0100, Frank Heckenbach wrote:
>Yuri Prokushev wrote:
>
>> Where defined F_* constants for rts.c?
>>
>These should be defined in <sys/stat.h> or some other system header.
>
>> rts.c: In function `_p_FlushHandle':
>> rts.c:1682: warning: implicit declaration of function `fsync'
>
>This code is enclosed in `#ifdef HAVE_FSYNC'. Similar for other
>functions (and the F_* constants which are in `#ifdef HAVE_FCNTL').
>
>Since HAVE_FSYNC is set (by configure, unless you changed this
>manually), I assume your system does in fact have these functions,
>but it's missing the declarations in the headers (as for the S_*
>constants).
>
>This is for EMX, is it? Well, I haven't used EMX myself so I don't
>know what its headers look like. Perhaps you just have to include
>some more header (if I know which one, I can do it automatically in
>the future, but you can try adding #include statements in rts.c
>manually).
Yes. This is for emx. sys/stat.h contains all required definitions, but seem to be
incorrect include path (/usr/local/... instead c:/emx/include). I don't understand yet how
to fix it. But fcntl.h doesn't contain file lock definetions. fcntl.h from posix/2 lib seems to
be more fine.
>Is anyone on this lists who's used EMX recently? I haven't heard
>much of it for some years ...
Latest emx+gcc is 0.9d fix 4 (dated 20 march 2001). But in emx+gcc old gcc 2.8.1. Now
presented pgcc-2.95.3 (I trying compile gpc with it), and GNU CC 3.0.x. This compilers
patched and compiled by Andrew Zabolotny. So, now used emxlibc and gcc from AZ.
Now developing libext (also known as libemu or posix/2) wich seems to be successor
of emxlib.
===================END FORWARDED MESSAGE===================