最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】Cygwin下用arm-xscale-linux-gnueabi交叉编译log4c出错:libtool: line 1326: xxx/bin/arm-xscale-linux-gnueabi-gcc: Bad address

Embedded crifan 2432浏览 0评论

【问题】

折腾:

【记录】Cygwin下用arm-xscale-linux-gnueabi交叉编译log4c

虽然已经解决了:

【已解决】Cygwin下用arm-xscale-linux-gnueabi交叉编译log4c出错:domnode-expat.c:51:19: fatal error: expat.h: No such file or directory

但是又出现如下的,貌似相关的问题:

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ make
make  all-recursive
make[1]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1'
Making all in config
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
Making all in src
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
make  all-recursive
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Making all in sd
make[4]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src       -g -O2 -Wall -MT domnode-expat.lo -MD -MP -MF .deps/domnode-expat.Tpo -c -o domnode-expat.lo domnode-expat.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -g -O2 -Wall -MT domnode-expat.lo -MD -MP -MF .deps/domnode-expat.Tpo -c domnode-expat.c  -fPIC -DPIC -o .libs/domnode-expat.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -g -O2 -Wall -MT domnode-expat.lo -MD -MP -MF .deps/domnode-expat.Tpo -c domnode-expat.c -o domnode-expat.o >/dev/null 2>&1
mv -f .deps/domnode-expat.Tpo .deps/domnode-expat.Plo
mv: cannot stat `.deps/domnode-expat.Tpo': No such file or directory
Makefile:318: recipe for target `domnode-expat.lo' failed
make[4]: *** [domnode-expat.lo] Error 1
make[4]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
Makefile:277: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Makefile:197: recipe for target `all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Makefile:338: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1'
Makefile:226: recipe for target `all' failed
make: *** [all] Error 2

即:

../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address

【解决过程】

1.先去make clean:

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ make clean
Making clean in examples
make[1]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/examples'
Making clean in helloworld1
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/examples/helloworld1'
rm -rf .libs _libs
 rm -f helloworld1 helloworld1
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/examples/helloworld1'
Making clean in helloworld
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/examples/helloworld'
rm -rf .libs _libs
 rm -f helloworld helloworld
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/examples/helloworld'
Making clean in .
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/examples'
rm -rf .libs _libs
test -z "liblog4c_examples.la liblog4c_userloc.la" || rm -f liblog4c_examples.la liblog4c_userloc.la
rm -f "./so_locations"
rm -f "./so_locations"
 rm -f application_1 application_1
 rm -f application_2 application_2
 rm -f application_3 application_3
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/examples'
make[1]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/examples'
Making clean in src
make[1]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Making clean in log4c
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/log4c'
test -z "liblog4c.la" || rm -f liblog4c.la
rm -f "./so_locations"
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/log4c'
Making clean in sd
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
rm -rf .libs _libs
test -z "liblog4c_sd.la" || rm -f liblog4c_sd.la
rm -f "./so_locations"
rm -f *.o
rm -f *.lo
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
Making clean in .
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
make[1]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Making clean in config
make[1]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
Making clean in .
make[1]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1'

再去make试试,结果还是类似问题:

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ make
make  all-recursive
make[1]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1'
Making all in config
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
Making all in src
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
make  all-recursive
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Making all in sd
make[4]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src       -g -O2 -Wall -MT stack.lo -MD -MP -MF .deps/stack.Tpo -c -o stack.lo stack.c
mkdir .libs
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -g -O2 -Wall -MT stack.lo -MD -MP -MF .deps/stack.Tpo -c stack.c  -fPIC -DPIC -o .libs/stack.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -g -O2 -Wall -MT stack.lo -MD -MP -MF .deps/stack.Tpo -c stack.c -o stack.o >/dev/null 2>&1
mv -f .deps/stack.Tpo .deps/stack.Plo
mv: cannot stat `.deps/stack.Tpo': No such file or directory
Makefile:318: recipe for target `stack.lo' failed
make[4]: *** [stack.lo] Error 1
make[4]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
Makefile:277: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Makefile:197: recipe for target `all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Makefile:338: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1'
Makefile:226: recipe for target `all' failed
make: *** [all] Error 2

2.参考:

log4c交叉编译问题解决及简单应用

