I have this simple test file:
#include \"stack.h\" int main() { Stack* stck = init_stack(); return 0; }
and stack.h is defin
stack.h
gcc -o testit teststack.c stack.c
You need to compile both C source files and link the object files; this does it all in one command.