I have written a .c source code (in Eclipse) which is using libcap library to get information related to network traffic. Now i have created an executable binary by using ndk-build in Eclipse. I have pushed the created binary in libs/armeabi folder to /data/local/ folder of my android (rooted nexus 5, Lollipop) and tried to execute the binary. but android is throwing this error

> 
> Error: only position independent executables (PIE) are supported
> 
> 
> 

I don't know anything about PIE, Please tell me how to create a position independent executable.