You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
htslib/libhts.a(cram_io.o): In function `lzma_mem_deflate':
/home/xiaolicbs/bin/SE-MEI/htslib/cram/cram_io.c:673: undefined reference to `lzma_stream_buffer_bound'
/home/xiaolicbs/bin/SE-MEI/htslib/cram/cram_io.c:679: undefined reference to `lzma_easy_buffer_encode'
htslib/libhts.a(cram_io.o): In function `cram_compress_by_method':
/home/xiaolicbs/bin/SE-MEI/htslib/cram/cram_io.c:1035: undefined reference to `BZ2_bzBuffToBuffCompress'
htslib/libhts.a(cram_io.o): In function `cram_uncompress_block':
/home/xiaolicbs/bin/SE-MEI/htslib/cram/cram_io.c:961: undefined reference to `BZ2_bzBuffToBuffDecompress'
htslib/libhts.a(cram_io.o): In function `lzma_mem_inflate':
/home/xiaolicbs/bin/SE-MEI/htslib/cram/cram_io.c:695: undefined reference to `lzma_easy_decoder_memusage'
/home/xiaolicbs/bin/SE-MEI/htslib/cram/cram_io.c:695: undefined reference to `lzma_stream_decoder'
/home/xiaolicbs/bin/SE-MEI/htslib/cram/cram_io.c:710: undefined reference to `lzma_code'
/home/xiaolicbs/bin/SE-MEI/htslib/cram/cram_io.c:723: undefined reference to `lzma_code'
/home/xiaolicbs/bin/SE-MEI/htslib/cram/cram_io.c:732: undefined reference to `lzma_end'
This can be resolved by linking those two libraries: -llzma -lbz2 when compiling extractSoftclipped.c in the makefile.
The text was updated successfully, but these errors were encountered:
Hi Xiao. No idea about how to do the link in makefile. Is that simply adding -llzma -lbz2 to make line like this?: $(CC) $(OPTS) $(INCLUDES) -o compactRepeats compactRepeats.o htslib/libhts.a -lz -lpthread -llzma -lbz2 $(CC) $(OPTS) $(INCLUDES) -o extractSoftclipped extractSoftclipped.o htslib/libhts.a -lz -lpthread -llzma -lbz2
Compile failed with error message like this:
This can be resolved by linking those two libraries:
-llzma -lbz2
when compiling extractSoftclipped.c in the makefile.The text was updated successfully, but these errors were encountered: