Undefined reference to function error
I downloaded JRTPLIB which is an API used to build Real time protocol software.
Well i added a function to a source file as well as definining it in the corresponding header file,
The problem is now i am trying to run a test file "example1" which calls on this newly made function and i keep getting that the function "SendInitPacket(....) " is not defined .
Now i am new to linux but i am assuming that you need to remake the the code , inorder for the modifications [ SendInitPacket(....) ] to be reflected in the corresponding object file. And that this may be causing the error. However i tried remaking the code , and still got the same error .
So , i am looking for a helping hand , Thanks in advance
ps by the way the error looked like :
undefined reference to `RTPSession::SendInitPacket(void const*, unsigned, unsigned char, bool, unsigned)'
collect2: ld returned 1 exit status