重新去make clean,然后重新配置,加上–with-expat-prefix参数:

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ ./configure --prefix=$HOME/develop/crosstool-ng/x-tools/armxscalelog4c --build=i686-pc-cygwin --target=arm-xscale-linux-gnueabi --host=arm-xscale-linux-gnueabi --with-expat-prefix=$HOME/develop/crosstool-ng/x-tools/armxscaleexpat CC=arm-xscale-linux-gnueabi-gcc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-xscale-linux-gnueabi-strip... arm-xscale-linux-gnueabi-strip
checking build system type... i686-pc-cygwin
checking host system type... arm-xscale-linux-gnueabi
checking for bison... bison -y
checking for arm-xscale-linux-gnueabi-gcc... arm-xscale-linux-gnueabi-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 arm-xscale-linux-gnueabi-gcc accepts -g... yes
checking for arm-xscale-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-xscale-linux-gnueabi-gcc... none
checking how to run the C preprocessor... arm-xscale-linux-gnueabi-gcc -E
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for arm-xscale-linux-gnueabi-ranlib... arm-xscale-linux-gnueabi-ranlib
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by arm-xscale-linux-gnueabi-gcc... /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe
checking if the linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) is GNU ld... yes
checking for /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe option to reload object files... -r
checking for BSD-compatible nm... /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-nm -B
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for arm-xscale-linux-gnueabi-g++... arm-xscale-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-xscale-linux-gnueabi-g++ accepts -g... yes
checking dependency style of arm-xscale-linux-gnueabi-g++... none
checking how to run the C++ preprocessor... arm-xscale-linux-gnueabi-g++ -E
checking for arm-xscale-linux-gnueabi-g77... no
checking for arm-xscale-linux-gnueabi-xlf... no
checking for arm-xscale-linux-gnueabi-f77... no
checking for arm-xscale-linux-gnueabi-frt... no
checking for arm-xscale-linux-gnueabi-pgf77... no
checking for arm-xscale-linux-gnueabi-cf77... no
checking for arm-xscale-linux-gnueabi-fort77... no
checking for arm-xscale-linux-gnueabi-fl32... no
checking for arm-xscale-linux-gnueabi-af77... no
checking for arm-xscale-linux-gnueabi-xlf90... no
checking for arm-xscale-linux-gnueabi-f90... no
checking for arm-xscale-linux-gnueabi-pgf90... no
checking for arm-xscale-linux-gnueabi-pghpf... no
checking for arm-xscale-linux-gnueabi-epcf90... no
checking for arm-xscale-linux-gnueabi-gfortran... no
checking for arm-xscale-linux-gnueabi-g95... no
checking for arm-xscale-linux-gnueabi-xlf95... no
checking for arm-xscale-linux-gnueabi-f95... no
checking for arm-xscale-linux-gnueabi-fort... no
checking for arm-xscale-linux-gnueabi-ifort... no
checking for arm-xscale-linux-gnueabi-ifc... no
checking for arm-xscale-linux-gnueabi-efc... no
checking for arm-xscale-linux-gnueabi-pgf95... no
checking for arm-xscale-linux-gnueabi-lf95... no
checking for arm-xscale-linux-gnueabi-ftn... no
checking for g77... g77
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to [email protected].
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-nm -B output from arm-xscale-linux-gnueabi-gcc object... ok
checking for objdir... .libs
checking for arm-xscale-linux-gnueabi-ar... arm-xscale-linux-gnueabi-ar
checking for arm-xscale-linux-gnueabi-ranlib... (cached) arm-xscale-linux-gnueabi-ranlib
checking for arm-xscale-linux-gnueabi-strip... (cached) arm-xscale-linux-gnueabi-strip
checking for correct ltmain.sh version... yes
checking if arm-xscale-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-xscale-linux-gnueabi-gcc option to produce PIC... -fPIC
checking if arm-xscale-linux-gnueabi-gcc PIC flag -fPIC works... yes
checking if arm-xscale-linux-gnueabi-gcc static flag -static works... yes
checking if arm-xscale-linux-gnueabi-gcc supports -c -o file.o... yes
checking whether the arm-xscale-linux-gnueabi-gcc linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) 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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by arm-xscale-linux-gnueabi-g++... /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe
checking if the linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) is GNU ld... yes
checking whether the arm-xscale-linux-gnueabi-g++ linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) supports shared libraries... yes
checking for arm-xscale-linux-gnueabi-g++ option to produce PIC... -fPIC
checking if arm-xscale-linux-gnueabi-g++ PIC flag -fPIC works... yes
checking if arm-xscale-linux-gnueabi-g++ static flag -static works... yes
checking if arm-xscale-linux-gnueabi-g++ supports -c -o file.o... yes
checking whether the arm-xscale-linux-gnueabi-g++ linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... no
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_mutex_init in -lpthread... yes
configure: Compile with rollingfile code
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for pthread.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking whether utime accepts a null argument... no
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for memset... yes
checking for munmap... yes
checking for nl_langinfo... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for utime... yes
checking for sbrk... yes
checking for doxygen... /usr/bin/doxygen
checking for dot... no
checking for latex... /usr/bin/latex
checking for EXPAT - version >= 1.95.1... cross compiling; assumed OK...
yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating log4c-config
config.status: creating log4crc.sample
config.status: creating log4c.spec
config.status: creating config/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/main.doc
config.status: creating src/Makefile
config.status: creating src/log4c/Makefile
config.status: creating src/log4c/version.h
config.status: creating src/sd/Makefile
config.status: creating tests/Makefile
config.status: creating tests/log4c/Makefile
config.status: creating examples/Makefile
config.status: creating examples/log4crc
config.status: creating examples/helloworld/Makefile
config.status: creating examples/helloworld1/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$

 

3.再去make试试,结果一堆的Bad address,但是却可以继续编译:

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ make
make  all-recursive
make[1]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1'
Making all in config
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
Making all in src
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
make  all-recursive
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Making all in sd
make[4]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
source='stack.c' object='stack.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o stack.lo stack.c
mkdir .libs
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c stack.c  -fPIC -DPIC -o .libs/stack.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c stack.c -o stack.o >/dev/null 2>&1
source='list.c' object='list.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o list.lo list.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c list.c  -fPIC -DPIC -o .libs/list.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c list.c -o list.o >/dev/null 2>&1
source='malloc.c' object='malloc.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o malloc.lo malloc.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c malloc.c  -fPIC -DPIC -o .libs/malloc.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c malloc.c -o malloc.o >/dev/null 2>&1
source='factory.c' object='factory.lo' libtool=yes \

 

4.虽然有Bad address,但是可以编译完成:

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ make
make  all-recursive
make[1]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1'
Making all in config
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
Making all in src
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
make  all-recursive
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Making all in sd
make[4]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
source='stack.c' object='stack.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o stack.lo stack.c
mkdir .libs
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c stack.c  -fPIC -DPIC -o .libs/stack.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c stack.c -o stack.o >/dev/null 2>&1
source='list.c' object='list.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o list.lo list.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c list.c  -fPIC -DPIC -o .libs/list.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c list.c -o list.o >/dev/null 2>&1
source='malloc.c' object='malloc.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o malloc.lo malloc.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c malloc.c  -fPIC -DPIC -o .libs/malloc.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c malloc.c -o malloc.o >/dev/null 2>&1
source='factory.c' object='factory.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o factory.lo factory.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c factory.c  -fPIC -DPIC -o .libs/factory.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c factory.c -o factory.o >/dev/null 2>&1
source='hash.c' object='hash.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o hash.lo hash.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c hash.c  -fPIC -DPIC -o .libs/hash.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c hash.c -o hash.o >/dev/null 2>&1
source='sprintf.c' object='sprintf.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o sprintf.lo sprintf.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c sprintf.c  -fPIC -DPIC -o .libs/sprintf.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c sprintf.c -o sprintf.o >/dev/null 2>&1
source='test.c' object='test.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o test.lo test.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c test.c  -fPIC -DPIC -o .libs/test.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c test.c -o test.o >/dev/null 2>&1
source='sd_xplatform.c' object='sd_xplatform.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o sd_xplatform.lo sd_xplatform.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c sd_xplatform.c  -fPIC -DPIC -o .libs/sd_xplatform.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c sd_xplatform.c -o sd_xplatform.o >/dev/null 2>&1
source='error.c' object='error.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o error.lo error.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c error.c  -fPIC -DPIC -o .libs/error.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c error.c -o error.o >/dev/null 2>&1
source='domnode-expat.c' object='domnode-expat.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o domnode-expat.lo domnode-expat.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c domnode-expat.c  -fPIC -DPIC -o .libs/domnode-expat.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c domnode-expat.c -o domnode-expat.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC    --mode=link arm-xscale-linux-gnueabi-gcc  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall  -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -lexpat -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -o liblog4c_sd.la  stack.lo list.lo malloc.lo factory.lo  hash.lo sprintf.lo test.lo sd_xplatform.lo error.lo  domnode-expat.lo   -lpthread
arm-xscale-linux-gnueabi-ar cru .libs/liblog4c_sd.a .libs/stack.o .libs/list.o .libs/malloc.o .libs/factory.o .libs/hash.o .libs/sprintf.o .libs/test.o .libs/sd_xplatform.o .libs/error.o .libs/domnode-expat.o
../../libtool: line 5963: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ar: Bad address
arm-xscale-linux-gnueabi-ranlib .libs/liblog4c_sd.a
../../libtool: line 5963: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ranlib: Bad address
creating liblog4c_sd.la
(cd .libs && rm -f liblog4c_sd.la && ln -s ../liblog4c_sd.la liblog4c_sd.la)
make[4]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
Making all in log4c
make[4]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/log4c'
source='rc.c' object='rc.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o rc.lo rc.c
mkdir .libs
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c rc.c  -fPIC -DPIC -o .libs/rc.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c rc.c -o rc.o >/dev/null 2>&1
source='init.c' object='init.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o init.lo init.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c init.c  -fPIC -DPIC -o .libs/init.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c init.c -o init.o >/dev/null 2>&1
source='appender_type_stream.c' object='appender_type_stream.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o appender_type_stream.lo appender_type_stream.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_stream.c  -fPIC -DPIC -o .libs/appender_type_stream.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_stream.c -o appender_type_stream.o >/dev/null 2>&1
source='appender_type_stream2.c' object='appender_type_stream2.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o appender_type_stream2.lo appender_type_stream2.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_stream2.c  -fPIC -DPIC -o .libs/appender_type_stream2.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_stream2.c -o appender_type_stream2.o >/dev/null 2>&1
source='appender_type_syslog.c' object='appender_type_syslog.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o appender_type_syslog.lo appender_type_syslog.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_syslog.c  -fPIC -DPIC -o .libs/appender_type_syslog.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_syslog.c -o appender_type_syslog.o >/dev/null 2>&1
source='appender_type_mmap.c' object='appender_type_mmap.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o appender_type_mmap.lo appender_type_mmap.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_mmap.c  -fPIC -DPIC -o .libs/appender_type_mmap.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_mmap.c -o appender_type_mmap.o >/dev/null 2>&1
source='layout_type_basic.c' object='layout_type_basic.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o layout_type_basic.lo layout_type_basic.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout_type_basic.c  -fPIC -DPIC -o .libs/layout_type_basic.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout_type_basic.c -o layout_type_basic.o >/dev/null 2>&1
source='layout_type_dated.c' object='layout_type_dated.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o layout_type_dated.lo layout_type_dated.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout_type_dated.c  -fPIC -DPIC -o .libs/layout_type_dated.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout_type_dated.c -o layout_type_dated.o >/dev/null 2>&1
source='layout_type_basic_r.c' object='layout_type_basic_r.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o layout_type_basic_r.lo layout_type_basic_r.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout_type_basic_r.c  -fPIC -DPIC -o .libs/layout_type_basic_r.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout_type_basic_r.c -o layout_type_basic_r.o >/dev/null 2>&1
source='layout_type_dated_r.c' object='layout_type_dated_r.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o layout_type_dated_r.lo layout_type_dated_r.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout_type_dated_r.c  -fPIC -DPIC -o .libs/layout_type_dated_r.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout_type_dated_r.c -o layout_type_dated_r.o >/dev/null 2>&1
source='version.c' object='version.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o version.lo version.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c version.c  -fPIC -DPIC -o .libs/version.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c version.c -o version.o >/dev/null 2>&1
source='logging_event.c' object='logging_event.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o logging_event.lo logging_event.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c logging_event.c  -fPIC -DPIC -o .libs/logging_event.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c logging_event.c -o logging_event.o >/dev/null 2>&1
source='priority.c' object='priority.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o priority.lo priority.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c priority.c  -fPIC -DPIC -o .libs/priority.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c priority.c -o priority.o >/dev/null 2>&1
source='appender.c' object='appender.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o appender.lo appender.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender.c  -fPIC -DPIC -o .libs/appender.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender.c -o appender.o >/dev/null 2>&1
source='layout.c' object='layout.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o layout.lo layout.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout.c  -fPIC -DPIC -o .libs/layout.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c layout.c -o layout.o >/dev/null 2>&1
source='category.c' object='category.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o category.lo category.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c category.c  -fPIC -DPIC -o .libs/category.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c category.c -o category.o >/dev/null 2>&1
source='appender_type_rollingfile.c' object='appender_type_rollingfile.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o appender_type_rollingfile.lo appender_type_rollingfile.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_rollingfile.c  -fPIC -DPIC -o .libs/appender_type_rollingfile.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c appender_type_rollingfile.c -o appender_type_rollingfile.o >/dev/null 2>&1
source='rollingpolicy.c' object='rollingpolicy.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o rollingpolicy.lo rollingpolicy.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c rollingpolicy.c  -fPIC -DPIC -o .libs/rollingpolicy.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c rollingpolicy.c -o rollingpolicy.o >/dev/null 2>&1
source='rollingpolicy_type_sizewin.c' object='rollingpolicy_type_sizewin.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
/bin/sh ../../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src  -DLOG4C_RCPATH="\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\""     -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o rollingpolicy_type_sizewin.lo rollingpolicy_type_sizewin.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c rollingpolicy_type_sizewin.c  -fPIC -DPIC -o .libs/rollingpolicy_type_sizewin.o
../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DLOG4C_RCPATH=\"/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/etc\" -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c rollingpolicy_type_sizewin.c -o rollingpolicy_type_sizewin.o >/dev/null 2>&1
/bin/sh ../../libtool --tag=CC    --mode=link arm-xscale-linux-gnueabi-gcc  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall  -version-info 4:0:1 -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -o liblog4c.la -rpath /home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib rc.lo init.lo appender_type_stream.lo  appender_type_stream2.lo appender_type_syslog.lo  appender_type_mmap.lo layout_type_basic.lo  layout_type_dated.lo layout_type_basic_r.lo  layout_type_dated_r.lo version.lo logging_event.lo priority.lo  appender.lo layout.lo category.lo appender_type_rollingfile.lo  rollingpolicy.lo  rollingpolicy_type_sizewin.lo ../sd/liblog4c_sd.la -lpthread
arm-xscale-linux-gnueabi-gcc -shared  .libs/rc.o .libs/init.o .libs/appender_type_stream.o .libs/appender_type_stream2.o .libs/appender_type_syslog.o .libs/appender_type_mmap.o .libs/layout_type_basic.o .libs/layout_type_dated.o .libs/layout_type_basic_r.o .libs/layout_type_dated_r.o .libs/version.o .libs/logging_event.o .libs/priority.o .libs/appender.o .libs/layout.o .libs/category.o .libs/appender_type_rollingfile.o .libs/rollingpolicy.o .libs/rollingpolicy_type_sizewin.o -Wl,--whole-archive ../sd/.libs/liblog4c_sd.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib /home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib/libexpat.so -lpthread  -Wl,-soname -Wl,liblog4c.so.3 -o .libs/liblog4c.so.3.1.0
../../libtool: line 4553: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
(cd .libs && rm -f liblog4c.so.3 && ln -s liblog4c.so.3.1.0 liblog4c.so.3)
(cd .libs && rm -f liblog4c.so && ln -s liblog4c.so.3.1.0 liblog4c.so)
rm -fr .libs/liblog4c.lax
mkdir .libs/liblog4c.lax
rm -fr .libs/liblog4c.lax/liblog4c_sd.a
mkdir .libs/liblog4c.lax/liblog4c_sd.a
(cd .libs/liblog4c.lax/liblog4c_sd.a && arm-xscale-linux-gnueabi-ar x /home/CLi/develop/log4c/log4c-1.2.1/src/log4c/../sd/.libs/liblog4c_sd.a)
../../libtool: line 691: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ar: Bad address
../../libtool: line 692: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ar: Bad address
arm-xscale-linux-gnueabi-ar cru .libs/liblog4c.a  rc.o init.o appender_type_stream.o appender_type_stream2.o appender_type_syslog.o appender_type_mmap.o layout_type_basic.o layout_type_dated.o layout_type_basic_r.o layout_type_dated_r.o version.o logging_event.o priority.o appender.o layout.o category.o appender_type_rollingfile.o rollingpolicy.o rollingpolicy_type_sizewin.o
../../libtool: line 5963: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ar: Bad address
arm-xscale-linux-gnueabi-ranlib .libs/liblog4c.a
../../libtool: line 5963: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ranlib: Bad address
rm -fr .libs/liblog4c.lax
creating liblog4c.la
(cd .libs && rm -f liblog4c.la && ln -s ../liblog4c.la liblog4c.la)
make[4]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/log4c'
make[4]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
make[4]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
make[3]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Making all in examples
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/examples'
Making all in helloworld
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/examples/helloworld'
source='helloworld.c' object='helloworld.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src  -I../../src    -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c helloworld.c
helloworld.c: In function 'main':
helloworld.c:6:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
/bin/sh ../../libtool --tag=CC    --mode=link arm-xscale-linux-gnueabi-gcc  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall   -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -o helloworld helloworld.o ../../src/log4c/liblog4c.la -lpthread
mkdir .libs
arm-xscale-linux-gnueabi-gcc -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -o .libs/helloworld helloworld.o  -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib ../../src/log4c/.libs/liblog4c.so /home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib/libexpat.so -lpthread -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib
../../libtool: line 5234: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
creating helloworld
make[3]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/examples/helloworld'
Making all in helloworld1
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/examples/helloworld1'
source='helloworld1.c' object='helloworld1.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../../config/depcomp \
arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../src  -I../../src    -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c helloworld1.c
/bin/sh ../../libtool --tag=CC    --mode=link arm-xscale-linux-gnueabi-gcc  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall   -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -o helloworld1 helloworld1.o ../../src/log4c/liblog4c.la -lpthread
mkdir .libs
arm-xscale-linux-gnueabi-gcc -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -o .libs/helloworld1 helloworld1.o  -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib ../../src/log4c/.libs/liblog4c.so /home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib/libexpat.so -lpthread -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib
../../libtool: line 5234: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
creating helloworld1
make[3]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/examples/helloworld1'
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/examples'
source='example_formatters.c' object='example_formatters.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../config/depcomp \
/bin/sh ../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src   -I../src   -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o example_formatters.lo example_formatters.c
mkdir .libs
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c example_formatters.c  -fPIC -DPIC -o .libs/example_formatters.o
../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c example_formatters.c -o example_formatters.o >/dev/null 2>&1
source='example_appenders.c' object='example_appenders.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../config/depcomp \
/bin/sh ../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src   -I../src   -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o example_appenders.lo example_appenders.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c example_appenders.c  -fPIC -DPIC -o .libs/example_appenders.o
../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c example_appenders.c -o example_appenders.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC    --mode=link arm-xscale-linux-gnueabi-gcc  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall   -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -o liblog4c_examples.la  example_formatters.lo  example_appenders.lo  -lpthread
arm-xscale-linux-gnueabi-ar cru .libs/liblog4c_examples.a .libs/example_formatters.o .libs/example_appenders.o
../libtool: line 5963: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ar: Bad address
arm-xscale-linux-gnueabi-ranlib .libs/liblog4c_examples.a
../libtool: line 5963: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ranlib: Bad address
creating liblog4c_examples.la
(cd .libs && rm -f liblog4c_examples.la && ln -s ../liblog4c_examples.la liblog4c_examples.la)
source='userloc_formatter.c' object='userloc_formatter.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ../config/depcomp \
/bin/sh ../libtool --tag=CC    --mode=compile arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src   -I../src   -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c -o userloc_formatter.lo userloc_formatter.c
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c userloc_formatter.c  -fPIC -DPIC -o .libs/userloc_formatter.o
../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
 arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c userloc_formatter.c -o userloc_formatter.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC    --mode=link arm-xscale-linux-gnueabi-gcc  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall   -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -o liblog4c_userloc.la  userloc_formatter.lo  -lpthread
