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

make check fails with missing check.h #6

Closed
kamstrup opened this issue Mar 27, 2012 · 1 comment
Closed

make check fails with missing check.h #6

kamstrup opened this issue Mar 27, 2012 · 1 comment

Comments

@kamstrup
Copy link

Running 'make check' fails because of a missing check.h header:

$ make check
gcc aodbm.c aodbm_data.c aodbm_rope.c aodbm_internal.c aodbm_rwlock.c aodbm_stack.c aodbm_hash.c aodbm_list.c aodbm_changeset.c -c -I./ -D_GNU_SOURCE -g -fPIC -lpthread -D_FILE_OFFSET_BITS=64
ar -cq libaodbm.a aodbm.o aodbm_data.o aodbm_rope.o aodbm_internal.o aodbm_rwlock.o aodbm_stack.o aodbm_hash.o aodbm_list.o aodbm_changeset.o
gcc aodbm.o aodbm_data.o aodbm_rope.o aodbm_internal.o aodbm_rwlock.o aodbm_stack.o aodbm_hash.o aodbm_list.o aodbm_changeset.o -shared -o libaodbm.so -g -fPIC -lpthread -D_FILE_OFFSET_BITS=64
gcc c_tests/hash_test.c c_tests/data_test.c c_tests/rope_test.c c_tests/stack_test.c c_tests/rwlock_test.c c_tests/list_test.c c_tests/changeset_test.c aodbm_test.c libaodbm.a -o run_c_tests -g -fPIC -lpthread -D_FILE_OFFSET_BITS=64 -lcheck
-lpthread -I./c_tests/ -I./
In file included from c_tests/hash_test.c:20:0:
c_tests/hash_test.h:20:19: fatal error: check.h: No such file or directory
compilation terminated.
... and a bunch of similar errors

@kamstrup
Copy link
Author

Oh, I was not aware of http://check.sourceforge.net/. Available in Ubuntu just as the 'check' package. I was looking feverishly for a 'libcheck' :-)

Tests pass, all is well

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