Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Undefined reference error with ham functions: (3 Items)
   
Undefined reference error with ham functions  
Hi,
I'm getting undefined refenece error while building the project for functions in "ha/ham.h"
such as ham_heartbeat(). Although the momentics is able to find the declaration in ham.h but is still giving this error.
 Any ideas on what might be causing this? Any help is appreciated.
Thank you
Re: Undefined reference error with ham functions  
It finds the declaration but not definition. You probably did not link 
against the library that it required for this

On 12-11-24 05:17 PM, Vikram Yadav wrote:
> Hi,
> I'm getting undefined refenece error while building the project for functions in "ha/ham.h"
> such as ham_heartbeat(). Although the momentics is able to find the declaration in ham.h but is still giving this 
error. Any ideas on what might be causing this? Any help is appreciated.
> Thank you
>
>
>
> _______________________________________________
>
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post97436
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.com

Re: Undefined reference error with ham functions  
I has a typo in linked library name.
Thank you.