arm-xscale-linux-gnueabi-ar cru .libs/liblog4c_userloc.a .libs/userloc_formatter.o
../libtool: line 5963: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ar: Bad address
arm-xscale-linux-gnueabi-ranlib .libs/liblog4c_userloc.a
../libtool: line 5963: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-ranlib: Bad address
creating liblog4c_userloc.la
(cd .libs && rm -f liblog4c_userloc.la && ln -s ../liblog4c_userloc.la liblog4c_userloc.la)
source='application_1.c' object='application_1.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../config/depcomp \
arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src  -I../src    -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c application_1.c
/bin/sh ../libtool --tag=CC    --mode=link arm-xscale-linux-gnueabi-gcc  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall   -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -o application_1 application_1.o ../src/log4c/liblog4c.la -lpthread
arm-xscale-linux-gnueabi-gcc -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -o .libs/application_1 application_1.o  -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib ../src/log4c/.libs/liblog4c.so /home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib/libexpat.so -lpthread -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib
../libtool: line 5234: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
creating application_1
source='application_2.c' object='application_2.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../config/depcomp \
arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src  -I../src    -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c application_2.c
/bin/sh ../libtool --tag=CC    --mode=link arm-xscale-linux-gnueabi-gcc  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall   -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -o application_2 application_2.o liblog4c_examples.la  ../src/log4c/liblog4c.la -lpthread
arm-xscale-linux-gnueabi-gcc -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -o .libs/application_2 application_2.o  -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib ./.libs/liblog4c_examples.a ../src/log4c/.libs/liblog4c.so /home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib/libexpat.so -lpthread -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib
../libtool: line 5234: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
creating application_2
source='application_3.c' object='application_3.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../config/depcomp \
arm-xscale-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src  -I../src    -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -c application_3.c
/bin/sh ../libtool --tag=CC    --mode=link arm-xscale-linux-gnueabi-gcc  -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall   -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib -o application_3 application_3.o liblog4c_userloc.la  liblog4c_examples.la  ../src/log4c/liblog4c.la -lpthread
arm-xscale-linux-gnueabi-gcc -I/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/include -Wall -o .libs/application_3 application_3.o  -L/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib ./.libs/liblog4c_userloc.a ./.libs/liblog4c_examples.a ../src/log4c/.libs/liblog4c.so /home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib/libexpat.so -lpthread -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib -Wl,--rpath -Wl,/home/CLi/develop/crosstool-ng/x-tools/armxscaleexpat/lib
../libtool: line 5234: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address
creating application_3
make[3]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/examples'
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/examples'
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1'
make[1]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1'

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$

