Hi: I am new to the samtools. I install samtools 1.2 as it's directed and it succeeds. when I try compile your example of samtools C :
http://samtools.sourceforge.net/sam-exam.shtml it send out the the following error. Can you help me ? test_sam_h.c:(.text+0x124): undefined reference to `samopen' test_sam_h.c:(.text+0x182): undefined reference to `sampileup' test_sam_h.c:(.text+0x19f): undefined reference to `hts_idx_load' test_sam_h.c:(.text+0x200): undefined reference to `bam_parse_region' test_sam_h.c:(.text+0x243): undefined reference to `bam_plbuf_init' test_sam_h.c:(.text+0x277): undefined reference to `bam_fetch' test_sam_h.c:(.text+0x28c): undefined reference to `bam_plbuf_push' test_sam_h.c:(.text+0x298): undefined reference to `bam_plbuf_destroy' test_sam_h.c:(.text+0x2a4): undefined reference to `samclose' collect2: error: ld returned 1 exit status thank you in advance! ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ Samtools-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/samtools-help
