http://blog.csdn.net/llrraa2010/article/details/7606541
http://blog.csdn.net/kartorz/article/details/3532570
No package 'xf86driproto' found
Consider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix.
export PKG_CONFIG_PATH=/usr/share/pkgconfig:/usr/lib/pkgconfig:/media/linux/1/android-ndk-r7/mytoolchain/sysroot/usr/lib/pkgconfig
gcc sample.c -o sample `pkg-config --cflags --libs glib-2.0`