Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building with g++ 9.3 #15

Open
giesselmann opened this issue Jul 14, 2020 · 0 comments
Open

Error building with g++ 9.3 #15

giesselmann opened this issue Jul 14, 2020 · 0 comments

Comments

@giesselmann
Copy link

Hi,

I'm trying to build GraphMap2 within a Docker with Alpine Linux. I'm running the required make modules && make steps.
The gcc/g++ toolchain is v9.3 and I'm getting the following error. Building with gcc7.5 on my Laptop works fine.
I'm using Graphmap v0.6.4

In file included from codebase/seqlib/src/utility/evalue.cc:10:
codebase/seqlib/src/utility/evalue.h:161:24: error: 'int64_t' was not declared in this scope
161 | int CalculateEValueDNA(int64_t alignment_score, int64_t query_length, int64_t target_length, const EValueParams* eValueParams, double ret_evalue);
| ^~~~~~~
codebase/seqlib/src/utility/evalue.h:161:49: error: 'int64_t' was not declared in this scope
161 | int CalculateEValueDNA(int64_t alignment_score, int64_t query_length, int64_t target_length, const EValueParams
eValueParams, double ret_evalue);
| ^~~~~~~
codebase/seqlib/src/utility/evalue.h:161:71: error: 'int64_t' was not declared in this scope
161 | int CalculateEValueDNA(int64_t alignment_score, int64_t query_length, int64_t target_length, const EValueParams
eValueParams, double ret_evalue);
| ^~~~~~~
codebase/seqlib/src/utility/evalue.h:161:94: error: expected primary-expression before 'const'
161 | int CalculateEValueDNA(int64_t alignment_score, int64_t query_length, int64_t target_length, const EValueParams
eValueParams, double ret_evalue);
| ^~~~~
In file included from codebase/seqlib/src/utility/evalue.cc:10:
codebase/seqlib/src/utility/evalue.h:161:128: error: expected primary-expression before 'double'
161 | int CalculateEValueDNA(int64_t alignment_score, int64_t query_length, int64_t target_length, const EValueParams
eValueParams, double ret_evalue);
| ^~~~~~
codebase/seqlib/src/utility/evalue.h:161:146: error: expression list treated as compound expression in initializer [-fpermissive]
161 | int CalculateEValueDNA(int64_t alignment_score, int64_t query_length, int64_t target_length, const EValueParams
eValueParams, double ret_evalue);
| ^
codebase/seqlib/src/utility/evalue.h:163:36: error: 'int64_t' has not been declared
163 | int SetupScorer(char
matrix_name, int64_t reference_length, int gap_open, int gap_extend, EValueParams ret_eValueParams);
| ^~~~~~~
codebase/seqlib/src/utility/evalue.cc:278:146: error: 'int CalculateEValueDNA(int64_t, int64_t, int64_t, const EValueParams
, double
)' redeclared as different kind of entity
278 | int CalculateEValueDNA(int64_t alignment_score, int64_t query_length, int64_t target_length, const EValueParams* eValueParams, double ret_evalue) {
| ^
In file included from codebase/seqlib/src/utility/evalue.cc:10:
codebase/seqlib/src/utility/evalue.h:161:5: note: previous declaration 'int CalculateEValueDNA'
161 | int CalculateEValueDNA(int64_t alignment_score, int64_t query_length, int64_t target_length, const EValueParams
eValueParams, double *ret_evalue);
| ^~~~~~~~~~~~~~~~~~
make: *** [Makefile:124: obj_linux/codebase/seqlib/src/utility/evalue.o] Error 1

Cheers,

Pay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant