Can some one help me for the error

You need to run C program only after launch “wmsudo” platform. Simply type wmsudo then create your C program and execute them using gcc.