cschin / Peregrine

Peregrine: Fast Genome Assembler Using SHIMMER Index
Other
101 stars 9 forks source link

make all error #25

Closed zhenzhenyang-psu closed 4 years ago

zhenzhenyang-psu commented 4 years ago

Hello Jason, I am trying to install Peregrine using conda, while I was running "make all" inside folder 'src', it returned the following error:

gcc -O3 -std=gnu99 -Wall -Wno-unused-function -Werror -c -o DWmatch.o DWmatch.c cc1: warnings being treated as errors DWmatch.c: In function ‘ovlp_match’: DWmatch.c:74: error: ‘x’ may be used uninitialized in this function DWmatch.c:74: error: ‘y’ may be used uninitialized in this function make: *** [DWmatch.o] Error 1

Do you know how to fix this? Thanks, Zhenzhen

zhenzhenyang-psu commented 4 years ago

I remove '-Werror' from CFLAGS+=-Wall -Wno-unused-result -Wno-unused-function -Werror and it worked!