5.再去安装,结果出错:

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ make install
make  install-recursive
make[1]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1'
Making install in config
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
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/CLi/develop/log4c/log4c-1.2.1/config'
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/config'
Making install in src
make[2]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Making install in sd
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
make[4]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
make[3]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/sd'
Making install in log4c
make[3]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/log4c'
make[4]: Entering directory `/home/CLi/develop/log4c/log4c-1.2.1/src/log4c'
test -z "/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib" || /usr/bin/mkdir -p "/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib"
 /bin/sh ../../libtool --mode=install /usr/bin/install -c  'liblog4c.la' '/home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib/liblog4c.la'
/usr/bin/install -c .libs/liblog4c.so.3.1.0 /home/CLi/develop/crosstool-ng/x-tools/armxscalelog4c/lib/liblog4c.so.3.1.0
/usr/bin/install: cannot stat `.libs/liblog4c.so.3.1.0': No such file or directory
Makefile:295: recipe for target `install-libLTLIBRARIES' failed
make[4]: *** [install-libLTLIBRARIES] Error 1
make[4]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/log4c'
Makefile:481: recipe for target `install-am' failed
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src/log4c'
Makefile:277: recipe for target `install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1/src'
Makefile:338: recipe for target `install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/CLi/develop/log4c/log4c-1.2.1'
Makefile:614: recipe for target `install' failed
make: *** [install] Error 2

即:

/usr/bin/install: cannot stat `.libs/liblog4c.so.3.1.0′: No such file or directory

