W3C home > Mailing lists > Public > www-lib@w3.org > October to December 2005

cross compile error

From: v m <venkat_mca52@rediffmail.com>
Date: 6 Oct 2005 05:53:59 -0000
Message-ID: <20051006055359.13115.qmail@webmail18.rediffmail.com>
To: www-lib@w3c.org

hi , i am new to this group 
 i am compiling libwww for arm-elf target.. I have given the following configure options and i am getting the following errors .

CC=/Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc ./configure --host=i686-pc-linux-gnu --target=arm-elf --prefix=/Mozilla/spa/armutils/toolchain
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... arm-unknown-elf
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) /Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc
checking whether the C compiler (/Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc  ) works... yes
checking whether the C compiler (/Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc  ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking whether /Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc accepts -g.... (cached) yes
checking for POSIXized ISC... no
checking for Cygwin environment... (cached) no
(cached) no
checking for executable suffix... (cached) no
checking for ranlib... (cached) ranlib
checking for ld used by GCC... (cached) /Mozilla/spa/armutils_2.5.87.1/toolchain/arm-elf/bin/ld
checking if the linker (/Mozilla/spa/armutils_2.5.87.1/toolchain/arm-elf/bin/ld) is GNU ld... (cached) yes
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... (cached) no
checking for /Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc option to produce PIC... -fPIC
checking if /Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc PIC flag -fPIC works... yes
checking if /Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc supports -c -o file.o... yes
checking if /Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc supports -c -o file.lo... yes
checking if /Mozilla/spa/armutils_2.5.87.1/toolchain/bin/arm-elf-gcc supports -fno-rtti -fno-exceptions ... yeschecking if /Mozilla/spa/armutils_2..5.87.1/toolchain/bin/arm-elf-gcc static flag -static works... -static
checking if the linker (/Mozilla/spa/armutils_2.5.87.1/toolchain/arm-elf/bin/ld) is GNU ld... yes
checking whether the linker (/Mozilla/spa/armutils_2..5.87.1/toolchain/arm-elf/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /Mozilla/spa/armutils_2.5.87.1/toolchain/arm-elf/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes

  and some processing and gives the following error
  

 checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking type of array argument to getgroups... gid_t
checking for mode_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for BOOLEAN... no
checking for u_char... yes
checking for u_short... yes
checking for u_long... yes
checking size of char... configure: error: can not run test program while cross compiling



please help me to get out of this error.
Received on Friday, 7 October 2005 02:54:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:56 UTC