Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-30-2004, 06:01 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 27

Rep: Reputation: 15
Undefined reference to function error

Hi ,
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefined reference error jacques83 Programming 20 04-11-2013 08:23 AM
"undefined reference" to a template class function btb Programming 3 08-25-2005 06:02 PM
Dlopen function - UNDEFINED REFERENCE mamthababu Programming 1 07-19-2005 11:20 AM
undefined reference error Quest101 Programming 3 01-01-2005 01:27 PM
undefined reference to a function included in a library i made!!! keos Programming 5 02-21-2004 05:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration