Cross compile dbus in mips platform

hamdi Srihi hamdi_gl4 at hotmail.com
Thu Nov 8 07:09:00 PST 2007


this is the result of cross compilation:
i try ./configure --host mips-linux
and this is the output:
checking build system type... i686-redhat-linux-gnu
checking host system type... mips-unknown-linux-gnu
checking target system type... mips-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-linux-strip... mips-linux-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for mips-linux-gcc... mips-linux-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 mips-linux-gcc accepts -g... yes
checking for mips-linux-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of mips-linux-gcc... gcc3
checking for mips-linux-g++... mips-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether mips-linux-g++ accepts -g... yes
checking dependency style of mips-linux-g++... gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... mips-linux-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether mips-linux-gcc supports "-Wfloat-equals"... yes
checking whether mips-linux-gcc supports "-Wdeclaration-after-statement"... yes
checking whether mips-linux-gcc supports "-fno-common"... yes
checking whether mips-linux-gcc supports "-fPIC"... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by mips-linux-gcc... /usr/local/openrg2_6/mips-linux-uclibc/mips-linux-uclibc/bin/ld
checking if the linker (/usr/local/openrg2_6/mips-linux-uclibc/mips-linux-uclibc/bin/ld) is GNU ld... yes
checking for /usr/local/openrg2_6/mips-linux-uclibc/mips-linux-uclibc/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/openrg2_6/mips-linux-uclibc/bin/mips-linux-nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 how to run the C++ preprocessor... mips-linux-g++ -E
checking for mips-linux-g77... no
checking for mips-linux-f77... no
checking for mips-linux-xlf... no
checking for mips-linux-frt... no
checking for mips-linux-pgf77... no
checking for mips-linux-fort77... no
checking for mips-linux-fl32... no
checking for mips-linux-af77... no
checking for mips-linux-f90... no
checking for mips-linux-xlf90... no
checking for mips-linux-pgf90... no
checking for mips-linux-epcf90... no
checking for mips-linux-f95... no
checking for mips-linux-fort... no
checking for mips-linux-xlf95... no
checking for mips-linux-ifc... no
checking for mips-linux-efc... no
checking for mips-linux-pgf95... no
checking for mips-linux-lf95... no
checking for mips-linux-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/local/openrg2_6/mips-linux-uclibc/bin/mips-linux-nm -B output from mips-linux-gcc object... ok
checking for objdir... .libs
checking for mips-linux-ar... mips-linux-ar
checking for mips-linux-ranlib... mips-linux-ranlib
checking for mips-linux-strip... (cached) mips-linux-strip
checking if mips-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-linux-gcc option to produce PIC... -fPIC
checking if mips-linux-gcc PIC flag -fPIC works... yes
checking if mips-linux-gcc static flag -static works... yes
checking if mips-linux-gcc supports -c -o file.o... yes
checking whether the mips-linux-gcc linker (/usr/local/openrg2_6/mips-linux-uclibc/mips-linux-uclibc/bin/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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by mips-linux-g++... /usr/local/openrg2_6/mips-linux-uclibc/mips-linux-uclibc/bin/ld
checking if the linker (/usr/local/openrg2_6/mips-linux-uclibc/mips-linux-uclibc/bin/ld) is GNU ld... yes
checking whether the mips-linux-g++ linker (/usr/local/openrg2_6/mips-linux-uclibc/mips-linux-uclibc/bin/ld) supports shared libraries... yes
checking for mips-linux-g++ option to produce PIC... -fPIC
checking if mips-linux-g++ PIC flag -fPIC works... yes
checking if mips-linux-g++ static flag -static works... yes
checking if mips-linux-g++ supports -c -o file.o... yes
checking whether the mips-linux-g++ linker (/usr/local/openrg2_6/mips-linux-uclibc/mips-linux-uclibc/bin/ld) 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 for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for void *... yes
checking size of void *... 4
checking for long long... yes
checking size of long long... 8
checking for __int64... no
checking size of __int64... 0
checking 64-bit integer type... long long
checking 32-bit integer type... int
checking 16-bit integer type... short
checking whether byte ordering is bigendian... yes
checking for an implementation of va_copy()... yes
checking for an implementation of __va_copy()... yes
checking whether va_lists can be copied by value... yes
checking whether to use inline assembler routines for atomic integers... no
checking for socket in -lsocket... no
checking for gethostbyname... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for nanosleep... yes
checking for usleep... yes
checking for poll... yes
checking for setenv... yes
checking for unsetenv... yes
checking for socketpair... yes
checking for getgrouplist... no
checking for fpathconf... yes
checking for dirfd... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for posix getpwnam_r... yes
checking whether socklen_t is defined... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for writev... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking for ISO C99 varargs macros in C... yes
checking for GNUC varargs macros... yes
checking for struct cmsgcred... no
checking for getpeerucred... no
checking for getpeereid... no
checking abstract socket namespace... configure : error :cannot run test program while cross compiling see `config.log' for more details.

any idea how to resolve this??





_________________________________________________________________
Lancez des recherches en toute sécurité depuis n'importe quelle page Web. Téléchargez GRATUITEMENT Windows Live Toolbar aujourd'hui !
http://toolbar.live.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20071108/bb739ac8/attachment.html 


More information about the dbus mailing list