[parsec-users] Errors while building dedup!!

Ronak rixor786 at gmail.com
Fri Sep 9 18:05:53 EDT 2011


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--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20110910/46d06375/attachment.htm>


More information about the parsec-users mailing list