[parsec-users] Errors while building dedup!!

Yungang Bao ybao at CS.Princeton.EDU
Tue Sep 13 12:00:10 EDT 2011


Hi Ronak,

Please see this messages. You may need to apply a patch. 

https://lists.cs.princeton.edu/pipermail/parsec-users/2011-March/001067.html

Best Regards,
Yungang

----- Original Message -----
From: "Ronak" <rixor786 at gmail.com>
To: parsec-users at lists.cs.princeton.edu
Sent: Friday, September 9, 2011 6:05:53 PM
Subject: [parsec-users] Errors while building dedup!!


Hi, 
I tried to build dedup on ubuntu 64 bit machine, but dedup failed, here is the snapshot of what I got on my screen!! 


/home/compiler/Benchmarks/Parsec/parsec-2.1/config/gcc.bldconf: line 1: #!/bin/bash: No such file or directory 
[PARSEC] Packages to build: dedup 

[PARSEC] [========== Building package dedup ==========] 
[PARSEC] [---------- Analyzing package dedup ----------] 
[PARSEC] dedup depends on: ssl zlib 
[PARSEC] [---------- Analyzing package ssl ----------] 
[PARSEC] Package ssl already exists, proceeding. 
[PARSEC] [---------- Analyzing package zlib ----------] 
[PARSEC] Package zlib already exists, proceeding. 
[PARSEC] [---------- Building package dedup ----------] 
[PARSEC] Removing old build directory. 
[PARSEC] Copying source code of package dedup. 
[PARSEC] Running 'env version=pthreads CFLAGS=-I/home/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/include -I/home/compiler/Benchmarks/Parsec/parsec-2.1/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/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/lib -L/home/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/zlib/inst/amd64-linux.gcc/lib -L/usr/lib64 -L/usr/lib /usr/bin/make': 
/usr/bin/gcc -c -I/home/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/include -I/home/compiler/Benchmarks/Parsec/parsec-2.1/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 -Wall -std=c99 -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -pthread hashtable.c -o hashtable.o 
/usr/bin/gcc -c -I/home/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/include -I/home/compiler/Benchmarks/Parsec/parsec-2.1/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 -Wall -std=c99 -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -pthread queue.c -o queue.o 
/usr/bin/gcc -c -I/home/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/include -I/home/compiler/Benchmarks/Parsec/parsec-2.1/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 -Wall -std=c99 -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -pthread util.c -o util.o 
/usr/bin/gcc -c -I/home/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/include -I/home/compiler/Benchmarks/Parsec/parsec-2.1/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 -Wall -std=c99 -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -pthread binheap.c -o binheap.o 
/usr/bin/gcc -c -I/home/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/include -I/home/compiler/Benchmarks/Parsec/parsec-2.1/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 -Wall -std=c99 -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -pthread tree.c -o tree.o 
/usr/bin/gcc -c -I/home/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/include -I/home/compiler/Benchmarks/Parsec/parsec-2.1/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 -Wall -std=c99 -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -pthread decoder.c -o decoder.o 
In file included from /usr/include/fcntl.h:205, 
from util.h:11, 
from decoder.c:1: 
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 
In function ‘open’, 
inlined from ‘Reassemble’ at decoder.c:258: 
/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/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/include -I/home/compiler/Benchmarks/Parsec/parsec-2.1/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/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/ssl/inst/amd64-linux.gcc/lib -L/home/compiler/Benchmarks/Parsec/parsec-2.1/pkgs/libs/zlib/inst/amd64-linux.gcc/lib -L/usr/lib64 -L/usr/lib /usr/bin/make' failed. 

Somebody, please give some pointers to solve this problem. 
Thanks 
Ronak 

-- 
-- I find that the harder I work,the more luck I seem to have-- 

_______________________________________________
parsec-users mailing list
parsec-users at lists.cs.princeton.edu
https://lists.cs.princeton.edu/mailman/listinfo/parsec-users


More information about the parsec-users mailing list