说明对应的liblog4c.so.3.1.0,没有正常生成。

7.看来,还是需要去解决上面的bad address的问题。

再去make clean一下。

重启cygwin,确保当前没有多余的,之前导出的export变量:

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ echo $PATH
/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin:/opt/crosstool-ng/bin:/home/CLi/develop/crosstool-ng/x-tools/armxscalecurl/bin:/usr/local/bin:/usr/bin:/cygdrive/d/tmp/dev_install_root/Python27_x64:/cygdrive/d/tmp/dev_install_root/Python27_x64/Lib/site-packages/PyQt4:/cygdrive/d/tmp/dev_install_root/Perl64/site/bin:/cygdrive/d/tmp/dev_install_root/Perl64/bin:/cygdrive/c/Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files (x86)/Microsoft SQL Server/100/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/100/Tools/Binn:/cygdrive/c/Program Files/Microsoft SQL Server/100/DTS/Binn:/cygdrive/d/tmp/WordPress/mysql/mysql-5.5.18/MySQL/MySQL Server 5.5/bin:/cygdrive/d/tmp/WordPress/DevRoot/MySQL/MySQL Server 5.5/bin:/cygdrive/d/tmp/WordPress/DevRoot/php-5.3.6-Win32-VC9-x64:/cygdrive/d/tmp/WordPress/DevRoot/php-5.3.6-Win32-VC9-x64/ext:/cygdrive/d/tmp/WordPress/DevRoot/Python27:/cygdrive/c/Program Files (x86)/Common Files/Acronis/SnapAPI:/cygdrive/c/Program Files (x86)/Windows Live/Shared:/cygdrive/c/Program Files/Java/jdk1.7.0_11/bin:/home/CLi/develop/docbook/tools/fop/lib:/home/CLi/develop/docbook/tools/fop:/cygdrive/d/DevInstallRoot/FF/DD_IDE_1.1.2/TOK/BIN:/cygdrive/d/DevInstallRoot/FF/DD_IDE_1.2.0/TOK/BIN:/cygdrive/d/DevRoot/EmbeddedDevelop/trunk/Research/CLI/FF/FBK/develop/tools/develop-tools:/cygdrive/d/tmp/WordPress/DevRoot/Python27/Scripts:/cygdrive/d/tmp/dev_install_root/PostgreSQL/8.3/bin:/cygdrive/d/tmp/dev_install_root/ant/apache-ant-1.8.4/bin:/cygdrive/c/Program Files/nodejs:/cygdrive/c/Program Files/Microsoft/Web Platform Installer:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/d/DevRoot/IndustrialMobileAutomation/HandheldDataSetter/ANTLR/batchFile:/cygdrive/c/Program Files (x86)/QuickTime/QTSystem:/cygdrive/d/tmp/tmp_dev_root/android/adt-bundle-windows/sdk/platform-tools:/cygdrive/d/tmp/dev_install_root/Tesseract-OCR:/cygdrive/d/tmp/dev_install_root/jython2.5.3/bin:/cygdrive/d/devinstallroot/gnuarm/bin:/cygdrive/d/tmp/dev_install_root/HTML Help Workshop:/cygdrive/c/Users/CLi/AppData/Roaming/npm:/usr/lib/lapack

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ echo $LDFLAGS


CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ echo $CFLAGS


CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$

重新去配置:

 ./configure --prefix=$HOME/develop/crosstool-ng/x-tools/armxscalelog4c --build=i686-pc-cygwin --target=arm-xscale-linux-gnueabi --host=arm-xscale-linux-gnueabi --with-expat-prefix=$HOME/develop/crosstool-ng/x-tools/armxscaleexpat CC=arm-xscale-linux-gnueabi-gcc
CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$ ./configure --prefix=$HOME/develop/crosstool-ng/x-tools/armxscalelog4c --build=i686-pc-cygwin --target=arm-xscale-linux-gnueabi --host=arm-xscale-linux-gnueabi --with-expat-prefix=$HOME/develop/crosstool-ng/x-tools/armxscaleexpat CC=arm-xscale-linux-gnueabi-gcc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-xscale-linux-gnueabi-strip... arm-xscale-linux-gnueabi-strip
checking build system type... i686-pc-cygwin
checking host system type... arm-xscale-linux-gnueabi
checking for bison... bison -y
checking for arm-xscale-linux-gnueabi-gcc... arm-xscale-linux-gnueabi-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 arm-xscale-linux-gnueabi-gcc accepts -g... yes
checking for arm-xscale-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of arm-xscale-linux-gnueabi-gcc... gcc3
checking how to run the C preprocessor... arm-xscale-linux-gnueabi-gcc -E
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for arm-xscale-linux-gnueabi-ranlib... arm-xscale-linux-gnueabi-ranlib
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by arm-xscale-linux-gnueabi-gcc... /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe
checking if the linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) is GNU ld... yes
checking for /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe option to reload object files... -r
checking for BSD-compatible nm... /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-nm -B
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for arm-xscale-linux-gnueabi-g++... arm-xscale-linux-gnueabi-g++
checking whether we are using the GNU C++ compiler... yes
checking whether arm-xscale-linux-gnueabi-g++ accepts -g... yes
checking dependency style of arm-xscale-linux-gnueabi-g++... gcc3
checking how to run the C++ preprocessor... arm-xscale-linux-gnueabi-g++ -E
checking for arm-xscale-linux-gnueabi-g77... no
checking for arm-xscale-linux-gnueabi-xlf... no
checking for arm-xscale-linux-gnueabi-f77... no
checking for arm-xscale-linux-gnueabi-frt... no
checking for arm-xscale-linux-gnueabi-pgf77... no
checking for arm-xscale-linux-gnueabi-cf77... no
checking for arm-xscale-linux-gnueabi-fort77... no
checking for arm-xscale-linux-gnueabi-fl32... no
checking for arm-xscale-linux-gnueabi-af77... no
checking for arm-xscale-linux-gnueabi-xlf90... no
checking for arm-xscale-linux-gnueabi-f90... no
checking for arm-xscale-linux-gnueabi-pgf90... no
checking for arm-xscale-linux-gnueabi-pghpf... no
checking for arm-xscale-linux-gnueabi-epcf90... no
checking for arm-xscale-linux-gnueabi-gfortran... no
checking for arm-xscale-linux-gnueabi-g95... no
checking for arm-xscale-linux-gnueabi-xlf95... no
checking for arm-xscale-linux-gnueabi-f95... no
checking for arm-xscale-linux-gnueabi-fort... no
checking for arm-xscale-linux-gnueabi-ifort... no
checking for arm-xscale-linux-gnueabi-ifc... no
checking for arm-xscale-linux-gnueabi-efc... no
checking for arm-xscale-linux-gnueabi-pgf95... no
checking for arm-xscale-linux-gnueabi-lf95... no
checking for arm-xscale-linux-gnueabi-ftn... no
checking for g77... g77
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to [email protected].
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 8192
checking command to parse /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-nm -B output from arm-xscale-linux-gnueabi-gcc object... ok
checking for objdir... .libs
checking for arm-xscale-linux-gnueabi-ar... arm-xscale-linux-gnueabi-ar
checking for arm-xscale-linux-gnueabi-ranlib... (cached) arm-xscale-linux-gnueabi-ranlib
checking for arm-xscale-linux-gnueabi-strip... (cached) arm-xscale-linux-gnueabi-strip
checking for correct ltmain.sh version... yes
checking if arm-xscale-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-xscale-linux-gnueabi-gcc option to produce PIC... -fPIC
checking if arm-xscale-linux-gnueabi-gcc PIC flag -fPIC works... yes
checking if arm-xscale-linux-gnueabi-gcc static flag -static works... yes
checking if arm-xscale-linux-gnueabi-gcc supports -c -o file.o... yes
checking whether the arm-xscale-linux-gnueabi-gcc linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) 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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by arm-xscale-linux-gnueabi-g++... /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe
checking if the linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) is GNU ld... yes
checking whether the arm-xscale-linux-gnueabi-g++ linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) supports shared libraries... yes
checking for arm-xscale-linux-gnueabi-g++ option to produce PIC... -fPIC
checking if arm-xscale-linux-gnueabi-g++ PIC flag -fPIC works... yes
checking if arm-xscale-linux-gnueabi-g++ static flag -static works... yes
checking if arm-xscale-linux-gnueabi-g++ supports -c -o file.o... yes
checking whether the arm-xscale-linux-gnueabi-g++ linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... no
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/arm-xscale-linux-gnueabi/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_mutex_init in -lpthread... yes
configure: Compile with rollingfile code
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for pthread.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking whether utime accepts a null argument... no
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for memset... yes
checking for munmap... yes
checking for nl_langinfo... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for utime... yes
checking for sbrk... yes
checking for doxygen... /usr/bin/doxygen
checking for dot... no
checking for latex... /usr/bin/latex
checking for EXPAT - version >= 1.95.1... cross compiling; assumed OK...
yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating log4c-config
config.status: creating log4crc.sample
config.status: creating log4c.spec
config.status: creating config/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating doc/main.doc
config.status: creating src/Makefile
config.status: creating src/log4c/Makefile
config.status: creating src/log4c/version.h
config.status: creating src/sd/Makefile
config.status: creating tests/Makefile
config.status: creating tests/log4c/Makefile
config.status: creating examples/Makefile
config.status: creating examples/log4crc
config.status: creating examples/helloworld/Makefile
config.status: creating examples/helloworld1/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing default commands

