the old version (1.3) give me a error when build it:
hts.c:92:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ hts.c:125:31: error: expected declaration specifiers or ‘...’ before ‘hFILE’ static size_t decompress_peek(hFILE *fp, unsigned char *dest, size_t destsize) ^~~~~ hts.c:158:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ hts.c:179:23: error: expected declaration specifiers or ‘...’ before ‘hFILE’ int hts_detect_format(hFILE *hfile, htsFormat *fmt)
Fixed after upgrade to version 1.11, but need to add -lbz2 -llzma -lcurl -lpthread to Makefile CFLAGS
the old version (1.3) give me a error when build it:
hts.c:92:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ hts.c:125:31: error: expected declaration specifiers or ‘...’ before ‘hFILE’ static size_t decompress_peek(hFILE *fp, unsigned char *dest, size_t destsize) ^~~~~ hts.c:158:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ hts.c:179:23: error: expected declaration specifiers or ‘...’ before ‘hFILE’ int hts_detect_format(hFILE *hfile, htsFormat *fmt)
Fixed after upgrade to version 1.11, but need to add
-lbz2 -llzma -lcurl -lpthread
to Makefile CFLAGS