W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

O_SYNC problem

From: Yiorgos Adamopoulos <adamo@dblab.ece.ntua.gr>
Date: Tue, 2 Feb 1999 15:32:59 +0200
Message-ID: <19990202153259.A304@dblab.ece.ntua.gr>
To: www-lib@w3.org

Using today's snapshot on a FreeBSD-3.0-RELEASE:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include
-DW3C_ICONS=\"/usr/local/libwww/share/w3c-libwww\" -g -O2
-Wp,-MD,.deps/HTMemLog.pp -c  -fPIC -DPIC HTMemLog.c -o .libs/HTMemLog.lo
HTMemLog.c: In function `HTMemLog_open':
HTMemLog.c:55: `O_SYNC' undeclared (first use this function)
HTMemLog.c:55: (Each undeclared identifier is reported only once
HTMemLog.c:55: for each function it appears in.)
gmake[4]: *** [HTMemLog.lo] Error 1

A grep -l O_SYNC under /usr/include shows that FreeBSD does not have it. 

CAhecking with the port for libwww-5.1m1 for FreeBSD I see that the
corresponding snippet is:

#else /* WWW_MSWINDOWS */
#endif /* !WWW_MSWINDOWS */

Removing O_SYNC makes compile OK for fbsd-3.0.  I think you must commit this...

Received on Tuesday, 2 February 1999 08:33:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:49 UTC