[Mono-devel-list] Re: Compile error on PPC: from CVS
Martin Baulig
martin at ximian.com
Wed Feb 11 04:17:35 EST 2004
On Tue, 2004-02-10 at 22:35, Urs C Muff wrote:
> cc -g -O2 -fPIC -c -o Mono.Posix/map.o Mono.Posix/map.c
> Mono.Posix/map.c: In function `map_Mono_Posix_OpenFlags':
> Mono.Posix/map.c:32: error: `O_SYNC' undeclared (first use in this
> function)
> Mono.Posix/map.c:32: error: (Each undeclared identifier is reported
> only once
> Mono.Posix/map.c:32: error: for each function it appears in.)
Apparently, Mono.Posix/map.c is a generated file (from make-map.c) and
O_SYNC should be defined in <fcntl.h>. So either your map.c doesn't
#include <fcntl.h> or it's not defined there.
--
Martin Baulig <martin at ximian.com>
Now blogging ! http://primates.ximian.com/~martin/blog
More information about the Mono-devel-list
mailing list