Qrencode4.1.1源码交叉编译(arm)及移植

52 篇文章 5 订阅

简述:

源码文件下载zlib-1.2.11.tar.gz,libpng-1.6.37.tar.gz,qrencode-4.1.1.tar.bz2

交叉编译器:arm-linux-gnueabihf-gcc

1、交叉编译 zlib

1> 解压缩并创建目录

root@ubuntu:~/下载# tar xvzf zlib-1.2.11.tar.gz 
root@ubuntu:~/下载# mkdir /root/qrencode/zlib_arm
root@ubuntu:~/下载# cd zlib-1.2.11

2>配置

root@ubuntu:~/下载/zlib-1.2.11# ./configure --prefix=/root/qrencode/zlib_arm

配置完成后,打开Makefile文件修改交叉工具链

Makefile:

CC=/home/hebbe/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
LDSHARED=/home/hebbe/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc  -shared -Wl,-soname,libz.so.1,--version-script,zlib.map
CPP=/home/hebbe/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -E

3> make

4> make install

root@ubuntu:~/下载/zlib-1.2.11# make 
root@ubuntu:~/下载/zlib-1.2.11# make install

至此,zlib交叉编译完成。

2、交叉编译 libpng

1> 解压缩并创建目录

root@ubuntu:~/下载# tar xzvf libpng-1.6.37.tar.gz 
root@ubuntu:~/下载# mkdir /root/qrencode/libpng_arm
root@ubuntu:~/下载# cd libpng-1.6.37/

2>配置

因为在scripts目录下已经提供makefile,所以可把scripts目录下makefile.linux拷贝到源码包根目录中,且命名为makefile文件,然后修改makefile文件中交叉编译工具链路径、安装路径和zlib相关的库和头文件路径:

root@ubuntu:~/下载/libpng-1.6.37# cp scripts/makefile.linux makefile
root@ubuntu:~/下载/libpng-1.6.37# vi makefile
CC=/home/hebbe/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
prefix=/root/qrencode/libpng_arm
ZLIBLIB=/root/qrencode/zlib_arm/lib
ZLIBINC=/root/qrencode/zlib_arm/include

3> make

4> make install

root@ubuntu:~/下载/libpng-1.6.37# make
root@ubuntu:~/下载/libpng-1.6.37# make install

至此,libpng交叉编译完成。

3、交叉编译 qrencode

1> 解压缩并创建目录

root@ubuntu:~/下载# tar -xjvf qrencode-4.1.1.tar.bz2 
root@ubuntu:~/下载# mkdir /root/qrencode/qrencode_arm
root@ubuntu:~/下载# cd qrencode-4.1.1

2>配置

这里编译的是静态库。

root@ubuntu:~/下载/qrencode-4.1.1# export png_CFLAGS="-I/root/qrencode/libpng_arm/include/libpng16 -I/root/qrencode/libpng_arm/include -I /root/qrencode/zlib_arm/include"
root@ubuntu:~/下载/qrencode-4.1.1# export png_LIBS="-L/root/qrencode/libpng_arm/lib -lpng16 -L/root/qrencode/zlib_arm/lib  -lz -lm"
root@ubuntu:~/下载/qrencode-4.1.1# ./configure --enable-static --disable-shared --prefix=/root/qrencode/qrencode_arm

配置完成后,打开Makefile修改交叉工具链

Makefile:

CC=/home/hebbe/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
CPP=/home/hebbe/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -E

3> make

4> make install

root@ubuntu:~/下载/qrencode-4.1.1# make
root@ubuntu:~/下载/qrencode-4.1.1# make install

至此,qrencode交叉编译完成。

至此,便可把/root/qrencode/移植到arm了。

4、移植

把/root/qrencode/所有lib文件夹下的库文件移植到arm板子的/usr/lib目录下

将 /root/qrencode/qrencode_arm/bin/qrencode 移植到板子的/usr/bin下

5、测试

qrencode -s 4 -o 4.png 1234567890 
qrencode -s 5 -o 5.png 1234567890 
qrencode -s 6 -o 6.png 1234567890
qrencode -s 25 -o 7.png 1234567890

6、完整输出信息

zlib完整输出信息如下:

