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

Issue with compiling the graph #6

Open
vinitkumar opened this issue Jun 8, 2021 · 0 comments
Open

Issue with compiling the graph #6

vinitkumar opened this issue Jun 8, 2021 · 0 comments

Comments

@vinitkumar
Copy link
Member

There is a crash when trying to compile. Looks like the way, the members are accessed is not correct.
Compiling on Mac gives a cryptic error, this is better.

/usr/bin/ld: t_graph.c:(.text+0x76): undefined reference to `graph_create'est_graph.c:(.text+0x86): undefined reference to `graph_vertex_count'
/usr/bin/ld: test_graph.c:(.text+0xd0): undefined reference to `graph_has_edge'
/usr/bin/ld: test_graph.c:(.text+0x128): undefined reference to `graph_out_degree'
/usr/bin/ld: test_graph.c:(.text+0x166): undefined reference to `graph_foreach'
/usr/bin/ld: test_graph.c:(.text+0x183): undefined reference to `graph_edge_count'
/usr/bin/ld: test_graph.c:(.text+0x1c3): undefined reference to `graph_add_edge'
/usr/bin/ld: test_graph.c:(.text+0x1e0): undefined reference to `graph_edge_count'
/usr/bin/ld: test_graph.c:(.text+0x22a): undefined reference to `graph_has_edge'
/usr/bin/ld: test_graph.c:(.text+0x28e): undefined reference to `graph_out_degree'
/usr/bin/ld: test_graph.c:(.text+0x2cf): undefined reference to `graph_foreach'
/usr/bin/ld: test_graph.c:(.text+0x30e): undefined reference to `graph_add_edge'
/usr/bin/ld: test_graph.c:(.text+0x335): undefined reference to `graph_edge_count'
/usr/bin/ld: test_graph.c:(.text+0x378): undefined reference to `graph_out_degree'
/usr/bin/ld: test_graph.c:(.text+0x3b9): undefined reference to `graph_has_edge'
/usr/bin/ld: test_graph.c:(.text+0x408): undefined reference to `graph_destroy'
collect2: error: ld returned 1 exit status
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