Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Missing mudflap wrappers?: Page 1 of 5 (5 Items)
   
Missing mudflap wrappers?  
Hello:

The following was tested on 6.4.1.

Take the following code:
int main(void){
(void)inet_ntoa(0);
(void)inet_aton(0,0);
(void)gai_strerror(0);
return 0;
}

Compile as follows - works as expected (no errors or warnings):
gcc -lsocket -o missing missing.c

Now compile as follows:
gcc -fmudflap -lsocket -o missing missing.c

It complains about undefined references to __mfwrap_inet_ntoa, and __mfwrap_gai_strerror.

It does not complain about inet_aton which to me suggested that the wrappers are missing.

Is this normal behavior for mudflap?

Thanks,

Gervais