Nextomics / NextPolish

Fast and accurately polish the genome generated by long reads.
GNU General Public License v3.0
200 stars 27 forks source link

make[2]: *** [Makefile:30: bwa] Error 1 错误 #121

Open smoothyly opened 8 months ago

smoothyly commented 8 months ago

你好,当我安装nextpolish的时候出现下面这个错误,请问这是什么原因呢?这导致我后续的程序运行会缺少seq_split这个文件。下面是错误:

make -C util;
make[1]: Entering directory '/home/liuli/geneomic/nextpolish/NextPolish/util'
make[2]: Entering directory '/home/liuli/geneomic/nextpolish/NextPolish/util/bwa'
gcc -g -Wall -Wno-unused-function -O2 -DHAVE_PTHREAD -DUSE_MALLOC_WRAPPERS bwashm.o bwase.o bwaseqio.o bwtgap.o bwtaln.o bamlite.o bwape.o kopen.o pemerge.o maxk.o bwtsw2_core.o bwtsw2_main.o bwtsw2_aux.o bwt_lite.o bwtsw2_chain.o fastmap.o bwtsw2_pair.o main.o -o bwa -L. -lbwa -lm -lz -lpthread -lrt
./libbwa.a(rope.o):(.rodata+0x30): multiple definition of `rle_auxtab'
./libbwa.a(bwtindex.o):(.rodata+0x58): first defined here
./libbwa.a(rle.o):(.rodata+0x0): multiple definition of `rle_auxtab'
./libbwa.a(bwtindex.o):/home/liuli/geneomic/nextpolish/NextPolish/util/bwa/bwtindex.c:61: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:30: bwa] Error 1
make[2]: Leaving directory '/home/liuli/geneomic/nextpolish/NextPolish/util/bwa'
make[1]: *** [Makefile:19: bwa_] Error 2
make[1]: Leaving directory '/home/liuli/geneomic/nextpolish/NextPolish/util'
make: *** [Makefile:18: all] Error 2

如何您能解答,我将不甚感激 orz

moold commented 8 months ago

see #118