isovic / graphmap

GraphMap - A highly sensitive and accurate mapper for long, error-prone reads http://www.nature.com/ncomms/2016/160415/ncomms11307/full/ncomms11307.html Note: This was the original repository which will no longer be officially maintained. Please use the new official repository here:
https://github.com/lbcb-sci/graphmap2
MIT License
178 stars 44 forks source link

issues building graphmaps on Centos #81

Open rmontagn opened 6 years ago

rmontagn commented 6 years ago

Hi,

I am facing a building problem quite similar to gwaldbieser's. However, the advice that worked for him didn't work for me.

I am on a CentOS:

Linux version 3.10.0-229.14.1.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Tue Sep 15 15:05:51 UTC 2015

and this is the error message that I get when typing make :+1:

$ make mkdir -p obj_linux/codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/ g++ -static-libgcc -static-libstdc++ -D__cplusplus=201103L -I"./src/" -I"/usr/include/" -I"codebase/seqlib/src/libs/seqan-library-2.0.1/include" -I"codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/" -Icodebase/gindex/src -Icodebase/argumentparser/src -Icodebase/seqlib/src -DRELEASE_VERSION -O3 -fdata-sections -ffunction-sections -c -fmessage-length=0 -ffreestanding -fopenmp -m64 -std=c++11 -Werror=return-type -pthread -o obj_linux/codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/utils.o codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/utils.cpp In file included from /usr/local/include/assert.h:5:0, from codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/divsufsort_private.h:44, from codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/utils.cpp:29: /usr/local/include/except.h:15:32: erreur: conflicting declaration ‘typedef struct Except_Frame_T Except_Frame_T’ typedef struct Except_Frame_T Except_Frame_T; ^ /usr/local/include/except.h:15:16: erreur: ‘struct Except_Frame_T’ has a previous declaration as ‘struct Except_Frame_T’ typedef struct Except_Frame_T *Except_Frame_T; ^ /usr/local/include/except.h:17:18: erreur: field ‘prev’ has incomplete type Except_Frame_T prev; ^ make: *** [obj_linux/codebase/seqlib/src/libs/libdivsufsort-2.0.1-64bit/utils.o] Erreur 1

I guess the problem must not be very different but I can't identify nor fix it by myself.