libjpeg-turbo-1.2.1太老了,不支持,从内存解压,这里编译支持 jpeg_mem_src 的 JPEG V9
wget http://www.ijg.org/files/jpegsrc.v9b.tar.gz
tar zxvf jpegsrc.v9b.tar.gz
cd jpeg-9b
./configure --prefix=$PWD/tmp/ --host=arm-linux
cp tmp/include/* /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/usr/include/ -rf
cp tmp/lib/* /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/lib/ -rfd
cp tmp/lib/*so* /home/nfsroot/2440/lib -rdf
GIFlib 编译
wget http://downloads.sourceforge.net/giflib/giflib-5.1.4.tar.bz2
tar xvf giflib-5.1.4.tar.bz2
cd giflib-5.1.4
./configure --prefix=$PWD/tmp --host=arm-linux
cp tmp/include/* /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/usr/include/ -rf
cp tmp/lib/* /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/lib/ -rfd
cp tmp/lib/*so* /home/nfsroot/2440/lib -rdf
gif 使用文档 http://giflib.sourceforge.net/gif_lib.html