root@ubuntu:~/下载# tar xvzf zlib-1.2.11.tar.gz 
zlib-1.2.11/
zlib-1.2.11/adler32.c
zlib-1.2.11/amiga/
zlib-1.2.11/ChangeLog
zlib-1.2.11/CMakeLists.txt
zlib-1.2.11/compress.c
zlib-1.2.11/configure
zlib-1.2.11/contrib/
zlib-1.2.11/crc32.c
zlib-1.2.11/crc32.h
zlib-1.2.11/deflate.c
zlib-1.2.11/deflate.h
zlib-1.2.11/doc/
zlib-1.2.11/examples/
zlib-1.2.11/FAQ
zlib-1.2.11/gzclose.c
zlib-1.2.11/gzguts.h
zlib-1.2.11/gzlib.c
zlib-1.2.11/gzread.c
zlib-1.2.11/gzwrite.c
zlib-1.2.11/INDEX
zlib-1.2.11/infback.c
zlib-1.2.11/inffast.c
zlib-1.2.11/inffast.h
zlib-1.2.11/inffixed.h
zlib-1.2.11/inflate.c
zlib-1.2.11/inflate.h
zlib-1.2.11/inftrees.c
zlib-1.2.11/inftrees.h
zlib-1.2.11/make_vms.com
zlib-1.2.11/Makefile
zlib-1.2.11/Makefile.in
zlib-1.2.11/msdos/
zlib-1.2.11/nintendods/
zlib-1.2.11/old/
zlib-1.2.11/os400/
zlib-1.2.11/qnx/
zlib-1.2.11/README
zlib-1.2.11/test/
zlib-1.2.11/treebuild.xml
zlib-1.2.11/trees.c
zlib-1.2.11/trees.h
zlib-1.2.11/uncompr.c
zlib-1.2.11/watcom/
zlib-1.2.11/win32/
zlib-1.2.11/zconf.h
zlib-1.2.11/zconf.h.cmakein
zlib-1.2.11/zconf.h.in
zlib-1.2.11/zlib.3
zlib-1.2.11/zlib.3.pdf
zlib-1.2.11/zlib.h
zlib-1.2.11/zlib.map
zlib-1.2.11/zlib.pc.cmakein
zlib-1.2.11/zlib.pc.in
zlib-1.2.11/zlib2ansi
zlib-1.2.11/zutil.c
zlib-1.2.11/zutil.h
zlib-1.2.11/win32/DLL_FAQ.txt
zlib-1.2.11/win32/Makefile.bor
zlib-1.2.11/win32/Makefile.gcc
zlib-1.2.11/win32/Makefile.msc
zlib-1.2.11/win32/README-WIN32.txt
zlib-1.2.11/win32/VisualC.txt
zlib-1.2.11/win32/zlib.def
zlib-1.2.11/win32/zlib1.rc
zlib-1.2.11/watcom/watcom_f.mak
zlib-1.2.11/watcom/watcom_l.mak
zlib-1.2.11/test/example.c
zlib-1.2.11/test/infcover.c
zlib-1.2.11/test/minigzip.c
zlib-1.2.11/qnx/package.qpg
zlib-1.2.11/os400/bndsrc
zlib-1.2.11/os400/make.sh
zlib-1.2.11/os400/README400
zlib-1.2.11/os400/zlib.inc
zlib-1.2.11/old/descrip.mms
zlib-1.2.11/old/Makefile.emx
zlib-1.2.11/old/Makefile.riscos
zlib-1.2.11/old/os2/
zlib-1.2.11/old/README
zlib-1.2.11/old/visual-basic.txt
zlib-1.2.11/old/os2/Makefile.os2
zlib-1.2.11/old/os2/zlib.def
zlib-1.2.11/nintendods/Makefile
zlib-1.2.11/nintendods/README
zlib-1.2.11/msdos/Makefile.bor
zlib-1.2.11/msdos/Makefile.dj2
zlib-1.2.11/msdos/Makefile.emx
zlib-1.2.11/msdos/Makefile.msc
zlib-1.2.11/msdos/Makefile.tc
zlib-1.2.11/examples/enough.c
zlib-1.2.11/examples/fitblk.c
zlib-1.2.11/examples/gun.c
zlib-1.2.11/examples/gzappend.c
zlib-1.2.11/examples/gzjoin.c
zlib-1.2.11/examples/gzlog.c
zlib-1.2.11/examples/gzlog.h
zlib-1.2.11/examples/README.examples
zlib-1.2.11/examples/zlib_how.html
zlib-1.2.11/examples/zpipe.c
zlib-1.2.11/examples/zran.c
zlib-1.2.11/doc/algorithm.txt
zlib-1.2.11/doc/rfc1950.txt
zlib-1.2.11/doc/rfc1951.txt
zlib-1.2.11/doc/rfc1952.txt
zlib-1.2.11/doc/txtvsbin.txt
zlib-1.2.11/contrib/ada/
zlib-1.2.11/contrib/amd64/
zlib-1.2.11/contrib/asm686/
zlib-1.2.11/contrib/blast/
zlib-1.2.11/contrib/delphi/
zlib-1.2.11/contrib/dotzlib/
zlib-1.2.11/contrib/gcc_gvmat64/
zlib-1.2.11/contrib/infback9/
zlib-1.2.11/contrib/inflate86/
zlib-1.2.11/contrib/iostream/
zlib-1.2.11/contrib/iostream2/
zlib-1.2.11/contrib/iostream3/
zlib-1.2.11/contrib/masmx64/
zlib-1.2.11/contrib/masmx86/
zlib-1.2.11/contrib/minizip/
zlib-1.2.11/contrib/pascal/
zlib-1.2.11/contrib/puff/
zlib-1.2.11/contrib/README.contrib
zlib-1.2.11/contrib/testzlib/
zlib-1.2.11/contrib/untgz/
zlib-1.2.11/contrib/vstudio/
zlib-1.2.11/contrib/vstudio/readme.txt
zlib-1.2.11/contrib/vstudio/vc10/
zlib-1.2.11/contrib/vstudio/vc11/
zlib-1.2.11/contrib/vstudio/vc12/
zlib-1.2.11/contrib/vstudio/vc14/
zlib-1.2.11/contrib/vstudio/vc9/
zlib-1.2.11/contrib/vstudio/vc9/miniunz.vcproj
zlib-1.2.11/contrib/vstudio/vc9/minizip.vcproj
zlib-1.2.11/contrib/vstudio/vc9/testzlib.vcproj
zlib-1.2.11/contrib/vstudio/vc9/testzlibdll.vcproj
zlib-1.2.11/contrib/vstudio/vc9/zlib.rc
zlib-1.2.11/contrib/vstudio/vc9/zlibstat.vcproj
zlib-1.2.11/contrib/vstudio/vc9/zlibvc.def
zlib-1.2.11/contrib/vstudio/vc9/zlibvc.sln
zlib-1.2.11/contrib/vstudio/vc9/zlibvc.vcproj
zlib-1.2.11/contrib/vstudio/vc14/miniunz.vcxproj
zlib-1.2.11/contrib/vstudio/vc14/minizip.vcxproj
zlib-1.2.11/contrib/vstudio/vc14/testzlib.vcxproj
zlib-1.2.11/contrib/vstudio/vc14/testzlibdll.vcxproj
zlib-1.2.11/contrib/vstudio/vc14/zlib.rc
zlib-1.2.11/contrib/vstudio/vc14/zlibstat.vcxproj
zlib-1.2.11/contrib/vstudio/vc14/zlibvc.def
zlib-1.2.11/contrib/vstudio/vc14/zlibvc.sln
zlib-1.2.11/contrib/vstudio/vc14/zlibvc.vcxproj
zlib-1.2.11/contrib/vstudio/vc12/miniunz.vcxproj
zlib-1.2.11/contrib/vstudio/vc12/minizip.vcxproj
zlib-1.2.11/contrib/vstudio/vc12/testzlib.vcxproj
zlib-1.2.11/contrib/vstudio/vc12/testzlibdll.vcxproj
zlib-1.2.11/contrib/vstudio/vc12/zlib.rc
zlib-1.2.11/contrib/vstudio/vc12/zlibstat.vcxproj
zlib-1.2.11/contrib/vstudio/vc12/zlibvc.def
zlib-1.2.11/contrib/vstudio/vc12/zlibvc.sln
zlib-1.2.11/contrib/vstudio/vc12/zlibvc.vcxproj
zlib-1.2.11/contrib/vstudio/vc11/miniunz.vcxproj
zlib-1.2.11/contrib/vstudio/vc11/minizip.vcxproj
zlib-1.2.11/contrib/vstudio/vc11/testzlib.vcxproj
zlib-1.2.11/contrib/vstudio/vc11/testzlibdll.vcxproj
zlib-1.2.11/contrib/vstudio/vc11/zlib.rc
zlib-1.2.11/contrib/vstudio/vc11/zlibstat.vcxproj
zlib-1.2.11/contrib/vstudio/vc11/zlibvc.def
zlib-1.2.11/contrib/vstudio/vc11/zlibvc.sln
zlib-1.2.11/contrib/vstudio/vc11/zlibvc.vcxproj
zlib-1.2.11/contrib/vstudio/vc10/miniunz.vcxproj
zlib-1.2.11/contrib/vstudio/vc10/miniunz.vcxproj.filters
zlib-1.2.11/contrib/vstudio/vc10/minizip.vcxproj
zlib-1.2.11/contrib/vstudio/vc10/minizip.vcxproj.filters
zlib-1.2.11/contrib/vstudio/vc10/testzlib.vcxproj
zlib-1.2.11/contrib/vstudio/vc10/testzlib.vcxproj.filters
zlib-1.2.11/contrib/vstudio/vc10/testzlibdll.vcxproj
zlib-1.2.11/contrib/vstudio/vc10/testzlibdll.vcxproj.filters
zlib-1.2.11/contrib/vstudio/vc10/zlib.rc
zlib-1.2.11/contrib/vstudio/vc10/zlibstat.vcxproj
zlib-1.2.11/contrib/vstudio/vc10/zlibstat.vcxproj.filters
zlib-1.2.11/contrib/vstudio/vc10/zlibvc.def
zlib-1.2.11/contrib/vstudio/vc10/zlibvc.sln
zlib-1.2.11/contrib/vstudio/vc10/zlibvc.vcxproj
zlib-1.2.11/contrib/vstudio/vc10/zlibvc.vcxproj.filters
zlib-1.2.11/contrib/untgz/Makefile
zlib-1.2.11/contrib/untgz/Makefile.msc
zlib-1.2.11/contrib/untgz/untgz.c
zlib-1.2.11/contrib/testzlib/testzlib.c
zlib-1.2.11/contrib/testzlib/testzlib.txt
zlib-1.2.11/contrib/puff/Makefile
zlib-1.2.11/contrib/puff/puff.c
zlib-1.2.11/contrib/puff/puff.h
zlib-1.2.11/contrib/puff/pufftest.c
zlib-1.2.11/contrib/puff/README
zlib-1.2.11/contrib/puff/zeros.raw
zlib-1.2.11/contrib/pascal/example.pas
zlib-1.2.11/contrib/pascal/readme.txt
zlib-1.2.11/contrib/pascal/zlibd32.mak
zlib-1.2.11/contrib/pascal/zlibpas.pas
zlib-1.2.11/contrib/minizip/configure.ac
zlib-1.2.11/contrib/minizip/crypt.h
zlib-1.2.11/contrib/minizip/ioapi.c
zlib-1.2.11/contrib/minizip/ioapi.h
zlib-1.2.11/contrib/minizip/iowin32.c
zlib-1.2.11/contrib/minizip/iowin32.h
zlib-1.2.11/contrib/minizip/make_vms.com
zlib-1.2.11/contrib/minizip/Makefile
zlib-1.2.11/contrib/minizip/Makefile.am
zlib-1.2.11/contrib/minizip/miniunz.c
zlib-1.2.11/contrib/minizip/miniunzip.1
zlib-1.2.11/contrib/minizip/minizip.1
zlib-1.2.11/contrib/minizip/minizip.c
zlib-1.2.11/contrib/minizip/minizip.pc.in
zlib-1.2.11/contrib/minizip/MiniZip64_Changes.txt
zlib-1.2.11/contrib/minizip/MiniZip64_info.txt
zlib-1.2.11/contrib/minizip/mztools.c
zlib-1.2.11/contrib/minizip/mztools.h
zlib-1.2.11/contrib/minizip/unzip.c
zlib-1.2.11/contrib/minizip/unzip.h
zlib-1.2.11/contrib/minizip/zip.c
zlib-1.2.11/contrib/minizip/zip.h
zlib-1.2.11/contrib/masmx86/bld_ml32.bat
zlib-1.2.11/contrib/masmx86/inffas32.asm
zlib-1.2.11/contrib/masmx86/match686.asm
zlib-1.2.11/contrib/masmx86/readme.txt
zlib-1.2.11/contrib/masmx64/bld_ml64.bat
zlib-1.2.11/contrib/masmx64/gvmat64.asm
zlib-1.2.11/contrib/masmx64/inffas8664.c
zlib-1.2.11/contrib/masmx64/inffasx64.asm
zlib-1.2.11/contrib/masmx64/readme.txt
zlib-1.2.11/contrib/iostream3/README
zlib-1.2.11/contrib/iostream3/test.cc
zlib-1.2.11/contrib/iostream3/TODO
zlib-1.2.11/contrib/iostream3/zfstream.cc
zlib-1.2.11/contrib/iostream3/zfstream.h
zlib-1.2.11/contrib/iostream2/zstream.h
zlib-1.2.11/contrib/iostream2/zstream_test.cpp
zlib-1.2.11/contrib/iostream/test.cpp
zlib-1.2.11/contrib/iostream/zfstream.cpp
zlib-1.2.11/contrib/iostream/zfstream.h
zlib-1.2.11/contrib/inflate86/inffas86.c
zlib-1.2.11/contrib/inflate86/inffast.S
zlib-1.2.11/contrib/infback9/infback9.c
zlib-1.2.11/contrib/infback9/infback9.h
zlib-1.2.11/contrib/infback9/inffix9.h
zlib-1.2.11/contrib/infback9/inflate9.h
zlib-1.2.11/contrib/infback9/inftree9.c
zlib-1.2.11/contrib/infback9/inftree9.h
zlib-1.2.11/contrib/infback9/README
zlib-1.2.11/contrib/gcc_gvmat64/gvmat64.S
zlib-1.2.11/contrib/dotzlib/DotZLib/
zlib-1.2.11/contrib/dotzlib/DotZLib.build
zlib-1.2.11/contrib/dotzlib/DotZLib.chm
zlib-1.2.11/contrib/dotzlib/DotZLib.sln
zlib-1.2.11/contrib/dotzlib/LICENSE_1_0.txt
zlib-1.2.11/contrib/dotzlib/readme.txt
zlib-1.2.11/contrib/dotzlib/DotZLib/AssemblyInfo.cs
zlib-1.2.11/contrib/dotzlib/DotZLib/ChecksumImpl.cs
zlib-1.2.11/contrib/dotzlib/DotZLib/CircularBuffer.cs
zlib-1.2.11/contrib/dotzlib/DotZLib/CodecBase.cs
zlib-1.2.11/contrib/dotzlib/DotZLib/Deflater.cs
zlib-1.2.11/contrib/dotzlib/DotZLib/DotZLib.cs
zlib-1.2.11/contrib/dotzlib/DotZLib/DotZLib.csproj
zlib-1.2.11/contrib/dotzlib/DotZLib/GZipStream.cs
zlib-1.2.11/contrib/dotzlib/DotZLib/Inflater.cs
zlib-1.2.11/contrib/dotzlib/DotZLib/UnitTests.cs
zlib-1.2.11/contrib/delphi/readme.txt
zlib-1.2.11/contrib/delphi/ZLib.pas
zlib-1.2.11/contrib/delphi/ZLibConst.pas
zlib-1.2.11/contrib/delphi/zlibd32.mak
zlib-1.2.11/contrib/blast/blast.c
zlib-1.2.11/contrib/blast/blast.h
zlib-1.2.11/contrib/blast/Makefile
zlib-1.2.11/contrib/blast/README
zlib-1.2.11/contrib/blast/test.pk
zlib-1.2.11/contrib/blast/test.txt
zlib-1.2.11/contrib/asm686/match.S
zlib-1.2.11/contrib/asm686/README.686
zlib-1.2.11/contrib/amd64/amd64-match.S
zlib-1.2.11/contrib/ada/buffer_demo.adb
zlib-1.2.11/contrib/ada/mtest.adb
zlib-1.2.11/contrib/ada/read.adb
zlib-1.2.11/contrib/ada/readme.txt
zlib-1.2.11/contrib/ada/test.adb
zlib-1.2.11/contrib/ada/zlib-streams.adb
zlib-1.2.11/contrib/ada/zlib-streams.ads
zlib-1.2.11/contrib/ada/zlib-thin.adb
zlib-1.2.11/contrib/ada/zlib-thin.ads
zlib-1.2.11/contrib/ada/zlib.adb
zlib-1.2.11/contrib/ada/zlib.ads
zlib-1.2.11/contrib/ada/zlib.gpr
zlib-1.2.11/amiga/Makefile.pup
zlib-1.2.11/amiga/Makefile.sas
root@ubuntu:~/下载# cd zlib-1.2.11
root@ubuntu:~/下载/zlib-1.2.11# ./configure --prefix=/root/qrencode/zlib_arm
Checking for gcc...
Checking for shared library support...
Building shared library libz.so.1.2.11 with gcc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.
root@ubuntu:~/下载/zlib-1.2.11# make
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o example.o test/example.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o adler32.o adler32.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o crc32.o crc32.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o deflate.o deflate.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o infback.o infback.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o inffast.o inffast.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o inflate.o inflate.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o inftrees.o inftrees.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o trees.o trees.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o zutil.o zutil.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o compress.o compress.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o uncompr.o uncompr.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o gzclose.o gzclose.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o gzlib.o gzlib.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o gzread.o gzread.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -c -o gzwrite.o gzwrite.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o 
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example example.o -L. libz.a
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -c -o minigzip.o test/minigzip.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/adler32.o adler32.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/crc32.o crc32.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/deflate.o deflate.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/infback.o infback.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/inffast.o inffast.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/inflate.o inflate.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/inftrees.o inftrees.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/trees.o trees.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/zutil.o zutil.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/compress.o compress.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/uncompr.o uncompr.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/gzclose.o gzclose.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/gzlib.o gzlib.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/gzread.o gzread.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN  -DPIC -c -o objs/gzwrite.o gzwrite.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc  -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o libz.so.1.2.11 adler32.lo crc32.lo deflate.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo zutil.lo compress.lo uncompr.lo gzclose.lo gzlib.lo gzread.lo gzwrite.lo  -lc 
rm -f libz.so libz.so.1
ln -s libz.so.1.2.11 libz.so
ln -s libz.so.1.2.11 libz.so.1
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o examplesh example.o -L. libz.so.1.2.11
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzipsh minigzip.o -L. libz.so.1.2.11
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o example64 example64.o -L. libz.a
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -o minigzip64 minigzip64.o -L. libz.a
root@ubuntu:~/下载/zlib-1.2.11# make install
rm -f /root/qrencode/zlib_arm/lib/libz.a
cp libz.a /root/qrencode/zlib_arm/lib
chmod 644 /root/qrencode/zlib_arm/lib/libz.a
cp libz.so.1.2.11 /root/qrencode/zlib_arm/lib
chmod 755 /root/qrencode/zlib_arm/lib/libz.so.1.2.11
rm -f /root/qrencode/zlib_arm/share/man/man3/zlib.3
cp zlib.3 /root/qrencode/zlib_arm/share/man/man3
chmod 644 /root/qrencode/zlib_arm/share/man/man3/zlib.3
rm -f /root/qrencode/zlib_arm/lib/pkgconfig/zlib.pc
cp zlib.pc /root/qrencode/zlib_arm/lib/pkgconfig
chmod 644 /root/qrencode/zlib_arm/lib/pkgconfig/zlib.pc
rm -f /root/qrencode/zlib_arm/include/zlib.h /root/qrencode/zlib_arm/include/zconf.h
cp zlib.h zconf.h /root/qrencode/zlib_arm/include
chmod 644 /root/qrencode/zlib_arm/include/zlib.h /root/qrencode/zlib_arm/include/zconf.h
root@ubuntu:~/下载/zlib-1.2.11# 

