Skip to content

Multiple make-time errors under Linux version 2.6.32-642.15.1.el6.x86_64 #3

@gdpusch

Description

@gdpusch

I am trying to build this tool under Linux version 2.6.32-642.15.1.el6.x86_64 ([email protected]) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC) ) #1
SMP Fri Feb 24 14:31:22 UTC 2017

I get multiple make-time errors:
g++ -Wmissing-field-initializers -Wsign-compare -Wunused-parameter -Wunused -Wnon-virtual-dtor -Wall -Wformat -Werror -O3 -st
d=gnu++98 -Wextra -c -o justTheCliques.o justTheCliques.cpp
justTheCliques.cpp:2:29: error: graph/network.hpp: No such file or directory
justTheCliques.cpp:3:29: error: graph/loading.hpp: No such file or directory
justTheCliques.cpp:4:27: error: graph/stats.hpp: No such file or directory
In file included from justTheCliques.cpp:10:
cliques.hpp:7: error: ‘graph’ has not been declared
cliques.hpp:7: error: expected initializer before ‘*’ token
cliques.hpp:11: error: ISO C++ forbids declaration of ‘graph’ with no type
cliques.hpp:11: error: expected ‘,’ or ‘...’ before ‘::’ token
In file included from justTheCliques.cpp:10:
cliques.hpp:12: error: ISO C++ forbids declaration of ‘graph’ with no type
cliques.hpp:12: error: expected ‘,’ or ‘...’ before ‘::’ token
justTheCliques.cpp: In function ‘int main(int, char**)’:
justTheCliques.cpp:20: error: ‘exit’ was not declared in this scope
justTheCliques.cpp:24: error: ‘exit’ was not declared in this scope
justTheCliques.cpp:30: error: ‘auto_ptr’ is not a member of ‘std’
justTheCliques.cpp:30: error: ‘graph’ has not been declared
justTheCliques.cpp:30: error: ‘network’ was not declared in this scope
justTheCliques.cpp:32: error: ‘graph’ has not been declared
justTheCliques.cpp:34: error: ‘graph’ has not been declared
justTheCliques.cpp:37: error: ‘int32_t’ was not declared in this scope
justTheCliques.cpp:37: error: expected ‘;’ before ‘maxDegree’
justTheCliques.cpp:41: error: ‘maxDegree’ was not declared in this scope
make: *** [justTheCliques.o] Error 1

Trying to make 'justTheCliques cp5' yields:
g++ -Wmissing-field-initializers -Wsign-compare -Wunused-parameter -Wunused -Wnon-virtual-dtor -Wall -Wformat -Werror -O3 -std=gnu++98 -Wextra -c -o justTheCliques.o justTheCliques.cpp
justTheCliques.cpp:2:29: error: graph/network.hpp: No such file or directory
justTheCliques.cpp:3:29: error: graph/loading.hpp: No such file or directory
justTheCliques.cpp:4:27: error: graph/stats.hpp: No such file or directory
In file included from justTheCliques.cpp:10:
cliques.hpp:7: error: ‘graph’ has not been declared
cliques.hpp:7: error: expected initializer before ‘*’ token
cliques.hpp:11: error: ISO C++ forbids declaration of ‘graph’ with no type
cliques.hpp:11: error: expected ‘,’ or ‘...’ before ‘::’ token
In file included from justTheCliques.cpp:10:
cliques.hpp:12: error: ISO C++ forbids declaration of ‘graph’ with no type
cliques.hpp:12: error: expected ‘,’ or ‘...’ before ‘::’ token
justTheCliques.cpp: In function ‘int main(int, char**)’:
justTheCliques.cpp:20: error: ‘exit’ was not declared in this scope
justTheCliques.cpp:24: error: ‘exit’ was not declared in this scope
justTheCliques.cpp:30: error: ‘auto_ptr’ is not a member of ‘std’
justTheCliques.cpp:30: error: ‘graph’ has not been declared
justTheCliques.cpp:30: error: ‘network’ was not declared in this scope
justTheCliques.cpp:32: error: ‘graph’ has not been declared
justTheCliques.cpp:34: error: ‘graph’ has not been declared
justTheCliques.cpp:37: error: ‘int32_t’ was not declared in this scope
justTheCliques.cpp:37: error: expected ‘;’ before ‘maxDegree’
justTheCliques.cpp:41: error: ‘maxDegree’ was not declared in this scope
make: *** [justTheCliques.o] Error 1

Subdirectory 'graph' appears to be empty; are there prerequisites missing from this distribution?

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