Dear gnu group,
I work on Ubuntu. I tried to install a program, but there are
some errors when I do "make". my make version is as follows:
"GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and
redistribute it.
There is NO WARRANTY, to the extent permitted by law."
my gcc version is :
"gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying
conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE."
the software reports the following errors:
"pregraph_sparse_63mer.v1.0.3 objects
generated.
SOAPdenovo-63mer objects generated.
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(bam_aux.o):
relocation R_X86_64_32S against `.rodata' can not be used when
making a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(bam.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making
a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(bam_import.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used
when making a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(sam.o): relocation
R_X86_64_32 against `.rodata.str1.8' can not be used when making
a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(bam_pileup.o):
relocation R_X86_64_32 against `.rodata.str1.8' can not be used
when making a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(faidx.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making
a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(knetfile.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used
when making a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(sam_header.o):
relocation R_X86_64_32 against `.rodata.str1.1' can not be used
when making a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(bgzf.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making
a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(kstring.o):
relocation R_X86_64_32 against `.text' can not be used when
making a shared object; recompile with -fPIC
/usr/bin/ld: ./sparsePregraph/inc/libbam.a(razf.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making
a shared object; recompile with -fPIC
standardPregraph/iterate.o: In function `getFromKmer':
/home/wu/software/SOAPdenovo2-master/standardPregraph/iterate.c:231:
undefined reference to `KmerPlusTail'
standardPregraph/iterate.o: In function `update1Edge':
/home/wu/software/SOAPdenovo2-master/standardPregraph/iterate.c:419:
undefined reference to `delete1Edge'
standardPregraph/iterate.o: In function `getNewHash':
/home/wu/software/SOAPdenovo2-master/standardPregraph/iterate.c:498:
undefined reference to `delete1Edge'
standardPregraph/iterate.o: In function `buildGraphHash':
/home/wu/software/SOAPdenovo2-master/standardPregraph/iterate.c:739:
undefined reference to `delete1Edge'
standardPregraph/iterate.o: In function `swapedge':
/home/wu/software/SOAPdenovo2-master/standardPregraph/iterate.c:1774:
undefined reference to `delete1Edge'
/home/wu/software/SOAPdenovo2-master/standardPregraph/iterate.c:1833:
undefined reference to `delete1Edge'
standardPregraph/read2edge.o: In function `searchKmer1read':
/home/wu/software/SOAPdenovo2-master/standardPregraph/read2edge.c:358:
undefined reference to `put_preArc_threaded'
/home/wu/software/SOAPdenovo2-master/standardPregraph/read2edge.c:362:
undefined reference to `put_preArc_threaded'
/home/wu/software/SOAPdenovo2-master/standardPregraph/read2edge.c:367:
undefined reference to `put_preArc_threaded'
/home/wu/software/SOAPdenovo2-master/standardPregraph/read2edge.c:394:
undefined reference to `put_preArc_threaded'
/home/wu/software/SOAPdenovo2-master/standardPregraph/read2edge.c:398:
undefined reference to `put_preArc_threaded'
standardPregraph/read2edge.o:/home/wu/software/SOAPdenovo2-master/standardPregraph/read2edge.c:403:
more undefined references to `put_preArc_threaded' follow
/usr/bin/ld: final link failed: Nonrepresentable section on
output
collect2: error: ld returned 1 exit status
Makefile:56: recipe for target 'SOAPdenovo-63mer' failed
make: *** [SOAPdenovo-63mer] Error 1"
Do you have any ideal for this error?
Thank you very much.
sincerely
Huan