CM_GetConfig(): Link error

Below is my code:
Config_Info_t cfgInfo;
int err;
ushort_t i = 0;

err= CM_GetConfig(&i,&cfgInfo);

I get error at link time,
undefined reference to `CM_GetConfig(unsigned short *, Config_Info *)?

How to fix?


I never heard of CM_GetConfig() before.

A quick google search revealed it’s a Windows call for plugNplay support.

Do you know what this call is supposed to be doing/giving you? There is probably an equivalent QNX function call you need to do instead.