[parsec-users] Error when compiling with '__open_missing_mode'

Christian Bienia cbienia at CS.Princeton.EDU
Wed Jul 14 15:21:26 EDT 2010


Hi Ke,

 

The error is caused because the flags specifying the file I/O mode are not
fully standards compliant. One of the patches from the PARSEC wiki will fix
this.

 

- Chris

 

 

From: parsec-users-bounces at lists.cs.princeton.edu
[mailto:parsec-users-bounces at lists.cs.princeton.edu] On Behalf Of Ke Chen
Sent: Wednesday, July 14, 2010 3:02 PM
To: PARSEC Users
Subject: [parsec-users] Error when compiling with '__open_missing_mode'

 

Hi Team,

I encountered an error when compiling packages dedup and vips.  The error
message is as follows:

In function 'open',
    inlined from 'Reassemble' at decoder.c:188:
/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: *** [decoder.o] Error 1
[PARSEC] Error: 'env version=pthreads
CFLAGS=-I/home/kechen/PARSEC/parsec-2.1/bin/../pkgs/libs/ssl/inst/amd64-linu
x.gcc/include
-I/home/kechen/PARSEC/parsec-2.1/bin/../pkgs/libs/zlib/inst/amd64-linux.gcc/
include -O3 -funroll-loops -fprefetch-loop-arrays -static-libgcc
-Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1
LDFLAGS=-L/home/kechen/PARSEC/parsec-2.1/bin/../pkgs/libs/ssl/inst/amd64-lin
ux.gcc/lib
-L/home/kechen/PARSEC/parsec-2.1/bin/../pkgs/libs/zlib/inst/amd64-linux.gcc/
lib -L/usr/lib64 -L/usr/lib /usr/bin/make' failed.

I am using Ubuntu 10.10, the gcc version is 4.4.3 and the kernel is 2.6.32.
Also I have libxml2 2.7.6 on my system.  Could someone please guide me to
solve the problem?  Thanks a lot.

-- 
Ke Chen
Graduate Student - Department of Electrical Engineering
University of Notre Dame

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20100714/2d59c7b0/attachment.html>


More information about the parsec-users mailing list