Hi,

I ran into a problem compiling a fresh samtools from git. Here's the
problem and solution:

git clone https://github.com/samtools/samtools.git
git clone https://github.com/samtools/htslib.git
cd htslib
make
cd ../samtools
make

Give me this error:

In file included from bam_cat.c:44:
../htslib/htslib/cram.h:391: error: expected declaration specifiers or
‘...’ before ‘va_list’
make: *** [bam_cat.o] Error 1


This can be solved by putting

#include <stdarg.h>

in

htslib/htslib/cram.h

So if somebody could fix this in the git repository, that would be peachy.

I'm runing RHEL 5.10 with gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)

Regards,

  Ivo Palli


------------------------------------------------------------------------------
_______________________________________________
Samtools-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to