[parsec-users] error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments

Byn Choi bynchoi1 at illinois.edu
Thu Mar 31 22:10:15 EDT 2011


I suspect that you want to apply the patches found here: http://wiki.cs.princeton.edu/index.php/PARSEC#Patches_and_Bugfixes

It looks like the error you encountered is handled with the patch shown at the top of the first table.

On Mar 31, 2011, at 9:05 PM, Aravind Reddy Gayam wrote:

> Hello,
> While building the package for vips, I am encountering the following problem.
> Can somebody help me!!!
> 
> /home/anusha/Documents/parsec-2.1/pkgs/libs/libxml2/src/nanohttp.c: In function 'xmlNanoHTTPFetch':
> /home/anusha/Documents/parsec-2.1/pkgs/libs/libxml2/src/nanohttp.c:1555: warning: ignoring return value of 'write', declared with attribute warn_unused_result
> /home/anusha/Documents/parsec-2.1/pkgs/libs/libxml2/src/nanohttp.c: In function 'xmlNanoHTTPSave':
> /home/anusha/Documents/parsec-2.1/pkgs/libs/libxml2/src/nanohttp.c:1594: warning: ignoring return value of 'write', declared with attribute warn_unused_result
> In file included from /usr/include/fcntl.h:252,
>                  from /home/anusha/Documents/parsec-2.1/pkgs/libs/libxml2/src/nanohttp.c:49:
> In function 'open',
>     inlined from 'xmlNanoHTTPSave' at /home/anusha/Documents/parsec-2.1/pkgs/libs/libxml2/src/nanohttp.c:1585:
> /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[2]: *** [nanohttp.lo] Error 1
> make[2]: Leaving directory `/home/anusha/Documents/parsec-2.1/pkgs/libs/libxml2/obj/amd64-linux.gcc-pthreads'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/anusha/Documents/parsec-2.1/pkgs/libs/libxml2/obj/amd64-linux.gcc-pthreads'
> make: *** [all] Error 2
> [PARSEC] Error: 'env CFLAGS=-I/home/anusha/Documents/parsec-2.1/pkgs/libs/zlib/inst/amd64-linux.gcc-pthreads/include -O3 -funroll-loops -fprefetch-loop-arrays -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 LDFLAGS=-L/home/anusha/Documents/parsec-2.1/pkgs/libs/zlib/inst/amd64-linux.gcc-pthreads/lib -L/usr/lib64 -L/usr/lib /usr/bin/make' failed.
> anusha at anusha-HP-G60-Notebook-PC:~/Documents/parsec-2.1$ 
>  
> Thanks
> Aravind. _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20110331/b7edccf6/attachment.htm>


More information about the parsec-users mailing list