libpng完整输出信息如下:

root@ubuntu:~/下载# tar xzvf libpng-1.6.37.tar.gz 
libpng-1.6.37/
libpng-1.6.37/ANNOUNCE
libpng-1.6.37/AUTHORS
libpng-1.6.37/CHANGES
libpng-1.6.37/CMakeLists.txt
libpng-1.6.37/INSTALL
libpng-1.6.37/LICENSE
libpng-1.6.37/Makefile.am
libpng-1.6.37/Makefile.in
libpng-1.6.37/README
libpng-1.6.37/TODO
libpng-1.6.37/TRADEMARK
libpng-1.6.37/aclocal.m4
libpng-1.6.37/arm/
libpng-1.6.37/arm/arm_init.c
libpng-1.6.37/arm/filter_neon.S
libpng-1.6.37/arm/filter_neon_intrinsics.c
libpng-1.6.37/arm/palette_neon_intrinsics.c
libpng-1.6.37/autogen.sh
libpng-1.6.37/compile
libpng-1.6.37/config.guess
libpng-1.6.37/config.h.in
libpng-1.6.37/config.sub
libpng-1.6.37/configure
libpng-1.6.37/configure.ac
libpng-1.6.37/contrib/
libpng-1.6.37/contrib/README.txt
libpng-1.6.37/contrib/arm-neon/
libpng-1.6.37/contrib/arm-neon/README
libpng-1.6.37/contrib/arm-neon/android-ndk.c
libpng-1.6.37/contrib/arm-neon/linux-auxv.c
libpng-1.6.37/contrib/arm-neon/linux.c
libpng-1.6.37/contrib/conftest/
libpng-1.6.37/contrib/conftest/README
libpng-1.6.37/contrib/conftest/pngcp.dfa
libpng-1.6.37/contrib/conftest/read.dfa
libpng-1.6.37/contrib/conftest/s_read.dfa
libpng-1.6.37/contrib/conftest/s_write.dfa
libpng-1.6.37/contrib/conftest/simple.dfa
libpng-1.6.37/contrib/conftest/write.dfa
libpng-1.6.37/contrib/examples/
libpng-1.6.37/contrib/examples/README.txt
libpng-1.6.37/contrib/examples/iccfrompng.c
libpng-1.6.37/contrib/examples/pngpixel.c
libpng-1.6.37/contrib/examples/pngtopng.c
libpng-1.6.37/contrib/examples/simpleover.c
libpng-1.6.37/contrib/gregbook/
libpng-1.6.37/contrib/gregbook/COPYING
libpng-1.6.37/contrib/gregbook/LICENSE
libpng-1.6.37/contrib/gregbook/Makefile.mingw32
libpng-1.6.37/contrib/gregbook/Makefile.sgi
libpng-1.6.37/contrib/gregbook/Makefile.unx
libpng-1.6.37/contrib/gregbook/Makefile.w32
libpng-1.6.37/contrib/gregbook/README
libpng-1.6.37/contrib/gregbook/makevms.com
libpng-1.6.37/contrib/gregbook/readpng.c
libpng-1.6.37/contrib/gregbook/readpng.h
libpng-1.6.37/contrib/gregbook/readpng2.c
libpng-1.6.37/contrib/gregbook/readpng2.h
libpng-1.6.37/contrib/gregbook/readppm.c
libpng-1.6.37/contrib/gregbook/rpng-win.c
libpng-1.6.37/contrib/gregbook/rpng-x.c
libpng-1.6.37/contrib/gregbook/rpng2-win.c
libpng-1.6.37/contrib/gregbook/rpng2-x.c
libpng-1.6.37/contrib/gregbook/toucan.png
libpng-1.6.37/contrib/gregbook/wpng.c
libpng-1.6.37/contrib/gregbook/writepng.c
libpng-1.6.37/contrib/gregbook/writepng.h
libpng-1.6.37/contrib/libtests/
libpng-1.6.37/contrib/libtests/fakepng.c
libpng-1.6.37/contrib/libtests/gentests.sh
libpng-1.6.37/contrib/libtests/makepng.c
libpng-1.6.37/contrib/libtests/pngimage.c
libpng-1.6.37/contrib/libtests/pngstest-errors.h
libpng-1.6.37/contrib/libtests/pngstest.c
libpng-1.6.37/contrib/libtests/pngunknown.c
libpng-1.6.37/contrib/libtests/pngvalid.c
libpng-1.6.37/contrib/libtests/readpng.c
libpng-1.6.37/contrib/libtests/tarith.c
libpng-1.6.37/contrib/libtests/timepng.c
libpng-1.6.37/contrib/mips-msa/
libpng-1.6.37/contrib/mips-msa/README
libpng-1.6.37/contrib/mips-msa/linux.c
libpng-1.6.37/contrib/oss-fuzz/
libpng-1.6.37/contrib/oss-fuzz/Dockerfile
libpng-1.6.37/contrib/oss-fuzz/README.txt
libpng-1.6.37/contrib/oss-fuzz/build.sh
libpng-1.6.37/contrib/oss-fuzz/libpng_read_fuzzer.cc
libpng-1.6.37/contrib/oss-fuzz/libpng_read_fuzzer.options
libpng-1.6.37/contrib/oss-fuzz/png.dict
libpng-1.6.37/contrib/pngminim/
libpng-1.6.37/contrib/pngminim/README
libpng-1.6.37/contrib/pngminim/decoder/
libpng-1.6.37/contrib/pngminim/decoder/README
libpng-1.6.37/contrib/pngminim/decoder/makefile
libpng-1.6.37/contrib/pngminim/decoder/pngusr.dfa
libpng-1.6.37/contrib/pngminim/decoder/pngusr.h
libpng-1.6.37/contrib/pngminim/encoder/
libpng-1.6.37/contrib/pngminim/encoder/README
libpng-1.6.37/contrib/pngminim/encoder/makefile
libpng-1.6.37/contrib/pngminim/encoder/pngusr.dfa
libpng-1.6.37/contrib/pngminim/encoder/pngusr.h
libpng-1.6.37/contrib/pngminim/preader/
libpng-1.6.37/contrib/pngminim/preader/README
libpng-1.6.37/contrib/pngminim/preader/makefile
libpng-1.6.37/contrib/pngminim/preader/pngusr.dfa
libpng-1.6.37/contrib/pngminim/preader/pngusr.h
libpng-1.6.37/contrib/pngminus/
libpng-1.6.37/contrib/pngminus/CHANGES.txt
libpng-1.6.37/contrib/pngminus/CMakeLists.txt
libpng-1.6.37/contrib/pngminus/LICENSE.txt
libpng-1.6.37/contrib/pngminus/Makefile
libpng-1.6.37/contrib/pngminus/README.txt
libpng-1.6.37/contrib/pngminus/makevms.com
libpng-1.6.37/contrib/pngminus/png2pnm.bat
libpng-1.6.37/contrib/pngminus/png2pnm.c
libpng-1.6.37/contrib/pngminus/png2pnm.sh
libpng-1.6.37/contrib/pngminus/pngminus.bat
libpng-1.6.37/contrib/pngminus/pngminus.sh
libpng-1.6.37/contrib/pngminus/pnm2png.bat
libpng-1.6.37/contrib/pngminus/pnm2png.c
libpng-1.6.37/contrib/pngminus/pnm2png.sh
libpng-1.6.37/contrib/pngsuite/
libpng-1.6.37/contrib/pngsuite/README
libpng-1.6.37/contrib/pngsuite/bad_interlace_conversions.txt
libpng-1.6.37/contrib/pngsuite/basn0g01.png
libpng-1.6.37/contrib/pngsuite/basn0g02.png
libpng-1.6.37/contrib/pngsuite/basn0g04.png
libpng-1.6.37/contrib/pngsuite/basn0g08.png
libpng-1.6.37/contrib/pngsuite/basn0g16.png
libpng-1.6.37/contrib/pngsuite/basn2c08.png
libpng-1.6.37/contrib/pngsuite/basn2c16.png
libpng-1.6.37/contrib/pngsuite/basn3p01.png
libpng-1.6.37/contrib/pngsuite/basn3p02.png
libpng-1.6.37/contrib/pngsuite/basn3p04.png
libpng-1.6.37/contrib/pngsuite/basn3p08.png
libpng-1.6.37/contrib/pngsuite/basn4a08.png
libpng-1.6.37/contrib/pngsuite/basn4a16.png
libpng-1.6.37/contrib/pngsuite/basn6a08.png
libpng-1.6.37/contrib/pngsuite/basn6a16.png
libpng-1.6.37/contrib/pngsuite/ftbbn0g01.png
libpng-1.6.37/contrib/pngsuite/ftbbn0g02.png
libpng-1.6.37/contrib/pngsuite/ftbbn0g04.png
libpng-1.6.37/contrib/pngsuite/ftbbn2c16.png
libpng-1.6.37/contrib/pngsuite/ftbbn3p08.png
libpng-1.6.37/contrib/pngsuite/ftbgn2c16.png
libpng-1.6.37/contrib/pngsuite/ftbgn3p08.png
libpng-1.6.37/contrib/pngsuite/ftbrn2c08.png
libpng-1.6.37/contrib/pngsuite/ftbwn0g16.png
libpng-1.6.37/contrib/pngsuite/ftbwn3p08.png
libpng-1.6.37/contrib/pngsuite/ftbyn3p08.png
libpng-1.6.37/contrib/pngsuite/ftp0n0g08.png
libpng-1.6.37/contrib/pngsuite/ftp0n2c08.png
libpng-1.6.37/contrib/pngsuite/ftp0n3p08.png
libpng-1.6.37/contrib/pngsuite/ftp1n3p08.png
libpng-1.6.37/contrib/pngsuite/ibasn0g08.png
libpng-1.6.37/contrib/pngsuite/ibasn0g16.png
libpng-1.6.37/contrib/pngsuite/ibasn2c08.png
libpng-1.6.37/contrib/pngsuite/ibasn2c16.png
libpng-1.6.37/contrib/pngsuite/ibasn3p08.png
libpng-1.6.37/contrib/pngsuite/ibasn4a08.png
libpng-1.6.37/contrib/pngsuite/ibasn4a16.png
libpng-1.6.37/contrib/pngsuite/ibasn6a08.png
libpng-1.6.37/contrib/pngsuite/ibasn6a16.png
libpng-1.6.37/contrib/pngsuite/iftbbn2c16.png
libpng-1.6.37/contrib/pngsuite/iftbbn3p08.png
libpng-1.6.37/contrib/pngsuite/iftbgn2c16.png
libpng-1.6.37/contrib/pngsuite/iftbgn3p08.png
libpng-1.6.37/contrib/pngsuite/iftbrn2c08.png
libpng-1.6.37/contrib/pngsuite/iftbwn0g16.png
libpng-1.6.37/contrib/pngsuite/iftbwn3p08.png
libpng-1.6.37/contrib/pngsuite/iftbyn3p08.png
libpng-1.6.37/contrib/pngsuite/iftp0n0g08.png
libpng-1.6.37/contrib/pngsuite/iftp0n2c08.png
libpng-1.6.37/contrib/pngsuite/iftp0n3p08.png
libpng-1.6.37/contrib/pngsuite/iftp1n3p08.png
libpng-1.6.37/contrib/pngsuite/interlaced/
libpng-1.6.37/contrib/pngsuite/interlaced/README
libpng-1.6.37/contrib/pngsuite/interlaced/ibasn0g01.png
libpng-1.6.37/contrib/pngsuite/interlaced/ibasn0g02.png
libpng-1.6.37/contrib/pngsuite/interlaced/ibasn0g04.png
libpng-1.6.37/contrib/pngsuite/interlaced/ibasn3p01.png
libpng-1.6.37/contrib/pngsuite/interlaced/ibasn3p02.png
libpng-1.6.37/contrib/pngsuite/interlaced/ibasn3p04.png
libpng-1.6.37/contrib/pngsuite/interlaced/iftbbn0g01.png
libpng-1.6.37/contrib/pngsuite/interlaced/iftbbn0g02.png
libpng-1.6.37/contrib/pngsuite/interlaced/iftbbn0g04.png
libpng-1.6.37/contrib/powerpc-vsx/
libpng-1.6.37/contrib/powerpc-vsx/README
libpng-1.6.37/contrib/powerpc-vsx/linux.c
libpng-1.6.37/contrib/powerpc-vsx/linux_aux.c
libpng-1.6.37/contrib/testpngs/
libpng-1.6.37/contrib/testpngs/crashers/
libpng-1.6.37/contrib/testpngs/crashers/bad_iCCP.png
libpng-1.6.37/contrib/testpngs/crashers/badadler.png
libpng-1.6.37/contrib/testpngs/crashers/badcrc.png
libpng-1.6.37/contrib/testpngs/crashers/empty_ancillary_chunks.png
libpng-1.6.37/contrib/testpngs/crashers/huge_IDAT.png
libpng-1.6.37/contrib/testpngs/crashers/huge_bKGD_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_cHRM_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_eXIf_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_gAMA_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_hIST_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_iCCP_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_iTXt_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png
libpng-1.6.37/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png
libpng-1.6.37/contrib/testpngs/crashers/huge_pCAL_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_pHYs_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_sCAL_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_sPLT_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_sRGB_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_sTER_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_tEXt_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_tIME_chunk.png
libpng-1.6.37/contrib/testpngs/crashers/huge_zTXt_chunk.png
libpng-1.6.37/contrib/testpngs/gray-1-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-1-1.8.png
libpng-1.6.37/contrib/testpngs/gray-1-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-1-linear.png
libpng-1.6.37/contrib/testpngs/gray-1-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-1-sRGB.png
libpng-1.6.37/contrib/testpngs/gray-1-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-1.png
libpng-1.6.37/contrib/testpngs/gray-16-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-16-1.8.png
libpng-1.6.37/contrib/testpngs/gray-16-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-16-linear.png
libpng-1.6.37/contrib/testpngs/gray-16-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-16-sRGB.png
libpng-1.6.37/contrib/testpngs/gray-16-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-16.png
libpng-1.6.37/contrib/testpngs/gray-2-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-2-1.8.png
libpng-1.6.37/contrib/testpngs/gray-2-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-2-linear.png
libpng-1.6.37/contrib/testpngs/gray-2-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-2-sRGB.png
libpng-1.6.37/contrib/testpngs/gray-2-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-2.png
libpng-1.6.37/contrib/testpngs/gray-4-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-4-1.8.png
libpng-1.6.37/contrib/testpngs/gray-4-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-4-linear.png
libpng-1.6.37/contrib/testpngs/gray-4-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-4-sRGB.png
libpng-1.6.37/contrib/testpngs/gray-4-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-4.png
libpng-1.6.37/contrib/testpngs/gray-8-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-8-1.8.png
libpng-1.6.37/contrib/testpngs/gray-8-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-8-linear.png
libpng-1.6.37/contrib/testpngs/gray-8-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-8-sRGB.png
libpng-1.6.37/contrib/testpngs/gray-8-tRNS.png
libpng-1.6.37/contrib/testpngs/gray-8.png
libpng-1.6.37/contrib/testpngs/gray-alpha-16-1.8.png
libpng-1.6.37/contrib/testpngs/gray-alpha-16-linear.png
libpng-1.6.37/contrib/testpngs/gray-alpha-16-sRGB.png
libpng-1.6.37/contrib/testpngs/gray-alpha-16.png
libpng-1.6.37/contrib/testpngs/gray-alpha-8-1.8.png
libpng-1.6.37/contrib/testpngs/gray-alpha-8-linear.png
libpng-1.6.37/contrib/testpngs/gray-alpha-8-sRGB.png
libpng-1.6.37/contrib/testpngs/gray-alpha-8.png
libpng-1.6.37/contrib/testpngs/makepngs.sh
libpng-1.6.37/contrib/testpngs/palette-1-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-1-1.8.png
libpng-1.6.37/contrib/testpngs/palette-1-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-1-linear.png
libpng-1.6.37/contrib/testpngs/palette-1-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-1-sRGB.png
libpng-1.6.37/contrib/testpngs/palette-1-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-1.png
libpng-1.6.37/contrib/testpngs/palette-2-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-2-1.8.png
libpng-1.6.37/contrib/testpngs/palette-2-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-2-linear.png
libpng-1.6.37/contrib/testpngs/palette-2-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-2-sRGB.png
libpng-1.6.37/contrib/testpngs/palette-2-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-2.png
libpng-1.6.37/contrib/testpngs/palette-4-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-4-1.8.png
libpng-1.6.37/contrib/testpngs/palette-4-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-4-linear.png
libpng-1.6.37/contrib/testpngs/palette-4-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-4-sRGB.png
libpng-1.6.37/contrib/testpngs/palette-4-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-4.png
libpng-1.6.37/contrib/testpngs/palette-8-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-8-1.8.png
libpng-1.6.37/contrib/testpngs/palette-8-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-8-linear.png
libpng-1.6.37/contrib/testpngs/palette-8-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-8-sRGB.png
libpng-1.6.37/contrib/testpngs/palette-8-tRNS.png
libpng-1.6.37/contrib/testpngs/palette-8.png
libpng-1.6.37/contrib/testpngs/rgb-16-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/rgb-16-1.8.png
libpng-1.6.37/contrib/testpngs/rgb-16-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/rgb-16-linear.png
libpng-1.6.37/contrib/testpngs/rgb-16-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/rgb-16-sRGB.png
libpng-1.6.37/contrib/testpngs/rgb-16-tRNS.png
libpng-1.6.37/contrib/testpngs/rgb-16.png
libpng-1.6.37/contrib/testpngs/rgb-8-1.8-tRNS.png
libpng-1.6.37/contrib/testpngs/rgb-8-1.8.png
libpng-1.6.37/contrib/testpngs/rgb-8-linear-tRNS.png
libpng-1.6.37/contrib/testpngs/rgb-8-linear.png
libpng-1.6.37/contrib/testpngs/rgb-8-sRGB-tRNS.png
libpng-1.6.37/contrib/testpngs/rgb-8-sRGB.png
libpng-1.6.37/contrib/testpngs/rgb-8-tRNS.png
libpng-1.6.37/contrib/testpngs/rgb-8.png
libpng-1.6.37/contrib/testpngs/rgb-alpha-16-1.8.png
libpng-1.6.37/contrib/testpngs/rgb-alpha-16-linear.png
libpng-1.6.37/contrib/testpngs/rgb-alpha-16-sRGB.png
libpng-1.6.37/contrib/testpngs/rgb-alpha-16.png
libpng-1.6.37/contrib/testpngs/rgb-alpha-8-1.8.png
libpng-1.6.37/contrib/testpngs/rgb-alpha-8-linear.png
libpng-1.6.37/contrib/testpngs/rgb-alpha-8-sRGB.png
libpng-1.6.37/contrib/testpngs/rgb-alpha-8.png
libpng-1.6.37/contrib/tools/
libpng-1.6.37/contrib/tools/README.txt
libpng-1.6.37/contrib/tools/checksum-icc.c
libpng-1.6.37/contrib/tools/chkfmt
libpng-1.6.37/contrib/tools/cvtcolor.c
libpng-1.6.37/contrib/tools/genpng.c
libpng-1.6.37/contrib/tools/intgamma.sh
libpng-1.6.37/contrib/tools/makesRGB.c
libpng-1.6.37/contrib/tools/png-fix-itxt.c
libpng-1.6.37/contrib/tools/pngcp.c
libpng-1.6.37/contrib/tools/pngfix.c
libpng-1.6.37/contrib/tools/reindent
libpng-1.6.37/contrib/tools/sRGB.h
libpng-1.6.37/contrib/visupng/
libpng-1.6.37/contrib/visupng/PngFile.c
libpng-1.6.37/contrib/visupng/PngFile.h
libpng-1.6.37/contrib/visupng/README.txt
libpng-1.6.37/contrib/visupng/VisualPng.c
libpng-1.6.37/contrib/visupng/VisualPng.dsp
libpng-1.6.37/contrib/visupng/VisualPng.dsw
libpng-1.6.37/contrib/visupng/VisualPng.ico
libpng-1.6.37/contrib/visupng/VisualPng.png
libpng-1.6.37/contrib/visupng/VisualPng.rc
libpng-1.6.37/contrib/visupng/cexcept.h
libpng-1.6.37/contrib/visupng/resource.h
libpng-1.6.37/depcomp
libpng-1.6.37/example.c
libpng-1.6.37/install-sh
libpng-1.6.37/intel/
libpng-1.6.37/intel/filter_sse2_intrinsics.c
libpng-1.6.37/intel/intel_init.c
libpng-1.6.37/libpng-config.in
libpng-1.6.37/libpng-manual.txt
libpng-1.6.37/libpng.3
libpng-1.6.37/libpng.pc.in
libpng-1.6.37/libpngpf.3
libpng-1.6.37/ltmain.sh
libpng-1.6.37/mips/
libpng-1.6.37/mips/filter_msa_intrinsics.c
libpng-1.6.37/mips/mips_init.c
libpng-1.6.37/missing
libpng-1.6.37/png.5
libpng-1.6.37/png.c
libpng-1.6.37/png.h
libpng-1.6.37/pngbar.jpg
libpng-1.6.37/pngbar.png
libpng-1.6.37/pngconf.h
libpng-1.6.37/pngdebug.h
libpng-1.6.37/pngerror.c
libpng-1.6.37/pngget.c
libpng-1.6.37/pnginfo.h
libpng-1.6.37/pngmem.c
libpng-1.6.37/pngnow.png
libpng-1.6.37/pngpread.c
libpng-1.6.37/pngpriv.h
libpng-1.6.37/pngread.c
libpng-1.6.37/pngrio.c
libpng-1.6.37/pngrtran.c
libpng-1.6.37/pngrutil.c
libpng-1.6.37/pngset.c
libpng-1.6.37/pngstruct.h
libpng-1.6.37/pngtest.c
libpng-1.6.37/pngtest.png
libpng-1.6.37/pngtrans.c
libpng-1.6.37/pngusr.dfa
libpng-1.6.37/pngwio.c
libpng-1.6.37/pngwrite.c
libpng-1.6.37/pngwtran.c
libpng-1.6.37/pngwutil.c
libpng-1.6.37/powerpc/
libpng-1.6.37/powerpc/filter_vsx_intrinsics.c
libpng-1.6.37/powerpc/powerpc_init.c
libpng-1.6.37/projects/
libpng-1.6.37/projects/owatcom/
libpng-1.6.37/projects/owatcom/libpng.tgt
libpng-1.6.37/projects/owatcom/libpng.wpj
libpng-1.6.37/projects/owatcom/pngconfig.mak
libpng-1.6.37/projects/owatcom/pngstest.tgt
libpng-1.6.37/projects/owatcom/pngtest.tgt
libpng-1.6.37/projects/owatcom/pngvalid.tgt
libpng-1.6.37/projects/visualc71/
libpng-1.6.37/projects/visualc71/PRJ0041.mak
libpng-1.6.37/projects/visualc71/README.txt
libpng-1.6.37/projects/visualc71/README_zlib.txt
libpng-1.6.37/projects/visualc71/libpng.sln
libpng-1.6.37/projects/visualc71/libpng.vcproj
libpng-1.6.37/projects/visualc71/pngtest.vcproj
libpng-1.6.37/projects/visualc71/zlib.vcproj
libpng-1.6.37/projects/vstudio/
libpng-1.6.37/projects/vstudio/README.txt
libpng-1.6.37/projects/vstudio/libpng/
libpng-1.6.37/projects/vstudio/libpng/libpng.vcxproj
libpng-1.6.37/projects/vstudio/pnglibconf/
libpng-1.6.37/projects/vstudio/pnglibconf/pnglibconf.vcxproj
libpng-1.6.37/projects/vstudio/pngstest/
libpng-1.6.37/projects/vstudio/pngstest/pngstest.vcxproj
libpng-1.6.37/projects/vstudio/pngtest/
libpng-1.6.37/projects/vstudio/pngtest/pngtest.vcxproj
libpng-1.6.37/projects/vstudio/pngunknown/
libpng-1.6.37/projects/vstudio/pngunknown/pngunknown.vcxproj
libpng-1.6.37/projects/vstudio/pngvalid/
libpng-1.6.37/projects/vstudio/pngvalid/pngvalid.vcxproj
libpng-1.6.37/projects/vstudio/vstudio.sln
libpng-1.6.37/projects/vstudio/zlib.props
libpng-1.6.37/projects/vstudio/zlib/
libpng-1.6.37/projects/vstudio/zlib/zlib.vcxproj
libpng-1.6.37/scripts/
libpng-1.6.37/scripts/README.txt
libpng-1.6.37/scripts/SCOPTIONS.ppc
libpng-1.6.37/scripts/checksym.awk
libpng-1.6.37/scripts/descrip.mms
libpng-1.6.37/scripts/dfn.awk
libpng-1.6.37/scripts/genchk.cmake.in
libpng-1.6.37/scripts/genout.cmake.in
libpng-1.6.37/scripts/gensrc.cmake.in
libpng-1.6.37/scripts/intprefix.c
libpng-1.6.37/scripts/libpng-config-body.in
libpng-1.6.37/scripts/libpng-config-head.in
libpng-1.6.37/scripts/libpng.pc.in
libpng-1.6.37/scripts/libtool.m4
libpng-1.6.37/scripts/ltoptions.m4
libpng-1.6.37/scripts/ltsugar.m4
libpng-1.6.37/scripts/ltversion.m4
libpng-1.6.37/scripts/lt~obsolete.m4
libpng-1.6.37/scripts/macro.lst
libpng-1.6.37/scripts/makefile.32sunu
libpng-1.6.37/scripts/makefile.64sunu
libpng-1.6.37/scripts/makefile.acorn
libpng-1.6.37/scripts/makefile.aix
libpng-1.6.37/scripts/makefile.amiga
libpng-1.6.37/scripts/makefile.atari
libpng-1.6.37/scripts/makefile.bc32
libpng-1.6.37/scripts/makefile.beos
libpng-1.6.37/scripts/makefile.cegcc
libpng-1.6.37/scripts/makefile.clang
libpng-1.6.37/scripts/makefile.clang-asan
libpng-1.6.37/scripts/makefile.darwin
libpng-1.6.37/scripts/makefile.dec
libpng-1.6.37/scripts/makefile.dj2
libpng-1.6.37/scripts/makefile.freebsd
libpng-1.6.37/scripts/makefile.gcc
libpng-1.6.37/scripts/makefile.gcc-asan
libpng-1.6.37/scripts/makefile.hp64
libpng-1.6.37/scripts/makefile.hpgcc
libpng-1.6.37/scripts/makefile.hpux
libpng-1.6.37/scripts/makefile.ibmc
libpng-1.6.37/scripts/makefile.intel
libpng-1.6.37/scripts/makefile.linux
libpng-1.6.37/scripts/makefile.linux-opt
libpng-1.6.37/scripts/makefile.mips
libpng-1.6.37/scripts/makefile.msys
libpng-1.6.37/scripts/makefile.netbsd
libpng-1.6.37/scripts/makefile.openbsd
libpng-1.6.37/scripts/makefile.sco
libpng-1.6.37/scripts/makefile.sggcc
libpng-1.6.37/scripts/makefile.sgi
libpng-1.6.37/scripts/makefile.so9
libpng-1.6.37/scripts/makefile.solaris
libpng-1.6.37/scripts/makefile.std
libpng-1.6.37/scripts/makefile.sunos
libpng-1.6.37/scripts/makefile.vcwin32
libpng-1.6.37/scripts/makevms.com
libpng-1.6.37/scripts/options.awk
libpng-1.6.37/scripts/pnglibconf.dfa
libpng-1.6.37/scripts/pnglibconf.h.prebuilt
libpng-1.6.37/scripts/pnglibconf.mak
libpng-1.6.37/scripts/pngwin.rc
libpng-1.6.37/scripts/prefix.c
libpng-1.6.37/scripts/smakefile.ppc
libpng-1.6.37/scripts/sym.c
libpng-1.6.37/scripts/symbols.c
libpng-1.6.37/scripts/symbols.def
libpng-1.6.37/scripts/test.cmake.in
libpng-1.6.37/scripts/vers.c
libpng-1.6.37/test-driver
libpng-1.6.37/tests/
libpng-1.6.37/tests/pngimage-full
libpng-1.6.37/tests/pngimage-quick
libpng-1.6.37/tests/pngstest
libpng-1.6.37/tests/pngstest-1.8
libpng-1.6.37/tests/pngstest-1.8-alpha
libpng-1.6.37/tests/pngstest-linear
libpng-1.6.37/tests/pngstest-linear-alpha
libpng-1.6.37/tests/pngstest-none
libpng-1.6.37/tests/pngstest-none-alpha
libpng-1.6.37/tests/pngstest-sRGB
libpng-1.6.37/tests/pngstest-sRGB-alpha
libpng-1.6.37/tests/pngtest
libpng-1.6.37/tests/pngtest-badpngs
libpng-1.6.37/tests/pngunknown-IDAT
libpng-1.6.37/tests/pngunknown-discard
libpng-1.6.37/tests/pngunknown-if-safe
libpng-1.6.37/tests/pngunknown-sAPI
libpng-1.6.37/tests/pngunknown-sTER
libpng-1.6.37/tests/pngunknown-save
libpng-1.6.37/tests/pngunknown-vpAg
libpng-1.6.37/tests/pngvalid-gamma-16-to-8
libpng-1.6.37/tests/pngvalid-gamma-alpha-mode
libpng-1.6.37/tests/pngvalid-gamma-background
libpng-1.6.37/tests/pngvalid-gamma-expand16-alpha-mode
libpng-1.6.37/tests/pngvalid-gamma-expand16-background
libpng-1.6.37/tests/pngvalid-gamma-expand16-transform
libpng-1.6.37/tests/pngvalid-gamma-sbit
libpng-1.6.37/tests/pngvalid-gamma-threshold
libpng-1.6.37/tests/pngvalid-gamma-transform
libpng-1.6.37/tests/pngvalid-progressive-interlace-standard
libpng-1.6.37/tests/pngvalid-progressive-size
libpng-1.6.37/tests/pngvalid-progressive-standard
libpng-1.6.37/tests/pngvalid-standard
libpng-1.6.37/tests/pngvalid-transform
root@ubuntu:~/下载# mkdir /root/qrencode/libpng_arm
root@ubuntu:~/下载# cd libpng-1.6.37/
root@ubuntu:~/下载/libpng-1.6.37# cp scripts/makefile.linux makefile
root@ubuntu:~/下载/libpng-1.6.37# vi makefile
root@ubuntu:~/下载/libpng-1.6.37# make
cp scripts/pnglibconf.h.prebuilt pnglibconf.h
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o png.o png.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngset.o pngset.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngget.o pngget.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngrutil.o pngrutil.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngtrans.o pngtrans.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngwutil.o pngwutil.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngread.o pngread.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngrio.o pngrio.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngwio.o pngwio.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngwrite.o pngwrite.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngrtran.o pngrtran.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngwtran.o pngwtran.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngmem.o pngmem.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngerror.o pngerror.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngpread.o pngpread.c
ar rc libpng.a png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o pngmem.o pngerror.o pngpread.o
ranlib libpng.a
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o png.pic.o png.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngset.pic.o pngset.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngget.pic.o pngget.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngrutil.pic.o pngrutil.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngtrans.pic.o pngtrans.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngwutil.pic.o pngwutil.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngread.pic.o pngread.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngrio.pic.o pngrio.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngwio.pic.o pngwio.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngwrite.pic.o pngwrite.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngrtran.pic.o pngrtran.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngwtran.pic.o pngwtran.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngmem.pic.o pngmem.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngerror.pic.o pngerror.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -fPIC -o pngpread.pic.o pngpread.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -shared -Wl,-soname,libpng16.so.16 -o libpng16.so.16 png.pic.o pngset.pic.o pngget.pic.o pngrutil.pic.o pngtrans.pic.o pngwutil.pic.o pngread.pic.o pngrio.pic.o pngwio.pic.o pngwrite.pic.o pngrtran.pic.o pngwtran.pic.o pngmem.pic.o pngerror.pic.o pngpread.pic.o
ln -sf libpng16.so.16 libpng16.so
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -c -I/root/qrencode/zlib_arm/include  -W -Wall -O3 -funroll-loops   -o pngtest.o pngtest.c
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -o pngtest -W -Wall -O3 -funroll-loops   pngtest.o -L. -Wl,-rpath,. -L/root/qrencode/zlib_arm/lib -Wl,-rpath,/root/qrencode/zlib_arm/lib -lpng16 -lz -lm
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -o pngtest-static -W -Wall -O3 -funroll-loops   pngtest.o -L/root/qrencode/zlib_arm/lib -Wl,-rpath,/root/qrencode/zlib_arm/lib libpng.a -lz -lm
cat scripts/libpng.pc.in | sed -e s!@prefix@!/root/qrencode/libpng_arm! \
-e s!@exec_prefix@!/root/qrencode/libpng_arm! \
-e s!@libdir@!/root/qrencode/libpng_arm/lib! \
-e s!@includedir@!/root/qrencode/libpng_arm/include! \
-e s!-lpng16!-lpng16\ -lz\ -lm! > libpng.pc
( cat scripts/libpng-config-head.in; \
echo prefix=\"/root/qrencode/libpng_arm\"; \
echo I_opts=\"-I/root/qrencode/libpng_arm/include/libpng16\"; \
echo L_opts=\"-L/root/qrencode/libpng_arm/lib\"; \
echo R_opts=\"-Wl,-rpath,/root/qrencode/libpng_arm/lib\"; \
echo libs=\"-lpng16 -lz -lm\"; \
cat scripts/libpng-config-body.in ) > libpng-config
chmod +x libpng-config
root@ubuntu:~/下载/libpng-1.6.37# make install
cp png.h pngconf.h pnglibconf.h /root/qrencode/libpng_arm/include/libpng16
chmod 644 /root/qrencode/libpng_arm/include/libpng16/png.h /root/qrencode/libpng_arm/include/libpng16/pngconf.h /root/qrencode/libpng_arm/include/libpng16/pnglibconf.h
(cd /root/qrencode/libpng_arm/include; ln -sf libpng16 libpng; ln -sf libpng16/* .)
cp libpng.a /root/qrencode/libpng_arm/lib/libpng16.a
chmod 644 /root/qrencode/libpng_arm/lib/libpng16.a
(cd /root/qrencode/libpng_arm/lib; ln -sf libpng16.a libpng.a)
cp libpng16.so.16 /root/qrencode/libpng_arm/lib/libpng16.so.16.37
chmod 755 /root/qrencode/libpng_arm/lib/libpng16.so.16.37
(cd /root/qrencode/libpng_arm/lib; \
ln -sf libpng16.so.16.37 libpng16.so; \
ln -sf libpng16.so libpng.so)
cp libpng.pc /root/qrencode/libpng_arm/lib/pkgconfig/libpng16.pc
chmod 644 /root/qrencode/libpng_arm/lib/pkgconfig/libpng16.pc
(cd /root/qrencode/libpng_arm/lib/pkgconfig; ln -sf libpng16.pc libpng.pc)
cp libpng.3 /root/qrencode/libpng_arm/man/man3
cp libpngpf.3 /root/qrencode/libpng_arm/man/man3
cp png.5 /root/qrencode/libpng_arm/man/man5
cp libpng-config /root/qrencode/libpng_arm/bin/libpng16-config
chmod 755 /root/qrencode/libpng_arm/bin/libpng16-config
(cd /root/qrencode/libpng_arm/bin; ln -sf libpng16-config libpng-config)
root@ubuntu:~/下载/libpng-1.6.37# 

qrencode完整输出信息如下:

root@ubuntu:~/下载# tar -xjvf qrencode-4.1.1.tar.bz2 
qrencode-4.1.1/
qrencode-4.1.1/cmake/
qrencode-4.1.1/cmake/FindIconv.cmake
qrencode-4.1.1/rsecc.c
qrencode-4.1.1/qrencode.c
qrencode-4.1.1/mmask.c
qrencode-4.1.1/TODO
qrencode-4.1.1/qrinput.c
qrencode-4.1.1/mask.c
qrencode-4.1.1/COPYING
qrencode-4.1.1/autogen.sh
qrencode-4.1.1/mqrspec.h
qrencode-4.1.1/qrencode.h
qrencode-4.1.1/Makefile.in
qrencode-4.1.1/CMakeLists.txt
qrencode-4.1.1/acinclude.m4
qrencode-4.1.1/use/
qrencode-4.1.1/use/install-sh
qrencode-4.1.1/use/ltmain.sh
qrencode-4.1.1/use/compile
qrencode-4.1.1/use/config.guess
qrencode-4.1.1/use/config.rpath
qrencode-4.1.1/use/missing
qrencode-4.1.1/use/depcomp
qrencode-4.1.1/use/test-driver
qrencode-4.1.1/use/config.sub
qrencode-4.1.1/mqrspec.c
qrencode-4.1.1/NEWS
qrencode-4.1.1/config.h.in
qrencode-4.1.1/qrencode.1.in
qrencode-4.1.1/configure
qrencode-4.1.1/tests/
qrencode-4.1.1/tests/URI_testset.inc
qrencode-4.1.1/tests/test_qrinput.c
qrencode-4.1.1/tests/test_bitstream.c
qrencode-4.1.1/tests/common.c
qrencode-4.1.1/tests/frame
qrencode-4.1.1/tests/decoder.c
qrencode-4.1.1/tests/datachunk.h
qrencode-4.1.1/tests/view_qrcode.c
qrencode-4.1.1/tests/Makefile.in
qrencode-4.1.1/tests/CMakeLists.txt
qrencode-4.1.1/tests/test_split_urls.c
qrencode-4.1.1/tests/rsecc_decoder.c
qrencode-4.1.1/tests/datachunk.c
qrencode-4.1.1/tests/common.h
qrencode-4.1.1/tests/rscode.c
qrencode-4.1.1/tests/test_mmask.c
qrencode-4.1.1/tests/Makefile.am
qrencode-4.1.1/tests/test_split.c
qrencode-4.1.1/tests/pthread_qrencode.c
qrencode-4.1.1/tests/test_qrencode.c
qrencode-4.1.1/tests/prof_qrencode.c
qrencode-4.1.1/tests/create_frame_pattern.c
qrencode-4.1.1/tests/test_estimatebit.c
qrencode-4.1.1/tests/test_qrspec.c
qrencode-4.1.1/tests/test_monkey.c
qrencode-4.1.1/tests/test_all.sh
qrencode-4.1.1/tests/test_configure.sh
qrencode-4.1.1/tests/rscode.h
qrencode-4.1.1/tests/test_mqrspec.c
qrencode-4.1.1/tests/test_basic.sh
qrencode-4.1.1/tests/test_rs.c
qrencode-4.1.1/tests/rsecc_decoder.h
qrencode-4.1.1/tests/test_mask.c
qrencode-4.1.1/tests/create_mqr_frame_pattern.c
qrencode-4.1.1/tests/decoder.h
qrencode-4.1.1/rsecc.h
qrencode-4.1.1/README
qrencode-4.1.1/Makefile.am
qrencode-4.1.1/mask.h
qrencode-4.1.1/configure.ac
qrencode-4.1.1/qrencode_inner.h
qrencode-4.1.1/libqrencode.pc.in
qrencode-4.1.1/bitstream.c
qrencode-4.1.1/ChangeLog
qrencode-4.1.1/split.h
qrencode-4.1.1/Doxyfile
qrencode-4.1.1/qrenc.c
qrencode-4.1.1/qrinput.h
qrencode-4.1.1/mmask.h
qrencode-4.1.1/aclocal.m4
qrencode-4.1.1/qrspec.h
qrencode-4.1.1/qrspec.c
qrencode-4.1.1/bitstream.h
qrencode-4.1.1/split.c
root@ubuntu:~/下载# mkdir /root/qrencode/qrencode_arm
root@ubuntu:~/下载# cd qrencode-4.1.1
root@ubuntu:~/下载/qrencode-4.1.1# 
root@ubuntu:~/下载/qrencode-4.1.1# export png_CFLAGS="-I/root/qrencode/libpng_arm/include/libpng16 -I/root/qrencode/libpng_arm/include -I /root/qrencode/zlib_arm/include"
root@ubuntu:~/下载/qrencode-4.1.1# export png_LIBS="-L/root/qrencode/libpng_arm/lib -lpng16 -L/root/qrencode/zlib_arm/lib  -lz -lm"
root@ubuntu:~/下载/qrencode-4.1.1# 
root@ubuntu:~/下载/qrencode-4.1.1# 
root@ubuntu:~/下载/qrencode-4.1.1# ./configure --enable-static --disable-shared --prefix=/root/qrencode/qrencode_arm
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for strdup... yes
checking for pthread_mutex_init in -lpthread... yes
checking for png... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libqrencode.pc
config.status: creating tests/Makefile
config.status: creating qrencode.1
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Options used to compile and link:
  CC       = gcc
  CFLAGS   = -Wall -g -O2 -pthread
  CPPFLAGS = 
  CXX      = 
  CXXFLAGS = 
  LDFLAGS  = 

root@ubuntu:~/下载/qrencode-4.1.1# 
root@ubuntu:~/下载/qrencode-4.1.1# 
root@ubuntu:~/下载/qrencode-4.1.1# 
root@ubuntu:~/下载/qrencode-4.1.1# make
make  all-recursive
make[1]: Entering directory '/root/下载/qrencode-4.1.1'
Making all in .
make[2]: Entering directory '/root/下载/qrencode-4.1.1'
/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.    -I/root/qrencode/libpng_arm/include/libpng16 -I/root/qrencode/libpng_arm/include -I /root/qrencode/zlib_arm/include -Wall -g -O2 -pthread -MT qrencode-qrenc.o -MD -MP -MF .deps/qrencode-qrenc.Tpo -c -o qrencode-qrenc.o `test -f 'qrenc.c' || echo './'`qrenc.c
mv -f .deps/qrencode-qrenc.Tpo .deps/qrencode-qrenc.Po
/bin/bash ./libtool  --tag=CC   --mode=compile /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -pthread -MT qrencode.lo -MD -MP -MF .deps/qrencode.Tpo -c -o qrencode.lo qrencode.c
libtool: compile:  /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -pthread -MT qrencode.lo -MD -MP -MF .deps/qrencode.Tpo -c qrencode.c -o qrencode.o
mv -f .deps/qrencode.Tpo .deps/qrencode.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -pthread -MT qrinput.lo -MD -MP -MF .deps/qrinput.Tpo -c -o qrinput.lo qrinput.c
libtool: compile:  /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -pthread -MT qrinput.lo -MD -MP -MF .deps/qrinput.Tpo -c qrinput.c -o qrinput.o
mv -f .deps/qrinput.Tpo .deps/qrinput.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -pthread -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c -o bitstream.lo bitstream.c
libtool: compile:  /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -pthread -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c bitstream.c -o bitstream.o
mv -f .deps/bitstream.Tpo .deps/bitstream.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -pthread -MT qrspec.lo -MD -MP -MF .deps/qrspec.Tpo -c -o qrspec.lo qrspec.c
libtool: compile:  /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -pthread -MT qrspec.lo -MD -MP -MF .deps/qrspec.Tpo -c qrspec.c -o qrspec.o
mv -f .deps/qrspec.Tpo .deps/qrspec.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -pthread -MT rsecc.lo -MD -MP -MF .deps/rsecc.Tpo -c -o rsecc.lo rsecc.c
libtool: compile:  /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -pthread -MT rsecc.lo -MD -MP -MF .deps/rsecc.Tpo -c rsecc.c -o rsecc.o
mv -f .deps/rsecc.Tpo .deps/rsecc.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -pthread -MT split.lo -MD -MP -MF .deps/split.Tpo -c -o split.lo split.c
libtool: compile:  /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -pthread -MT split.lo -MD -MP -MF .deps/split.Tpo -c split.c -o split.o
mv -f .deps/split.Tpo .deps/split.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -pthread -MT mask.lo -MD -MP -MF .deps/mask.Tpo -c -o mask.lo mask.c
libtool: compile:  /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -pthread -MT mask.lo -MD -MP -MF .deps/mask.Tpo -c mask.c -o mask.o
mv -f .deps/mask.Tpo .deps/mask.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -pthread -MT mqrspec.lo -MD -MP -MF .deps/mqrspec.Tpo -c -o mqrspec.lo mqrspec.c
libtool: compile:  /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -pthread -MT mqrspec.lo -MD -MP -MF .deps/mqrspec.Tpo -c mqrspec.c -o mqrspec.o
mv -f .deps/mqrspec.Tpo .deps/mqrspec.Plo
/bin/bash ./libtool  --tag=CC   --mode=compile /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I.     -Wall -g -O2 -pthread -MT mmask.lo -MD -MP -MF .deps/mmask.Tpo -c -o mmask.lo mmask.c
libtool: compile:  /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -pthread -MT mmask.lo -MD -MP -MF .deps/mmask.Tpo -c mmask.c -o mmask.o
mv -f .deps/mmask.Tpo .deps/mmask.Plo
/bin/bash ./libtool  --tag=CC   --mode=link /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc  -Wall -g -O2 -pthread -version-number 4:1:1   -o libqrencode.la -rpath /root/qrencode/qrencode_arm/lib qrencode.lo qrinput.lo bitstream.lo qrspec.lo rsecc.lo split.lo mask.lo mqrspec.lo mmask.lo  
libtool: link: ar cr .libs/libqrencode.a  qrencode.o qrinput.o bitstream.o qrspec.o rsecc.o split.o mask.o mqrspec.o mmask.o
libtool: link: ranlib .libs/libqrencode.a
libtool: link: ( cd ".libs" && rm -f "libqrencode.la" && ln -s "../libqrencode.la" "libqrencode.la" )
/bin/bash ./libtool  --tag=CC   --mode=link /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -I/root/qrencode/libpng_arm/include/libpng16 -I/root/qrencode/libpng_arm/include -I /root/qrencode/zlib_arm/include -Wall -g -O2 -pthread   -o qrencode qrencode-qrenc.o libqrencode.la -L/root/qrencode/libpng_arm/lib -lpng16 -L/root/qrencode/zlib_arm/lib  -lz -lm 
libtool: link: /home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -I/root/qrencode/libpng_arm/include/libpng16 -I/root/qrencode/libpng_arm/include -I /root/qrencode/zlib_arm/include -Wall -g -O2 -pthread -o qrencode qrencode-qrenc.o  ./.libs/libqrencode.a -L/root/qrencode/libpng_arm/lib -lpng16 -L/root/qrencode/zlib_arm/lib -lz -lm -pthread
make[2]: Leaving directory '/root/下载/qrencode-4.1.1'
make[1]: Leaving directory '/root/下载/qrencode-4.1.1'
root@ubuntu:~/下载/qrencode-4.1.1# 
root@ubuntu:~/下载/qrencode-4.1.1# make install
Making install in .
make[1]: Entering directory '/root/下载/qrencode-4.1.1'
make[2]: Entering directory '/root/下载/qrencode-4.1.1'
 /bin/mkdir -p '/root/qrencode/qrencode_arm/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libqrencode.la '/root/qrencode/qrencode_arm/lib'
libtool: install: /usr/bin/install -c .libs/libqrencode.lai /root/qrencode/qrencode_arm/lib/libqrencode.la
libtool: install: /usr/bin/install -c .libs/libqrencode.a /root/qrencode/qrencode_arm/lib/libqrencode.a
libtool: install: chmod 644 /root/qrencode/qrencode_arm/lib/libqrencode.a
libtool: install: ranlib /root/qrencode/qrencode_arm/lib/libqrencode.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/twdz/ctools/gcc-linaro-4.9.4-2017.01-i686_arm-linux-gnueabihf/bin:/sbin" ldconfig -n /root/qrencode/qrencode_arm/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /root/qrencode/qrencode_arm/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/root/qrencode/qrencode_arm/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c qrencode '/root/qrencode/qrencode_arm/bin'
libtool: install: /usr/bin/install -c qrencode /root/qrencode/qrencode_arm/bin/qrencode
 /bin/mkdir -p '/root/qrencode/qrencode_arm/include'
 /usr/bin/install -c -m 644 qrencode.h '/root/qrencode/qrencode_arm/include'
 /bin/mkdir -p '/root/qrencode/qrencode_arm/share/man/man1'
 /usr/bin/install -c -m 644 qrencode.1 '/root/qrencode/qrencode_arm/share/man/man1'
 /bin/mkdir -p '/root/qrencode/qrencode_arm/lib/pkgconfig'
 /usr/bin/install -c -m 644 libqrencode.pc '/root/qrencode/qrencode_arm/lib/pkgconfig'
make[2]: Leaving directory '/root/下载/qrencode-4.1.1'
make[1]: Leaving directory '/root/下载/qrencode-4.1.1'
root@ubuntu:~/下载/qrencode-4.1.1# 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值