how to cross compile mjpg streamer package in host machine, can anyone help me to do this...

hi friends,

I tried a lot to cross compile the mjpg streamer in my host PC by exporting toolchain of cortexa8, it depends on libjpeg package, i configured libjpeg, but its not done.