[parsec-users] Dedup compilation errors

kishore kumar kishoreguptaos at gmail.com
Tue May 11 11:14:53 EDT 2010


Thank you, Chris.

Best,
Kishore Kumar Pusukuri
http://www.cs.ucr.edu/~kishore



2010/5/11 Christian Bienia <cbienia at cs.princeton.edu>

>  Hi Kishore,
>
>
>
> It seems that the OpenSSH library that provides the SHA1 functions used by
> dedup is compiled as a 64-bit library, but dedup is 32 bits. I’m not sure
> what went wrong, you should be able to correct the error by rebuilding
> either one so that the versions match. Here are some more details from the
> Open Solaris forum:
>
>
>
>     http://opensolaris.org/jive/thread.jspa?messageID=28523
>
>
>
> Best,
>
> Chris
>
>
>
>
>
> *From:* parsec-users-bounces at lists.cs.princeton.edu [mailto:
> parsec-users-bounces at lists.cs.princeton.edu] *On Behalf Of *kishore kumar
> *Sent:* Tuesday, May 11, 2010 12:38 AM
> *To:* PARSEC Users
> *Subject:* [parsec-users] Dedup compilation errors
>
>
>
> Hi,
> I successfully compiled almost all PARSEC workloads except dedup on my
> OpenSolaris 2009.06 machine. Getting the following error. Please help me.
> (The machine is: SunOS parsec 5.11 snv_111b i86pc i386 i86pc).
>
> kishore at parsec[71]; ./bin/parsecmgmt -a clean -p dedup -c gcc-pthreads -i
> native -n 8
> [PARSEC] Removing build and run files for build
> 'i386-solaris.gcc-pthreads':
> [PARSEC] dedup - [Removing build 'i386-solaris.gcc-pthreads']
> : kishore at parsec[72]; ./bin/parsecmgmt -a build -p dedup -c gcc-pthreads
> -i native -n 8
> [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] Copying source code of package dedup.
> [PARSEC] Running 'env version=pthreads
> CFLAGS=-I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops   -I/usr/sfw/include -DPARSEC_VERSION=2.1
> LDFLAGS=-L/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/lib
> -L/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/lib
> -L/lib64 -L/lib -L/usr/sfw/lib /usr/sfw/bin/gmake':
> /bin/gcc -c
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread hashtable.c -o
> hashtable.o
> gcc: -lpthread: linker input file unused because linking not done
> /bin/gcc -c
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread queue.c -o
> queue.o
> gcc: -lpthread: linker input file unused because linking not done
> /bin/gcc -c
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread util.c -o
> util.o
> gcc: -lpthread: linker input file unused because linking not done
> /bin/gcc -c
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread binheap.c -o
> binheap.o
> gcc: -lpthread: linker input file unused because linking not done
> /bin/gcc -c
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread tree.c -o
> tree.o
> gcc: -lpthread: linker input file unused because linking not done
> /bin/gcc -c
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread decoder.c -o
> decoder.o
> gcc: -lpthread: linker input file unused because linking not done
> /bin/gcc -c
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread dedup.c -o
> dedup.o
> gcc: -lpthread: linker input file unused because linking not done
> /bin/gcc -c
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread rabin.c -o
> rabin.o
> gcc: -lpthread: linker input file unused because linking not done
> /bin/gcc -c
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread encoder.c -o
> encoder.o
> gcc: -lpthread: linker input file unused because linking not done
> /bin/gcc
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops -I/usr/sfw/include -DPARSEC_VERSION=2.1 -Wall -std=c99
> -fno-strict-aliasing -D_XOPEN_SOURCE=600 -DPARALLEL -lpthread
> -L/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/lib
> -L/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/lib
> -L/lib64 -L/lib -L/usr/sfw/lib -o dedup hashtable.o queue.o util.o binheap.o
> tree.o decoder.o dedup.o rabin.o encoder.o  -lcrypto -lz
> ld: warning: file
> /export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/lib/libcrypto.a(sha1dgst.o):
> wrong ELF class: ELFCLASS64
> Undefined            first referenced
>  symbol                  in file
> SHA1_Init                           util.o
> SHA1_Update                         util.o
> SHA1_Final                          util.o
> ld: fatal: symbol referencing errors. No output written to dedup
> collect2: ld returned 1 exit status
> gmake: *** [dedup] Error 1
> [PARSEC] Error: 'env version=pthreads
> CFLAGS=-I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/include
> -I/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/include
> -O3 -funroll-loops   -I/usr/sfw/include -DPARSEC_VERSION=2.1
> LDFLAGS=-L/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/ssl/inst/i386-solaris.gcc-pthreads/lib
> -L/export/home/kishore/parsec-full/parsec-2.1/pkgs/libs/zlib/inst/i386-solaris.gcc-pthreads/lib
> -L/lib64 -L/lib -L/usr/sfw/lib /usr/sfw/bin/gmake' failed.
>
> Best,
> Kishore Kumar Pusukuri
> http://www.cs.ucr.edu/~kishore <http://www.cs.ucr.edu/%7Ekishore>
>
> _______________________________________________
> 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/20100511/20af75cd/attachment.html>


More information about the parsec-users mailing list