|
|
Missing mudflap wrappers?
|
|
07/21/2009 2:37 PM
post34241
|
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
|
|
|
|
|