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

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

Open
gdpusch opened this issue Oct 1, 2018 · 0 comments

Comments

@gdpusch
Copy link

gdpusch commented Oct 1, 2018

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?

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