Hi,
I get the following compile error:
Yap-5.1.3$ uname -a
Linux benchmark 2.6.27-11-server #1 SMP Thu Jan 29 20:13:12 UTC 2009 x86_64
GNU/Linux
Yap-5.1.3$ ./configure --enable-tabling=yes
Yap-5.1.3$ make
I./H -I./OPTYap -I./BEAM -I./MYDDAS ./C/alloc.c -o alloc.o
In function ‘open’,
inlined from ‘ExtendWorkSpace’ at ./C/alloc.c:945:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared
with attribute error: open with O_CREAT in second argument needs 3 arguments
make: *** [alloc.o] Error 1
Check patch at the bottom
Joerg Spieler
Index: alloc.c
===================================================================
RCS file: /cvsroot/yap/C/alloc.c,v
retrieving revision 1.95
diff -r1.95 alloc.c
832c832
< fd = open(file, O_CREAT|O_RDWR);
---
> fd = open(file, O_CREAT|O_RDWR, 0644);
945c945
< fd = open(file, O_CREAT|O_RDWR);
---
> fd = open(file, O_CREAT|O_RDWR, 0644);
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial.
http://p.sf.net/sfu/www-adobe-com_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users