Skip to content

Error installing GraphMap #97

Description

@Serratia

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions