-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
> make
mpicc -c -Wall -g -DHTSLIB -I/home/demis001/include:/home/demis001/bin/htslib-1.10.2/include:/home/demis001/bin/samtools-1.10 aux.c -o aux.o
aux.c: In function ‘sam_popen’:
aux.c:230:9: error: ‘htsFile’ {aka ‘struct <anonymous>’} has no member named ‘is_kstream’; did you mean ‘is_cram’?
fp->is_kstream = 1;
^~~~~~~~~~
is_cram
aux.c:233:11: error: ‘union <anonymous>’ has no member named ‘voidp’
fp->fp.voidp = ks_init(gzfp);
^
aux.c:233:28: warning: passing argument 1 of ‘ks_init’ from incompatible pointer type [-Wincompatible-pointer-types]
fp->fp.voidp = ks_init(gzfp);
^~~~
In file included from bison.h:13,
from aux.c:1:
aux.c:3:1: note: expected ‘gzFile’ {aka ‘struct gzFile_s *’} but argument is of type ‘BGZF *’ {aka ‘struct BGZF *’}
KSTREAM_INIT(gzFile, gzread, 16384)
^
Any idea?
Make file:
WORK=/home/demis001#This should be changed to match your needs
PREFIX = $(WORK)/bin/bison
CC = mpicc
HTSLIB=${WORK}/bin/htslib-1.10.2/libhts.a
INCLUDE_DIRS = -I$(WORK)/include:${WORK}/bin/htslib-1.10.2/include:${WORK}/bin/samtools-1.10
LIB_DIRS = -L$(WORK)/lib:${WORK}/bin/htslib-1.10.2/htslib:${WORK}/bin/samtools-1.10
OPTS := -Wall -g #-g -DDEBUG -DNOTHROTTLE
#MPI = -lmpich -lmpl #This is usually appropriate for mpich2
#MPI = #This is appropriate for mvapich2
MPI = -lmpi #This is usually appropriate for openmpi
Metadata
Metadata
Assignees
Labels
No labels