Dear everyone,
I'm building OpenOffice.org(OOH680_m12) for the platform of ARM on
the ScratchBox environment. I've got the following error message:
/home/arm/ooo_OOH680_m12_src/libxml2
-------------
mkdir ./unxlngr.pro/misc/build/libxml2-2.6.17/
/scratchbox/tools/bin/mkdir: cannot create directory
`./unxlngr.pro/misc/build/libxml2-2.6.17/': File exists
cd ./unxlngr.pro/misc/build/libxml2-2.6.17/ && ./configure
--enable-ipv6=no --without-python --enable-static=no
--with-sax1=yes ADDCFLAGS="" CFLAGS=""
LDFLAGS="-Wl,-z,noexecstack " && touch so_configured_so_libxml2
checking build system type... arm-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking for a BSD-compatible install...
/scratchbox/tools/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error:
cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
dmake: Error code 1, while making
'unxlngr.pro/misc/build/so_configured_so_libxml2'
---* tg_merge.mk *---
ERROR: Error 65280 occurred while making
/home/arm/ooo_OOH680_m12_src/libxml2
Could you give me any advice? TIA.
By the way, the environment value are as follows:
[sbox-DIABLO_ARMEL: ~] > echo $PATH
.:/home/arm/ooo_OOH680_m12_src/solver/680/unxlngr.pro/bin:/home/arm/ooo_OOH680_m12_src/solenv/unxlngr/bin:/home/arm/ooo_OOH680_m12_src/solenv/bin:/home/arm/ooo_OOH680_m12_src/solver/680/unxlngr.pro/bin:/home/arm/ooo_OOH680_m12_src/solenv/unxlngr/bin:/home/arm/ooo_OOH680_m12_src/solenv/bin:/scratchbox/devkits/cputransp/bin:/scratchbox/devkits/maemo3-tools/bin:/scratchbox/devkits/debian-etch/bin:/scratchbox/devkits/perl/bin:/scratchbox/tools/bin:/targets/links/arch_tools/bin:/host_usr/bin:/scratchbox/compilers/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/sbin:/usr/sbin:NO_JAVA_HOME/bin:NO_JAVA_HOME/bin
[sbox-DIABLO_ARMEL: ~] > which gcc
/scratchbox/compilers/bin/gcc
[sbox-DIABLO_ARMEL: ~] > which g++
/scratchbox/compilers/bin/g++
[sbox-DIABLO_ARMEL: ~] > which cc
/scratchbox/compilers/bin/cc
[sbox-DIABLO_ARMEL: ~] > ls /scratchbox/compilers/bin/gcc -l
lrwxrwxrwx 1 root root 14 Aug 1 03:31
/scratchbox/compilers/bin/gcc -> sb_gcc_wrapper
[sbox-DIABLO_ARMEL: ~] > ls /scratchbox/compilers/bin/cc -l
lrwxrwxrwx 1 root root 14 Aug 1 03:31
/scratchbox/compilers/bin/cc -> sb_gcc_wrapper
[sbox-DIABLO_ARMEL: ~] > ls /scratchbox/compilers/bin/g++ -l
lrwxrwxrwx 1 root root 14 Aug 1 03:31
/scratchbox/compilers/bin/g++ -> sb_gcc_wrapper
[sbox-DIABLO_ARMEL: ~] > which sb_gcc_wrapper
/scratchbox/compilers/bin/sb_gcc_wrapper
[sbox-DIABLO_ARMEL: ~] > ls -l
/scratchbox/compilers/bin/sb_gcc_wrapper
-rwxr-xr-x 1 root root 42024 May 23 07:19
/scratchbox/compilers/bin/sb_gcc_wrapper
[sbox-DIABLO_ARMEL: ~] > gcc
sbox-arm-linux-gcc: no input files
[sbox-DIABLO_ARMEL: ~] > cc
sbox-arm-linux-cc: no input files
[sbox-DIABLO_ARMEL: ~] > g++
sbox-arm-linux-g++: no input files
[sbox-DIABLO_ARMEL: ~] > sb_gcc_wrapper
sb_gcc_wrapper (sb_gcc_wrapper): sb_gcc_wrapper cannot be recognized
Maybe you are trying to run a compiler of a wrong architecture?
[sbox-DIABLO_ARMEL: ~] >
Best Regards.
Chuangjiang
--
Chuangjiang/¿¿
Beijing RedFlag Chinese 2000 Software CO., LTD.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]