mipse-linux-uclibc交叉编译libgpg-error和ibgcrypt

zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt$ cd libgcrypt-1.5.
-bash: cd: libgcrypt-1.5.: No such file or directory
zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt$ cd libgcrypt-1.5.0-beta1/
zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ ls
acinclude.m4  ChangeLog  config_gcrypt_skmedia.sh  configure     depcomp     ltmain.sh    missing        random      tests
aclocal.m4    cipher     config.guess              configure.ac  doc         m4           mkinstalldirs  README      THANKS
AUTHORS       compat     config.h.in               COPYING       INSTALL     Makefile.am  mpi            README.SVN  TODO

autogen.sh    compile    config.sub                COPYING.LIB   install-sh  Makefile.in  NEWS           src         VERSION


本想autogen一下,发现服务器的配置太老了

zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ ./autogen.sh 
**Error**: `autoconf' not installed or too old.
           Version 2.60 or newer is required.
**Error**: `automake' not installed or too old.
           Version 1.10 or newer is required.


Note that you may use alternative versions of the tools by setting
the corresponding environment variables; see README.SVN for details.

那就这样吧。,




zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ ls
acinclude.m4  ChangeLog  config_gcrypt_skmedia.sh  configure     depcomp     ltmain.sh    missing        random      tests
aclocal.m4    cipher     config.guess              configure.ac  doc         m4           mkinstalldirs  README      THANKS
AUTHORS       compat     config.h.in               COPYING       INSTALL     Makefile.am  mpi            README.SVN  TODO
autogen.sh    compile    config.sub                COPYING.LIB   install-sh  Makefile.in  NEWS           src         VERSION

zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-be



================================================


震惊了,居然认识uclibc。难道是configure写的不一样,或者是不同的版本的config.sub么?


zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ source config_gcrypt_skmedia.sh


configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
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... gawk
checking whether make sets $(MAKE)... yes
checking for mipsel-linux-uclibc-strip... mipsel-linux-uclibc-strip
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-uclibc
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking for mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-linux-uclibc-gcc accepts -g... yes
checking for mipsel-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mipsel-linux-uclibc-gcc... gcc3
checking how to run the C preprocessor... mipsel-linux-uclibc-gcc -E
checking whether mipsel-linux-uclibc-gcc and cc understand -c and -o together... yes
checking dependency style of mipsel-linux-uclibc-gcc... gcc3
checking for library containing strerror... none required
checking for gawk... (cached) gawk
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mipsel-linux-uclibc-nm
checking the name lister (mipsel-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for mipsel-linux-uclibc-ld option to reload object files... -r
checking for mipsel-linux-uclibc-objdump... mipsel-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mipsel-linux-uclibc-ar... mipsel-linux-uclibc-ar
checking for mipsel-linux-uclibc-strip... (cached) mipsel-linux-uclibc-strip
checking for mipsel-linux-uclibc-ranlib... mipsel-linux-uclibc-ranlib
checking command to parse mipsel-linux-uclibc-nm output from mipsel-linux-uclibc-gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mipsel-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mipsel-linux-uclibc-gcc static flag -static works... yes
checking if mipsel-linux-uclibc-gcc supports -c -o file.o... yes
checking if mipsel-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mipsel-linux-uclibc-gcc linker (mipsel-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... no
checking for mipsel-linux-uclibc-windres... no
checking for windres... no
checking whether byte ordering is bigendian... no
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 4
checking size of unsigned long long... 8
checking for uintptr_t... yes
checking which symmetric ciphers to include... arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia
checking which public-key ciphers to include... dsa elgamal rsa ecc
checking which message digests to include... crc md4 md5 rmd160 sha1 sha256 sha512 tiger whirlpool
checking which random module to use... default
checking whether use of /dev/random is requested... yes
checking whether the experimental random daemon is requested... no
checking whether MPI assembler modules are requested... yes
checking whether memory guard is requested... no
checking whether use of capabilities is requested... no
checking whether a HMAC binary check is requested... no
checking whether padlock support is requested... yes
checking whether AESNI support is requested... yes
checking whether a -O flag munging is requested... yes
checking for gpg-error-config... /usr/bin/gpg-error-config
checking for GPG Error - version >= 1.8... no
configure: error: libgpg-erroris needed. 需要ilbgpg-error库啊。

                See ftp://ftp.gnupg.org/gcrypt/libgpg-error/ .
configure done ...
zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ 

=============================================好吧,首先编译libgpg-error库

#!/bin/bash



DST=/home/depvlc/libgpg-error/home

A52_HOME=$DST
echo "####################"
echo "A52_HOME IS $A52_HOME"
echo "####################"


HOST=mipsel-linux-uclibc
./configure --prefix=${A52_HOME} --host=$HOST

echo "configure done ..."


zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ source config_gpgerror_skmedia.sh
####################
A52_HOME IS /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home
####################
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
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... gawk
checking whether make sets $(MAKE)... yes
checking for mipsel-linux-uclibc-strip... mipsel-linux-uclibc-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-uclibc
configure: autobuild project... libgpg-error
configure: autobuild revision... 1.9
configure: autobuild hostname... bogon
configure: autobuild timestamp... 20131117-151553
checking for mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-linux-uclibc-gcc accepts -g... yes
checking for mipsel-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mipsel-linux-uclibc-gcc... gcc3
checking whether mipsel-linux-uclibc-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... mipsel-linux-uclibc-gcc -E
checking for gawk... (cached) gawk
checking for mipsel-linux-uclibc-ar... mipsel-linux-uclibc-ar
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mipsel-linux-uclibc-nm
checking the name lister (mipsel-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for mipsel-linux-uclibc-ld option to reload object files... -r
checking for mipsel-linux-uclibc-objdump... mipsel-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mipsel-linux-uclibc-ar... (cached) mipsel-linux-uclibc-ar
checking for mipsel-linux-uclibc-strip... (cached) mipsel-linux-uclibc-strip
checking for mipsel-linux-uclibc-ranlib... mipsel-linux-uclibc-ranlib
checking command to parse mipsel-linux-uclibc-nm output from mipsel-linux-uclibc-gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mipsel-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mipsel-linux-uclibc-gcc static flag -static works... yes
checking if mipsel-linux-uclibc-gcc supports -c -o file.o... yes
checking if mipsel-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mipsel-linux-uclibc-gcc linker (mipsel-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... no
checking for mipsel-linux-uclibc-windres... no
checking for windres... no
checking for cc for build... cc
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for strerror_r... (cached) yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating src/gpg-error-config
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating lang/Makefile
config.status: creating lang/cl/Makefile
config.status: creating lang/cl/gpg-error.asd
config.status: creating src/versioninfo.rc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


        Libgpg-error v1.9 has been configured as follows:


        Platform:  mipsel-unknown-linux-uclibc




configure done ...
zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ 


========================编译

zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ make
make  all-recursive
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
Making all in m4
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
Making all in src
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
gawk -f ./mkstrtable.awk -v textidx=3 \
                ./err-sources.h.in >err-sources.h
gawk -f ./mkstrtable.awk -v textidx=3 \
                ./err-codes.h.in >err-codes.h
gawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
gawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
mipsel-linux-uclibc-gcc -E  _mkerrcodes.h | grep GPG_ERR_ | \
               gawk -f ./mkerrcodes.awk >mkerrcodes.h
rm _mkerrcodes.h
cc -I. -I. -o mkerrcodes ./mkerrcodes.c
./mkerrcodes | gawk -f ./mkerrcodes2.awk >code-from-errno.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
                ./err-sources.h.in >err-sources-sym.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
                ./err-codes.h.in >err-codes-sym.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
                -v prefix=GPG_ERR_ -v namespace=errnos_ \
                ./errnos.in >errnos-sym.h
rm extra-h.in
rm: cannot remove `extra-h.in': No such file or directory
make[2]: [extra-h.in] Error 1 (ignored)
echo EOF >>extra-h.in
gawk -f ./mkheader.awk \
                ./err-sources.h.in \
                ./err-codes.h.in \
                ./errnos.in \
                extra-h.in \
                ./gpg-error.h.in > gpg-error.h
cat ./gpg-error.def.in >_gpg-error.def.h
mipsel-linux-uclibc-gcc -E -I. -I..   _gpg-error.def.h | \
          grep -v '^#' >gpg-error.def
rm _gpg-error.def.h
echo "/*dummy*/" > mkw32errmap.map.c
make  all-am
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\"    -fPIC -MT libgpg_error_la-init.lo -MD -MP -MF .deps/libgpg_error_la-init.Tpo -c -o libgpg_error_la-init.lo `test -f 'init.c' || echo './'`init.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\" -fPIC -MT libgpg_error_la-init.lo -MD -MP -MF .deps/libgpg_error_la-init.Tpo -c init.c  -fPIC -DPIC -o .libs/libgpg_error_la-init.o
mv -f .deps/libgpg_error_la-init.Tpo .deps/libgpg_error_la-init.Plo
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\"    -fPIC -MT libgpg_error_la-strsource.lo -MD -MP -MF .deps/libgpg_error_la-strsource.Tpo -c -o libgpg_error_la-strsource.lo `test -f 'strsource.c' || echo './'`strsource.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\" -fPIC -MT libgpg_error_la-strsource.lo -MD -MP -MF .deps/libgpg_error_la-strsource.Tpo -c strsource.c  -fPIC -DPIC -o .libs/libgpg_error_la-strsource.o
mv -f .deps/libgpg_error_la-strsource.Tpo .deps/libgpg_error_la-strsource.Plo
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\"    -fPIC -MT libgpg_error_la-strerror.lo -MD -MP -MF .deps/libgpg_error_la-strerror.Tpo -c -o libgpg_error_la-strerror.lo `test -f 'strerror.c' || echo './'`strerror.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\" -fPIC -MT libgpg_error_la-strerror.lo -MD -MP -MF .deps/libgpg_error_la-strerror.Tpo -c strerror.c  -fPIC -DPIC -o .libs/libgpg_error_la-strerror.o
mv -f .deps/libgpg_error_la-strerror.Tpo .deps/libgpg_error_la-strerror.Plo
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\"    -fPIC -MT libgpg_error_la-code-to-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-to-errno.Tpo -c -o libgpg_error_la-code-to-errno.lo `test -f 'code-to-errno.c' || echo './'`code-to-errno.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\" -fPIC -MT libgpg_error_la-code-to-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-to-errno.Tpo -c code-to-errno.c  -fPIC -DPIC -o .libs/libgpg_error_la-code-to-errno.o
mv -f .deps/libgpg_error_la-code-to-errno.Tpo .deps/libgpg_error_la-code-to-errno.Plo
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\"    -fPIC -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-from-errno.Tpo -c -o libgpg_error_la-code-from-errno.lo `test -f 'code-from-errno.c' || echo './'`code-from-errno.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\" -fPIC -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-from-errno.Tpo -c code-from-errno.c  -fPIC -DPIC -o .libs/libgpg_error_la-code-from-errno.o
mv -f .deps/libgpg_error_la-code-from-errno.Tpo .deps/libgpg_error_la-code-from-errno.Plo
/bin/sh ../libtool --tag=CC   --mode=link mipsel-linux-uclibc-gcc  -fPIC -version-info 7:0:7    -o libgpg-error.la -rpath /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib  libgpg_error_la-init.lo libgpg_error_la-strsource.lo libgpg_error_la-strerror.lo libgpg_error_la-code-to-errno.lo libgpg_error_la-code-from-errno.lo   
libtool: link: mipsel-linux-uclibc-gcc -shared  .libs/libgpg_error_la-init.o .libs/libgpg_error_la-strsource.o .libs/libgpg_error_la-strerror.o .libs/libgpg_error_la-code-to-errno.o .libs/libgpg_error_la-code-from-errno.o      -Wl,-soname -Wl,libgpg-error.so.0 -o .libs/libgpg-error.so.0.7.0
libtool: link: (cd ".libs" && rm -f "libgpg-error.so.0" && ln -s "libgpg-error.so.0.7.0" "libgpg-error.so.0")
libtool: link: (cd ".libs" && rm -f "libgpg-error.so" && ln -s "libgpg-error.so.0.7.0" "libgpg-error.so")
libtool: link: ( cd ".libs" && rm -f "libgpg-error.la" && ln -s "../libgpg-error.la" "libgpg-error.la" )
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\"    -fPIC -MT gpg_error-strsource-sym.o -MD -MP -MF .deps/gpg_error-strsource-sym.Tpo -c -o gpg_error-strsource-sym.o `test -f 'strsource-sym.c' || echo './'`strsource-sym.c
mv -f .deps/gpg_error-strsource-sym.Tpo .deps/gpg_error-strsource-sym.Po
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\"    -fPIC -MT gpg_error-strerror-sym.o -MD -MP -MF .deps/gpg_error-strerror-sym.Tpo -c -o gpg_error-strerror-sym.o `test -f 'strerror-sym.c' || echo './'`strerror-sym.c
mv -f .deps/gpg_error-strerror-sym.Tpo .deps/gpg_error-strerror-sym.Po
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/locale\"    -fPIC -MT gpg_error-gpg-error.o -MD -MP -MF .deps/gpg_error-gpg-error.Tpo -c -o gpg_error-gpg-error.o `test -f 'gpg-error.c' || echo './'`gpg-error.c
mv -f .deps/gpg_error-gpg-error.Tpo .deps/gpg_error-gpg-error.Po
/bin/sh ../libtool --tag=CC   --mode=link mipsel-linux-uclibc-gcc  -fPIC   -o gpg-error gpg_error-strsource-sym.o gpg_error-strerror-sym.o gpg_error-gpg-error.o ./libgpg-error.la  
libtool: link: mipsel-linux-uclibc-gcc -fPIC -o .libs/gpg-error gpg_error-strsource-sym.o gpg_error-strerror-sym.o gpg_error-gpg-error.o  ./.libs/libgpg-error.so -Wl,-rpath -Wl,/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
Making all in tests
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I../src     -fPIC -MT t-strerror.o -MD -MP -MF .deps/t-strerror.Tpo -c -o t-strerror.o t-strerror.c
mv -f .deps/t-strerror.Tpo .deps/t-strerror.Po
/bin/sh ../libtool --tag=CC   --mode=link mipsel-linux-uclibc-gcc  -fPIC   -o t-strerror t-strerror.o ../src/libgpg-error.la 
libtool: link: mipsel-linux-uclibc-gcc -fPIC -o .libs/t-strerror t-strerror.o  ../src/.libs/libgpg-error.so -Wl,-rpath -Wl,/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I../src     -fPIC -MT t-syserror.o -MD -MP -MF .deps/t-syserror.Tpo -c -o t-syserror.o t-syserror.c
mv -f .deps/t-syserror.Tpo .deps/t-syserror.Po
/bin/sh ../libtool --tag=CC   --mode=link mipsel-linux-uclibc-gcc  -fPIC   -o t-syserror t-syserror.o ../src/libgpg-error.la 
libtool: link: mipsel-linux-uclibc-gcc -fPIC -o .libs/t-syserror t-syserror.o  ../src/.libs/libgpg-error.so -Wl,-rpath -Wl,/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
Making all in po
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/po'
Making all in lang
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
Making all in cl
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
echo '@errnos@' | cat ../../src/err-codes.h.in - ../../src/errnos.in \
        | gawk -f ./mkerrcodes.awk >gpg-error-codes.lisp
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ 



=======================make install 

zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ make install
Making install in m4
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
Making install in src
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make  install-am
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c  'libgpg-error.la' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib/libgpg-error.la'
libtool: install: /usr/bin/install -c .libs/libgpg-error.so.0.7.0 /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib/libgpg-error.so.0.7.0
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib && { ln -s -f libgpg-error.so.0.7.0 libgpg-error.so.0 || { rm -f libgpg-error.so.0 && ln -s libgpg-error.so.0.7.0 libgpg-error.so.0; }; })
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib && { ln -s -f libgpg-error.so.0.7.0 libgpg-error.so || { rm -f libgpg-error.so && ln -s libgpg-error.so.0.7.0 libgpg-error.so; }; })
libtool: install: /usr/bin/install -c .libs/libgpg-error.lai /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib/libgpg-error.la
libtool: finish: PATH="/opt/toolchains/stbgcc-4.5.3-1.3/bin:/usr/local/bin:/bin:/usr/bin:/sbin" ldconfig -n /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/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.
----------------------------------------------------------------------
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/bin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c 'gpg-error' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/bin/gpg-error'
libtool: install: /usr/bin/install -c .libs/gpg-error /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/bin/gpg-error
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/bin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/bin"
 /usr/bin/install -c 'gpg-error-config' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/bin/gpg-error-config'
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/include" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/include"
 /usr/bin/install -c -m 644 'gpg-error.h' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/include/gpg-error.h'
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/aclocal" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/aclocal"
 /usr/bin/install -c -m 644 'gpg-error.m4' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/aclocal/gpg-error.m4'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
Making install in tests
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
Making install in po
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/po'
if test "libgpg-error" = "gettext-tools"; then \
          /bin/mkdir -p /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/gettext/po; \
          for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed [email protected] [email protected] insert-header.sin Rules-quot   Makevars.template; do \
            /usr/bin/install -c -m 644 ./$file \
                            /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/gettext/po/$file; \
          done; \
          for file in Makevars; do \
            rm -f /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/gettext/po/$file; \
          done; \
        else \
          : ; \
        fi
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/po'
Making install in lang
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
Making install in cl
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/common-lisp/source/gpg-error" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/common-lisp/source/gpg-error"
 /usr/bin/install -c -m 644 'gpg-error.asd' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/common-lisp/source/gpg-error/gpg-error.asd'
 /usr/bin/install -c -m 644 'gpg-error-package.lisp' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/common-lisp/source/gpg-error/gpg-error-package.lisp'
 /usr/bin/install -c -m 644 'gpg-error.lisp' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/common-lisp/source/gpg-error/gpg-error.lisp'
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/common-lisp/source/gpg-error" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/common-lisp/source/gpg-error"
 /usr/bin/install -c -m 644 'gpg-error-codes.lisp' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/share/common-lisp/source/gpg-error/gpg-error-codes.lisp'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ 


===================在bcm7581平台上进行测试=================

# cd libgpg-error/
# ls
home              libgpg-error-1.9
# cd home
# ls
bin      include  lib      share
# cd bin
# ls
gpg-error         gpg-error-config
# ./gpg-error
./gpg-error: can't load library 'libgpg-error.so.0'
# cd ..
# ls
bin      include  lib      share
# CD LIB      
sh: CD: command not found
# cd lib
# pwd
/mnt/depvlc/libgpg-error/home/lib
# export LD_LIBRARY_PATH=/mnt/depvlc/libgpg-error/home/lib:$LD_LIBRARY_PATH
# echo $LD_LIBRARY_PATH

/mnt/depvlc/libgpg-error/home/lib:
# cd bin
sh: cd: bin: No such file or directory
# ls
libgpg-error.la        libgpg-error.so.0
libgpg-error.so        libgpg-error.so.0.7.0
# cd ..
# ls
bin      include  lib      share
# cd bin
# ls
gpg-error         gpg-error-config
# ./gpg-error
Usage: gpg-error GPG-ERROR [...]
# ./gpg-error 3
3 = (0, 3) = (GPG_ERR_SOURCE_UNKNOWN, GPG_ERR_UNKNOWN_VERSION) = (Unspecified source, Unknown version in packet)
# ./gpg-error 5 
5 = (0, 5) = (GPG_ERR_SOURCE_UNKNOWN, GPG_ERR_DIGEST_ALGO) = (Unspecified source, Invalid digest algorithm)
# ./gpg-error 6
6 = (0, 6) = (GPG_ERR_SOURCE_UNKNOWN, GPG_ERR_BAD_PUBKEY) = (Unspecified source, Bad public key)
# ./gpg-error-config 

Usage: gpg-error-config [OPTIONS]
Options:
        [--prefix]
        [--exec-prefix]
        [--version]
        [--libs]
        [--cflags]
# ./gpg-error-config --prefix
/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home
# ./gpg-error-config --version
1.9
# ./gpg-error-config --libs   
-L/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/lib -lgpg-error
# ./gpg-error-config --cflags
-I/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/home/include



========测试通过了。安装到dest

zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ source config_gpgerror_skmedia.sh
####################
A52_HOME IS /home/lbteam/zhangbin/bcm/unimedia/dest
####################
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
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... gawk
checking whether make sets $(MAKE)... yes
checking for mipsel-linux-uclibc-strip... mipsel-linux-uclibc-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-uclibc
configure: autobuild project... libgpg-error
configure: autobuild revision... 1.9
configure: autobuild hostname... bogon
configure: autobuild timestamp... 20131117-152429
checking for mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-linux-uclibc-gcc accepts -g... yes
checking for mipsel-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mipsel-linux-uclibc-gcc... gcc3
checking whether mipsel-linux-uclibc-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... mipsel-linux-uclibc-gcc -E
checking for gawk... (cached) gawk
checking for mipsel-linux-uclibc-ar... mipsel-linux-uclibc-ar
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mipsel-linux-uclibc-nm
checking the name lister (mipsel-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for mipsel-linux-uclibc-ld option to reload object files... -r
checking for mipsel-linux-uclibc-objdump... mipsel-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mipsel-linux-uclibc-ar... (cached) mipsel-linux-uclibc-ar
checking for mipsel-linux-uclibc-strip... (cached) mipsel-linux-uclibc-strip
checking for mipsel-linux-uclibc-ranlib... mipsel-linux-uclibc-ranlib
checking command to parse mipsel-linux-uclibc-nm output from mipsel-linux-uclibc-gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mipsel-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mipsel-linux-uclibc-gcc static flag -static works... yes
checking if mipsel-linux-uclibc-gcc supports -c -o file.o... yes
checking if mipsel-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mipsel-linux-uclibc-gcc linker (mipsel-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... no
checking for mipsel-linux-uclibc-windres... no
checking for windres... no
checking for cc for build... cc
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... no
checking whether to use NLS... no
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for strerror_r... (cached) yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating src/gpg-error-config
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating lang/Makefile
config.status: creating lang/cl/Makefile
config.status: creating lang/cl/gpg-error.asd
config.status: creating src/versioninfo.rc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile


        Libgpg-error v1.9 has been configured as follows:


        Platform:  mipsel-unknown-linux-uclibc




configure done ...
zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ make
make  all-recursive
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
Making all in m4
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
Making all in src
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
gawk -f ./mkstrtable.awk -v textidx=3 \
                ./err-sources.h.in >err-sources.h
gawk -f ./mkstrtable.awk -v textidx=3 \
                ./err-codes.h.in >err-codes.h
gawk -f ./mkerrnos.awk ./errnos.in >code-to-errno.h
gawk -f ./mkerrcodes1.awk ./errnos.in >_mkerrcodes.h
mipsel-linux-uclibc-gcc -E  _mkerrcodes.h | grep GPG_ERR_ | \
               gawk -f ./mkerrcodes.awk >mkerrcodes.h
rm _mkerrcodes.h
cc -I. -I. -o mkerrcodes ./mkerrcodes.c
./mkerrcodes | gawk -f ./mkerrcodes2.awk >code-from-errno.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
                ./err-sources.h.in >err-sources-sym.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
                ./err-codes.h.in >err-codes-sym.h
gawk -f ./mkstrtable.awk -v textidx=2 -v nogettext=1 \
                -v prefix=GPG_ERR_ -v namespace=errnos_ \
                ./errnos.in >errnos-sym.h
rm extra-h.in
echo EOF >>extra-h.in
gawk -f ./mkheader.awk \
                ./err-sources.h.in \
                ./err-codes.h.in \
                ./errnos.in \
                extra-h.in \
                ./gpg-error.h.in > gpg-error.h
cat ./gpg-error.def.in >_gpg-error.def.h
mipsel-linux-uclibc-gcc -E -I. -I..   _gpg-error.def.h | \
          grep -v '^#' >gpg-error.def
rm _gpg-error.def.h
make  all-am
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\"    -fPIC -MT libgpg_error_la-init.lo -MD -MP -MF .deps/libgpg_error_la-init.Tpo -c -o libgpg_error_la-init.lo `test -f 'init.c' || echo './'`init.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\" -fPIC -MT libgpg_error_la-init.lo -MD -MP -MF .deps/libgpg_error_la-init.Tpo -c init.c  -fPIC -DPIC -o .libs/libgpg_error_la-init.o
mv -f .deps/libgpg_error_la-init.Tpo .deps/libgpg_error_la-init.Plo
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\"    -fPIC -MT libgpg_error_la-strsource.lo -MD -MP -MF .deps/libgpg_error_la-strsource.Tpo -c -o libgpg_error_la-strsource.lo `test -f 'strsource.c' || echo './'`strsource.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\" -fPIC -MT libgpg_error_la-strsource.lo -MD -MP -MF .deps/libgpg_error_la-strsource.Tpo -c strsource.c  -fPIC -DPIC -o .libs/libgpg_error_la-strsource.o
mv -f .deps/libgpg_error_la-strsource.Tpo .deps/libgpg_error_la-strsource.Plo
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\"    -fPIC -MT libgpg_error_la-strerror.lo -MD -MP -MF .deps/libgpg_error_la-strerror.Tpo -c -o libgpg_error_la-strerror.lo `test -f 'strerror.c' || echo './'`strerror.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\" -fPIC -MT libgpg_error_la-strerror.lo -MD -MP -MF .deps/libgpg_error_la-strerror.Tpo -c strerror.c  -fPIC -DPIC -o .libs/libgpg_error_la-strerror.o
mv -f .deps/libgpg_error_la-strerror.Tpo .deps/libgpg_error_la-strerror.Plo
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\"    -fPIC -MT libgpg_error_la-code-to-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-to-errno.Tpo -c -o libgpg_error_la-code-to-errno.lo `test -f 'code-to-errno.c' || echo './'`code-to-errno.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\" -fPIC -MT libgpg_error_la-code-to-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-to-errno.Tpo -c code-to-errno.c  -fPIC -DPIC -o .libs/libgpg_error_la-code-to-errno.o
mv -f .deps/libgpg_error_la-code-to-errno.Tpo .deps/libgpg_error_la-code-to-errno.Plo
/bin/sh ../libtool --tag=CC   --mode=compile mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\"    -fPIC -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-from-errno.Tpo -c -o libgpg_error_la-code-from-errno.lo `test -f 'code-from-errno.c' || echo './'`code-from-errno.c
libtool: compile:  mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\" -fPIC -MT libgpg_error_la-code-from-errno.lo -MD -MP -MF .deps/libgpg_error_la-code-from-errno.Tpo -c code-from-errno.c  -fPIC -DPIC -o .libs/libgpg_error_la-code-from-errno.o
mv -f .deps/libgpg_error_la-code-from-errno.Tpo .deps/libgpg_error_la-code-from-errno.Plo
/bin/sh ../libtool --tag=CC   --mode=link mipsel-linux-uclibc-gcc  -fPIC -version-info 7:0:7    -o libgpg-error.la -rpath /home/lbteam/zhangbin/bcm/unimedia/dest/lib  libgpg_error_la-init.lo libgpg_error_la-strsource.lo libgpg_error_la-strerror.lo libgpg_error_la-code-to-errno.lo libgpg_error_la-code-from-errno.lo   
libtool: link: rm -fr  .libs/libgpg-error.la .libs/libgpg-error.lai .libs/libgpg-error.so .libs/libgpg-error.so.0 .libs/libgpg-error.so.0.7.0
libtool: link: mipsel-linux-uclibc-gcc -shared  .libs/libgpg_error_la-init.o .libs/libgpg_error_la-strsource.o .libs/libgpg_error_la-strerror.o .libs/libgpg_error_la-code-to-errno.o .libs/libgpg_error_la-code-from-errno.o      -Wl,-soname -Wl,libgpg-error.so.0 -o .libs/libgpg-error.so.0.7.0
libtool: link: (cd ".libs" && rm -f "libgpg-error.so.0" && ln -s "libgpg-error.so.0.7.0" "libgpg-error.so.0")
libtool: link: (cd ".libs" && rm -f "libgpg-error.so" && ln -s "libgpg-error.so.0.7.0" "libgpg-error.so")
libtool: link: ( cd ".libs" && rm -f "libgpg-error.la" && ln -s "../libgpg-error.la" "libgpg-error.la" )
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\"    -fPIC -MT gpg_error-strsource-sym.o -MD -MP -MF .deps/gpg_error-strsource-sym.Tpo -c -o gpg_error-strsource-sym.o `test -f 'strsource-sym.c' || echo './'`strsource-sym.c
mv -f .deps/gpg_error-strsource-sym.Tpo .deps/gpg_error-strsource-sym.Po
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\"    -fPIC -MT gpg_error-strerror-sym.o -MD -MP -MF .deps/gpg_error-strerror-sym.Tpo -c -o gpg_error-strerror-sym.o `test -f 'strerror-sym.c' || echo './'`strerror-sym.c
mv -f .deps/gpg_error-strerror-sym.Tpo .deps/gpg_error-strerror-sym.Po
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I..  -DLOCALEDIR=\"/home/lbteam/zhangbin/bcm/unimedia/dest/share/locale\"    -fPIC -MT gpg_error-gpg-error.o -MD -MP -MF .deps/gpg_error-gpg-error.Tpo -c -o gpg_error-gpg-error.o `test -f 'gpg-error.c' || echo './'`gpg-error.c
mv -f .deps/gpg_error-gpg-error.Tpo .deps/gpg_error-gpg-error.Po
/bin/sh ../libtool --tag=CC   --mode=link mipsel-linux-uclibc-gcc  -fPIC   -o gpg-error gpg_error-strsource-sym.o gpg_error-strerror-sym.o gpg_error-gpg-error.o ./libgpg-error.la  
libtool: link: mipsel-linux-uclibc-gcc -fPIC -o .libs/gpg-error gpg_error-strsource-sym.o gpg_error-strerror-sym.o gpg_error-gpg-error.o  ./.libs/libgpg-error.so -Wl,-rpath -Wl,/home/lbteam/zhangbin/bcm/unimedia/dest/lib
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
Making all in tests
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I../src     -fPIC -MT t-strerror.o -MD -MP -MF .deps/t-strerror.Tpo -c -o t-strerror.o t-strerror.c
mv -f .deps/t-strerror.Tpo .deps/t-strerror.Po
/bin/sh ../libtool --tag=CC   --mode=link mipsel-linux-uclibc-gcc  -fPIC   -o t-strerror t-strerror.o ../src/libgpg-error.la 
libtool: link: mipsel-linux-uclibc-gcc -fPIC -o .libs/t-strerror t-strerror.o  ../src/.libs/libgpg-error.so -Wl,-rpath -Wl,/home/lbteam/zhangbin/bcm/unimedia/dest/lib
mipsel-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I../src     -fPIC -MT t-syserror.o -MD -MP -MF .deps/t-syserror.Tpo -c -o t-syserror.o t-syserror.c
mv -f .deps/t-syserror.Tpo .deps/t-syserror.Po
/bin/sh ../libtool --tag=CC   --mode=link mipsel-linux-uclibc-gcc  -fPIC   -o t-syserror t-syserror.o ../src/libgpg-error.la 
libtool: link: mipsel-linux-uclibc-gcc -fPIC -o .libs/t-syserror t-syserror.o  ../src/.libs/libgpg-error.so -Wl,-rpath -Wl,/home/lbteam/zhangbin/bcm/unimedia/dest/lib
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
Making all in po
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/po'
Making all in lang
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
Making all in cl
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
echo '@errnos@' | cat ../../src/err-codes.h.in - ../../src/errnos.in \
        | gawk -f ./mkerrcodes.awk >gpg-error-codes.lisp
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ make install
Making install in m4
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/m4'
Making install in src
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make  install-am
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/lib" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c  'libgpg-error.la' '/home/lbteam/zhangbin/bcm/unimedia/dest/lib/libgpg-error.la'
libtool: install: /usr/bin/install -c .libs/libgpg-error.so.0.7.0 /home/lbteam/zhangbin/bcm/unimedia/dest/lib/libgpg-error.so.0.7.0
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/dest/lib && { ln -s -f libgpg-error.so.0.7.0 libgpg-error.so.0 || { rm -f libgpg-error.so.0 && ln -s libgpg-error.so.0.7.0 libgpg-error.so.0; }; })
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/dest/lib && { ln -s -f libgpg-error.so.0.7.0 libgpg-error.so || { rm -f libgpg-error.so && ln -s libgpg-error.so.0.7.0 libgpg-error.so; }; })
libtool: install: /usr/bin/install -c .libs/libgpg-error.lai /home/lbteam/zhangbin/bcm/unimedia/dest/lib/libgpg-error.la
libtool: finish: PATH="/opt/toolchains/stbgcc-4.5.3-1.3/bin:/usr/local/bin:/bin:/usr/bin:/sbin" ldconfig -n /home/lbteam/zhangbin/bcm/unimedia/dest/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/lbteam/zhangbin/bcm/unimedia/dest/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.
----------------------------------------------------------------------
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/bin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c 'gpg-error' '/home/lbteam/zhangbin/bcm/unimedia/dest/bin/gpg-error'
libtool: install: /usr/bin/install -c .libs/gpg-error /home/lbteam/zhangbin/bcm/unimedia/dest/bin/gpg-error
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/bin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/bin"
 /usr/bin/install -c 'gpg-error-config' '/home/lbteam/zhangbin/bcm/unimedia/dest/bin/gpg-error-config'
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/include" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/include"
 /usr/bin/install -c -m 644 'gpg-error.h' '/home/lbteam/zhangbin/bcm/unimedia/dest/include/gpg-error.h'
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/share/aclocal" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/share/aclocal"
 /usr/bin/install -c -m 644 'gpg-error.m4' '/home/lbteam/zhangbin/bcm/unimedia/dest/share/aclocal/gpg-error.m4'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/src'
Making install in tests
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/tests'
Making install in po
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/po'
if test "libgpg-error" = "gettext-tools"; then \
          /bin/mkdir -p /home/lbteam/zhangbin/bcm/unimedia/dest/share/gettext/po; \
          for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed [email protected] [email protected] insert-header.sin Rules-quot   Makevars.template; do \
            /usr/bin/install -c -m 644 ./$file \
                            /home/lbteam/zhangbin/bcm/unimedia/dest/share/gettext/po/$file; \
          done; \
          for file in Makevars; do \
            rm -f /home/lbteam/zhangbin/bcm/unimedia/dest/share/gettext/po/$file; \
          done; \
        else \
          : ; \
        fi
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/po'
Making install in lang
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
Making install in cl
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/share/common-lisp/source/gpg-error" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/share/common-lisp/source/gpg-error"
 /usr/bin/install -c -m 644 'gpg-error.asd' '/home/lbteam/zhangbin/bcm/unimedia/dest/share/common-lisp/source/gpg-error/gpg-error.asd'
 /usr/bin/install -c -m 644 'gpg-error-package.lisp' '/home/lbteam/zhangbin/bcm/unimedia/dest/share/common-lisp/source/gpg-error/gpg-error-package.lisp'
 /usr/bin/install -c -m 644 'gpg-error.lisp' '/home/lbteam/zhangbin/bcm/unimedia/dest/share/common-lisp/source/gpg-error/gpg-error.lisp'
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/share/common-lisp/source/gpg-error" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/share/common-lisp/source/gpg-error"
 /usr/bin/install -c -m 644 'gpg-error-codes.lisp' '/home/lbteam/zhangbin/bcm/unimedia/dest/share/common-lisp/source/gpg-error/gpg-error-codes.lisp'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang/cl'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9/lang'
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9'
zhangbin@bogon:~/bcm/unimedia/depvlc/libgpg-error/libgpg-error-1.9$ 


======================================继续编译ibgcrypt==========================================

重新configure


#!/bin/bash
#./configure --prefix=${SKMEDIA_ROOT} --host=${SKMEDIA_HOST} --prefix=${SKMEDIA_ROOT}

#DST=/home/lbteam/zhangbin/bcm/unimedia/depvlc/liba52/home
#DST=/home/lbteam/zhangbin/bcm/unimedia/depvlc/libdvbspi/home

DST=/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home
DST_ROOT=/home/lbteam/zhangbin/bcm/unimedia/dest

A52_HOME=$DST
echo "####################"
echo "A52_HOME IS $A52_HOME"
echo "####################"


HOST=mipsel-linux-uclibc
./configure --prefix=${A52_HOME} --host=$HOST --with-gpg-error-prefix=$DST_ROOT

echo "configure done ..."



================

zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ source config_gcrypt_skmedia.sh
####################
A52_HOME IS /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home
####################
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
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... gawk
checking whether make sets $(MAKE)... yes
checking for mipsel-linux-uclibc-strip... mipsel-linux-uclibc-strip
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-uclibc
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking for mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-linux-uclibc-gcc accepts -g... yes
checking for mipsel-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mipsel-linux-uclibc-gcc... gcc3
checking how to run the C preprocessor... mipsel-linux-uclibc-gcc -E
checking whether mipsel-linux-uclibc-gcc and cc understand -c and -o together... yes
checking dependency style of mipsel-linux-uclibc-gcc... gcc3
checking for library containing strerror... none required
checking for gawk... (cached) gawk
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by mipsel-linux-uclibc-gcc... mipsel-linux-uclibc-ld
checking if the linker (mipsel-linux-uclibc-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... mipsel-linux-uclibc-nm
checking the name lister (mipsel-linux-uclibc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 98304
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for mipsel-linux-uclibc-ld option to reload object files... -r
checking for mipsel-linux-uclibc-objdump... mipsel-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mipsel-linux-uclibc-ar... mipsel-linux-uclibc-ar
checking for mipsel-linux-uclibc-strip... (cached) mipsel-linux-uclibc-strip
checking for mipsel-linux-uclibc-ranlib... mipsel-linux-uclibc-ranlib
checking command to parse mipsel-linux-uclibc-nm output from mipsel-linux-uclibc-gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if mipsel-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for mipsel-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if mipsel-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if mipsel-linux-uclibc-gcc static flag -static works... yes
checking if mipsel-linux-uclibc-gcc supports -c -o file.o... yes
checking if mipsel-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the mipsel-linux-uclibc-gcc linker (mipsel-linux-uclibc-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
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... yes
checking whether to build static libraries... no
checking for mipsel-linux-uclibc-windres... no
checking for windres... no
checking whether byte ordering is bigendian... no
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 4
checking size of unsigned long long... 8
checking for uintptr_t... yes
checking which symmetric ciphers to include... arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia
checking which public-key ciphers to include... dsa elgamal rsa ecc
checking which message digests to include... crc md4 md5 rmd160 sha1 sha256 sha512 tiger whirlpool
checking which random module to use... default
checking whether use of /dev/random is requested... yes
checking whether the experimental random daemon is requested... no
checking whether MPI assembler modules are requested... yes
checking whether memory guard is requested... no
checking whether use of capabilities is requested... no
checking whether a HMAC binary check is requested... no
checking whether padlock support is requested... yes
checking whether AESNI support is requested... yes
checking whether a -O flag munging is requested... yes
checking for gpg-error-config... /home/lbteam/zhangbin/bcm/unimedia/dest/bin/gpg-error-config
checking for GPG Error - version >= 1.8... yes
checking for library containing setsockopt... none required
checking for library containing setsockopt... (cached) none required
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking return type of signal handlers... void
checking whether sys_siglist is declared... no
checking for pid_t... yes
checking for byte typedef... no
checking for ushort typedef... yes
checking for ulong typedef... yes
checking for u16 typedef... no
checking for u32 typedef... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for socklen_t... yes
checking whether the visibility attribute is supported... yes
checking for broken visibility attribute... no
checking for broken alias attribute... no
checking if gcc supports -fvisibility=hidden... yes
checking for vprintf... yes
checking for _doprnt... no
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strtoul... yes
checking for memmove... yes
checking for stricmp... no
checking for atexit... yes
checking for raise... yes
checking for strerror... yes
checking for rand... yes
checking for mmap... yes
checking for getpagesize... yes
checking for sysconf... yes
checking for waitpid... yes
checking for wait4... yes
checking for gettimeofday... yes
checking for getrusage... yes
checking for gethrtime... no
checking for clock_gettime... yes
checking for syslog... yes
checking for fcntl... yes
checking for ftruncate... yes
checking for mlock... yes
checking for sysconf... (cached) yes
checking for getpagesize... (cached) yes
checking whether mlock is broken... assuming no
checking for getpid... yes
checking for clock... yes
checking for random device... yes
checking for _ prefix in compiled symbols... yes
checking for mpi assembler functions... done
checking whether non excutable stack support is requested... yes
checking whether assembler supports --noexecstack option... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating compat/Makefile
config.status: creating mpi/Makefile
config.status: creating cipher/Makefile
config.status: creating random/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/gcrypt.h
config.status: creating src/libgcrypt-config
config.status: creating src/versioninfo.rc
config.status: creating tests/Makefile
config.status: creating config.h
config.status: linking mpi/generic/mpih-add1.c to mpi/mpih-add1.c
config.status: linking mpi/generic/mpih-sub1.c to mpi/mpih-sub1.c
config.status: linking mpi/generic/mpih-mul1.c to mpi/mpih-mul1.c
config.status: linking mpi/generic/mpih-mul2.c to mpi/mpih-mul2.c
config.status: linking mpi/generic/mpih-mul3.c to mpi/mpih-mul3.c
config.status: linking mpi/generic/mpih-lshift.c to mpi/mpih-lshift.c
config.status: linking mpi/generic/mpih-rshift.c to mpi/mpih-rshift.c
config.status: linking mpi/generic/mpi-asm-defs.h to mpi/mpi-asm-defs.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing gcrypt-conf commands


        Libgcrypt v1.5.0-beta1 has been configured as follows:


        Platform:                  GNU/Linux (mipsel-unknown-linux-uclibc)
        Enabled cipher algorithms: arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia
        Enabled digest algorithms: crc md4 md5 rmd160 sha1 sha256 sha512 tiger whirlpool
        Enabled pubkey algorithms: dsa elgamal rsa ecc
        Random number generator:   default
        Using linux capabilities:  no
        Try using Padlock crypto:  yes
        Try using AES-NI crypto:   yes


configure done ...
zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ 


=============================make install===================================================

zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ make install
Making install in compat
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/compat'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/compat'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/compat'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/compat'
Making install in mpi
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/mpi'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/mpi'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/mpi'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/mpi'
Making install in cipher
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/cipher'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/cipher'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/cipher'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/cipher'
Making install in random
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/random'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/random'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/random'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/random'
Making install in src
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/src'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/src'
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/lib" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c  'libgcrypt.la' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/lib/libgcrypt.la'
libtool: install: /usr/bin/install -c .libs/libgcrypt.so.11.7.0 /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/lib/libgcrypt.so.11.7.0
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/lib && { ln -s -f libgcrypt.so.11.7.0 libgcrypt.so.11 || { rm -f libgcrypt.so.11 && ln -s libgcrypt.so.11.7.0 libgcrypt.so.11; }; })
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/lib && { ln -s -f libgcrypt.so.11.7.0 libgcrypt.so || { rm -f libgcrypt.so && ln -s libgcrypt.so.11.7.0 libgcrypt.so; }; })
libtool: install: /usr/bin/install -c .libs/libgcrypt.lai /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/lib/libgcrypt.la
libtool: finish: PATH="/opt/toolchains/stbgcc-4.5.3-1.3/bin:/usr/local/bin:/bin:/usr/bin:/sbin" ldconfig -n /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/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.
----------------------------------------------------------------------
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/bin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c 'dumpsexp' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/bin/dumpsexp'
libtool: install: /usr/bin/install -c dumpsexp /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/bin/dumpsexp
  /bin/sh ../libtool   --mode=install /usr/bin/install -c 'hmac256' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/bin/hmac256'
libtool: install: /usr/bin/install -c hmac256 /home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/bin/hmac256
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/bin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/bin"
 /usr/bin/install -c 'libgcrypt-config' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/bin/libgcrypt-config'
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/sbin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/sbin"
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/include" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/include"
 /usr/bin/install -c -m 644 'gcrypt.h' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/include/gcrypt.h'
 /usr/bin/install -c -m 644 'gcrypt-module.h' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/include/gcrypt-module.h'
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/share/aclocal" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/share/aclocal"
 /usr/bin/install -c -m 644 'libgcrypt.m4' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/share/aclocal/libgcrypt.m4'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/src'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/src'
Making install in doc
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make  install-am
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/share/info" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/share/info"
 /usr/bin/install -c -m 644 './gcrypt.info' '/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/home/share/info/gcrypt.info'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
Making install in tests
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/tests'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/tests'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/tests'
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1'
zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ 

==================================测试下 bcm7581平台===============




# ls 
gpg-error         gpg-error-config
# cd ..
# ls
bin      include  lib      share
# cd ..
# ls
home              libgpg-error-1.9
# cd ..
# ls
liba52                libgpg-error          setbcm7581env.sh
libdvbspi             libz                  setbcm7581env.sh.bak
libgcrypt             live555
# cd libgcrypt/
# ls
home                     libgcrypt-1.5.0-beta1    libgcrypt-1.5.3.tar.bz2
# cd home
# ls
bin      include  lib      sbin     share
# cd bib
sh: cd: bib: No such file or directory
# cd bin
# ls
dumpsexp          hmac256           libgcrypt-config
# ./dumpsexp 
^C
# ./dumpsexp  --help
dumpsexp (Libgcrypt) 1.5.0-beta1
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Usage: dumpsexp [OPTIONS] [file]
Debug tool for S-expressions


  --decimal     Print offsets using decimal notation
  --assume-hex  Assume input is a hex dump
  --advanced    Print file in advanced format
  --verbose     Show what we are doing
  --version     Print version of the program and exit
  --help        Display this help and exit


Report bugs to .
# ./dumpsexp 200    
dumpsexp: can't open `200': No such file or directory



# ./hmac256 
usage: hmac256 [--binary] key [filename]
# ./hmac256 200 1.txt
hmac256: can't open `1.txt': No such file or directory
# touch 1.txt
# ./hmac256 200 1.txt
1978028573dfff434fef45421fa816e08e950e8e5b042d6f2046bc1a7c7928fa  1.txt
# cat 1.txt
# touce 2.txt
sh: touce: command not found
# touch 2.txt   
# ./hmac256 200 2.txt   
1978028573dfff434fef45421fa816e08e950e8e5b042d6f2046bc1a7c7928fa  2.txt
# touce 3.sh
sh: touce: command not found
# touch 3.sh 
# ./hmac256 200 3.sh  
1978028573dfff434fef45421fa816e08e950e8e5b042d6f2046bc1a7c7928fa  3.sh

# ./libgcrypt-config 
Usage: ./libgcrypt-config [OPTIONS]
Options:
        [--prefix]
        [--exec-prefix]
        [--version]
        [--api-version]
        [--libs]
        [--cflags]
        [--algorithms]
# ./libgcrypt-config --algorithms
Symmetric cipher algorithms: arcfour blowfish cast5 des aes twofish serpent rfc2268 seed camellia
Public-key cipher algorithms: dsa elgamal rsa ecc

Message digest algorithms: crc md4 md5 rmd160 sha1 sha256 sha512 tiger whirlpool

=========================================重新安装到dest


zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ 
zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ 
zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ make install
Making install in compat
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/compat'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/compat'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/compat'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/compat'
Making install in mpi
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/mpi'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/mpi'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/mpi'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/mpi'
Making install in cipher
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/cipher'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/cipher'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/cipher'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/cipher'
Making install in random
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/random'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/random'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/random'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/random'
Making install in src
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/src'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/src'
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/lib" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c  'libgcrypt.la' '/home/lbteam/zhangbin/bcm/unimedia/dest/lib/libgcrypt.la'
libtool: install: /usr/bin/install -c .libs/libgcrypt.so.11.7.0 /home/lbteam/zhangbin/bcm/unimedia/dest/lib/libgcrypt.so.11.7.0
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/dest/lib && { ln -s -f libgcrypt.so.11.7.0 libgcrypt.so.11 || { rm -f libgcrypt.so.11 && ln -s libgcrypt.so.11.7.0 libgcrypt.so.11; }; })
libtool: install: (cd /home/lbteam/zhangbin/bcm/unimedia/dest/lib && { ln -s -f libgcrypt.so.11.7.0 libgcrypt.so || { rm -f libgcrypt.so && ln -s libgcrypt.so.11.7.0 libgcrypt.so; }; })
libtool: install: /usr/bin/install -c .libs/libgcrypt.lai /home/lbteam/zhangbin/bcm/unimedia/dest/lib/libgcrypt.la
libtool: finish: PATH="/opt/toolchains/stbgcc-4.5.3-1.3/bin:/usr/local/bin:/bin:/usr/bin:/sbin" ldconfig -n /home/lbteam/zhangbin/bcm/unimedia/dest/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/lbteam/zhangbin/bcm/unimedia/dest/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.
----------------------------------------------------------------------
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/bin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c 'dumpsexp' '/home/lbteam/zhangbin/bcm/unimedia/dest/bin/dumpsexp'
libtool: install: /usr/bin/install -c dumpsexp /home/lbteam/zhangbin/bcm/unimedia/dest/bin/dumpsexp
  /bin/sh ../libtool   --mode=install /usr/bin/install -c 'hmac256' '/home/lbteam/zhangbin/bcm/unimedia/dest/bin/hmac256'
libtool: install: /usr/bin/install -c hmac256 /home/lbteam/zhangbin/bcm/unimedia/dest/bin/hmac256
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/bin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/bin"
 /usr/bin/install -c 'libgcrypt-config' '/home/lbteam/zhangbin/bcm/unimedia/dest/bin/libgcrypt-config'
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/sbin" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/sbin"
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/include" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/include"
 /usr/bin/install -c -m 644 'gcrypt.h' '/home/lbteam/zhangbin/bcm/unimedia/dest/include/gcrypt.h'
 /usr/bin/install -c -m 644 'gcrypt-module.h' '/home/lbteam/zhangbin/bcm/unimedia/dest/include/gcrypt-module.h'
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/share/aclocal" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/share/aclocal"
 /usr/bin/install -c -m 644 'libgcrypt.m4' '/home/lbteam/zhangbin/bcm/unimedia/dest/share/aclocal/libgcrypt.m4'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/src'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/src'
Making install in doc
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make  install-am
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make[3]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/home/lbteam/zhangbin/bcm/unimedia/dest/share/info" || /bin/mkdir -p "/home/lbteam/zhangbin/bcm/unimedia/dest/share/info"
 /usr/bin/install -c -m 644 './gcrypt.info' '/home/lbteam/zhangbin/bcm/unimedia/dest/share/info/gcrypt.info'
make[3]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/doc'
Making install in tests
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/tests'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/tests'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1/tests'
make[1]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1'
make[2]: Entering directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1'
make[1]: Leaving directory `/home/lbteam/zhangbin/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1'
zhangbin@bogon:~/bcm/unimedia/depvlc/libgcrypt/libgcrypt-1.5.0-beta1$ 


你可能感兴趣的:(嵌入式系统及开发)