A simple problem here
This is the something.h fileCode://test.c #include "something.h" int main (void ) { int temp = 100; initialize(temp); }
The something.c compiles fine, when I compile test.c I get undefined reference to `initialize'. I dont get it, I've included the header file so it shouldnt be a problem or ?Code:void initialize(int temp); int start(....); int send(...); // more code //something.c void initialize( int temp) { // code }
Using gcc v3.2