Im having some problems with my includes. I tried to stop using relative paths in my includes. I set the 'CPATH' and 'C_INCULDE_PATH' to '/home/martin/libraries/'. I can echo both and get back '/home/martin/libraries/'.
In my home folder under libraries are more files with source code, headers, object files and a library.
Now when ever i tried to include '<strings/str_copy.h>' I get a underfined reference error(for str_copy, a function in str_copy.c/h).
It worked before(with others), but not now. Why? It has to atleast get the prototype right? Why am I even getting these errors?