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 installing GraphMap #97

Open
Serratia opened this issue Aug 4, 2018 · 0 comments
Open

Error installing GraphMap #97

Serratia opened this issue Aug 4, 2018 · 0 comments

Comments

@Serratia
Copy link

Serratia commented Aug 4, 2018

Hi. I am having trouble compiling GraphMap.

This is what I did - Cloned the GraphMap repository using GIT to my desktop. Then I change dir to GraphMap folder. The I ran the "make modules" command - which completed successfully. Then I ran the "make" command, which ends with an error (‘vasprintf’ was not declared in this scope).

Here is the error that I get:

$ make
Makefile:100: "*** WARNING g++ minor version <7 *"
mkdir -p obj_linux/codebase/seqlib/src/log_system/
g++ -static-libgcc -static-libstdc++ -D__cplusplus=201103L -I"./src/" -I"/usr/in clude/" -I"codebase/seqlib/src/libs/seqan-library-2.0.1/include" -I"codebase/seq lib/src/libs/libdivsufsort-2.0.1-64bit/" -Icodebase/argumentparser/src -Icodebas e/gindex/src -Icodebase/seqlib/src -DRELEASE_VERSION -O3 -fdata-sections -ffunct ion-sections -c -fmessage-length=0 -ffreestanding -fopenmp -m64 -std=c++11 -Werr or=return-type -pthread -o obj_linux/codebase/seqlib/src/log_system/log_system. o codebase/seqlib/src/log_system/log_system.cc
codebase/seqlib/src/log_system/log_system.cc: In member function ‘std::string Lo gSystem::GenerateErrorMessage(uint32_t, const char
, ...)’:
codebase/seqlib/src/log_system/log_system.cc:36:16: error: ‘vasprintf’ was not d eclared in this scope
int ret_va = vasprintf(&formatted_c_string, additional_message, args);
^~~~~~~~~
codebase/seqlib/src/log_system/log_system.cc:36:16: note: suggested alternative: ‘vsprintf’
int ret_va = vasprintf(&formatted_c_string, additional_message, args);
^~~~~~~~~
vsprintf
codebase/seqlib/src/log_system/log_system.cc: In static member function ‘static std::string LogSystem::FormatString(const char
, ...)’:
codebase/seqlib/src/log_system/log_system.cc:292:16: error: ‘vasprintf’ was not declared in this scope
int ret_va = vasprintf(&formatted_string, additional_message, args);
^~~~~~~~~
codebase/seqlib/src/log_system/log_system.cc:292:16: note: suggested alternative : ‘vsprintf’
int ret_va = vasprintf(&formatted_string, additional_message, args);
^~~~~~~~~
vsprintf
make: *** [Makefile:124: obj_linux/codebase/seqlib/src/log_system/log_system.o] Error 1

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