LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 12-30-2004, 05:01 PM   #1
Quest101
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

Quest

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
 
  


Reply


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 07:23 AM
"undefined reference" to a template class function btb Programming 3 08-25-2005 05:02 PM
Dlopen function - UNDEFINED REFERENCE mamthababu Programming 1 07-19-2005 10:20 AM
undefined reference error Quest101 Programming 3 01-01-2005 12:27 PM
undefined reference to a function included in a library i made!!! keos Programming 5 02-21-2004 04:02 PM


All times are GMT -5. The time now is 04:37 AM.

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