[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Problem compiling on FreeBSD
From: Robert =?ISO-8859-1?Q?Sch=F6ftner?= <r.schoeftner () magnet ! at>
Date: 1999-01-28 18:28:21
[Download RAW message or body]
Am Tue, 26 Jan 1999 schrieb Mike Pilone:
>I attempted to do a clean compile of 1.1pre2 on a freeBSD system and got
>the following error:
>
>/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
>-I.. -O2 -Wall -c rdb.c
>rdb.c: In function `rdb_open':
>rdb.c:114: `O_SYNC' undeclared (first use this function)
>rdb.c:114: (Each undeclared identifier is reported only once
>rdb.c:114: for each function it appears in.)
>rdb.c: In function `rdb_reorganize':
>rdb.c:220: `O_SYNC' undeclared (first use this function)
you could try to #define O_SYNC O_FSYNC. don't know if freebsd understands it,
but the bsd-personality of nextstep knows O_FSYNC :)
this flag should be defined somewhere in <fcntl.h> or some file included there.
better solution would be (IMHO) to explicitly fsync() where needed...
servas,
robert
--
Robert GS@ PGP+ Die Justiz ist wie die Venus von Milo:
Schöftner G++? [...] Einen Kopf, aber keine Arme
r.schoeftner@magnet.at -- Kommissar Navarro
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic