Open dpaudel opened 2 years ago
Hello, I am trying to install yahs and it throws the following error. Can you please check? Thanks
In file included from sdict.c:38: sdict.c: In function ‘ks_seek’: kseq.h:42:17: warning: no return statement in function returning non-void [-Wreturn-type] 42 | typedef struct __kstream_t { \ | ^~~~~~~~~~~ kseq.h:163:2: note: in expansion of macro ‘__KS_TYPE’ 163 | __KS_TYPE(type_t) \ | ^~~~~~~~~ kseq.h:255:2: note: in expansion of macro ‘KSTREAM_INIT2’ 255 | KSTREAM_INIT2(SCOPE, type_t, __read, __seek, 16384) \ | ^~~~~~~~~~~~~ kseq.h:260:43: note: in expansion of macro ‘KSEQ_INIT2’ 260 | #define KSEQ_INIT(type_t, __read, __seek) KSEQ_INIT2(static, type_t, __read, __seek) | ^~~~~~~~~~ sdict.c:42:1: note: in expansion of macro ‘KSEQ_INIT’ 42 | KSEQ_INIT(gzFile, gzread, gzseek) | ^~~~~~~~~ gcc -g -O0 -Wall -fno-strict-aliasing asset.c bamlite.c kalloc.c kopen.c sdict.c juicer.c -o juicer -L. -lm -lz In file included from sdict.c:38: sdict.c: In function ‘ks_seek’: kseq.h:42:17: warning: no return statement in function returning non-void [-Wreturn-type] 42 | typedef struct __kstream_t { \ | ^~~~~~~~~~~ kseq.h:163:2: note: in expansion of macro ‘__KS_TYPE’ 163 | __KS_TYPE(type_t) \ | ^~~~~~~~~ kseq.h:255:2: note: in expansion of macro ‘KSTREAM_INIT2’ 255 | KSTREAM_INIT2(SCOPE, type_t, __read, __seek, 16384) \ | ^~~~~~~~~~~~~ kseq.h:260:43: note: in expansion of macro ‘KSEQ_INIT2’ 260 | #define KSEQ_INIT(type_t, __read, __seek) KSEQ_INIT2(static, type_t, __read, __seek) | ^~~~~~~~~~ sdict.c:42:1: note: in expansion of macro ‘KSEQ_INIT’ 42 | KSEQ_INIT(gzFile, gzread, gzseek) | ^~~~~~~~~ gcc -g -O0 -Wall -fno-strict-aliasing asset.c kalloc.c kopen.c sdict.c agp_to_fasta.c -o agp_to_fasta -L. -lm -lz In file included from sdict.c:38: sdict.c: In function ‘ks_seek’: kseq.h:42:17: warning: no return statement in function returning non-void [-Wreturn-type] 42 | typedef struct __kstream_t { \ | ^~~~~~~~~~~ kseq.h:163:2: note: in expansion of macro ‘__KS_TYPE’ 163 | __KS_TYPE(type_t) \ | ^~~~~~~~~ kseq.h:255:2: note: in expansion of macro ‘KSTREAM_INIT2’ 255 | KSTREAM_INIT2(SCOPE, type_t, __read, __seek, 16384) \ | ^~~~~~~~~~~~~ kseq.h:260:43: note: in expansion of macro ‘KSEQ_INIT2’ 260 | #define KSEQ_INIT(type_t, __read, __seek) KSEQ_INIT2(static, type_t, __read, __seek) | ^~~~~~~~~~ sdict.c:42:1: note: in expansion of macro ‘KSEQ_INIT’ 42 | KSEQ_INIT(gzFile, gzread, gzseek) | ^~~~~~~~~
Hi @dpaudel,
These are some warnings. It would not cause any problems if the programs were successfully compiled. Did you find executables yahs, agp_to_fasta and juicer after compilation?
yahs
agp_to_fasta
juicer
Best, Chenxi
Hello, I am trying to install yahs and it throws the following error. Can you please check? Thanks