CLi@PC-CLI-1 ~/develop/log4c/log4c-1.2.1
$

再去编译,终于可以正常编译了,也没了bad address了。

 

 

【总结】

至此,真正的解决此问题了:

当出现

../../libtool: line 1326: /home/CLi/develop/crosstool-ng/x-tools/arm-xscale-linux-gnueabi/bin/arm-xscale-linux-gnueabi-gcc: Bad address

时,此处的原因是:

不知道之前的那个参数配置,以及export的环境变量,而导致不知情况的异常,而导致gcc等工具出行bad address,而当:

彻底的make clean后 -> 确保之前没有残余任何东西

重启cygwin->确保之前export的一些变量,不会影响

重新配置,加上对应的–with-expat-prefix的参数:

./configure --prefix=$HOME/develop/crosstool-ng/x-tools/armxscalelog4c --build=i686-pc-cygwin --target=arm-xscale-linux-gnueabi --host=arm-xscale-linux-gnueabi --with-expat-prefix=$HOME/develop/crosstool-ng/x-tools/armxscaleexpat CC=arm-xscale-linux-gnueabi-gcc

然后再继续make,终于可以:

正常的编译了。


之后,会出现,意料中的:

【已解决】Cygwin下用arm-xscale-linux-gnueabi交叉编译log4c出错:../../src/log4c/.libs/liblog4c.so: undefined reference to ‘rpl_malloc’

转载请注明:在路上 » 【已解决】Cygwin下用arm-xscale-linux-gnueabi交叉编译log4c出错:libtool: line 1326: xxx/bin/arm-xscale-linux-gnueabi-gcc: Bad address

与本文相关的文章

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
81 queries in 0.209 seconds, using 22.48MB memory