Re: [dev] checking whether the C compiler works... configure: error: cannot run C compiled programs.
On Tue, 2008-08-05 at 11:57 +0800, JiangChuang wrote: 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 - See `config.log' for more details. dmake: Error code 1, while making 'unxlngr.pro/misc/build/so_configured_so_libxml2' ---* tg_merge.mk *--- 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: ~] I'm not really familiar with the scratchbox environment nor with your own environment to know what *should* happen, but these all look like generic errors, and not specific to OOo at all. You need to check the config.log in libxml2/unxlngr.pro/... and see the invocation of gcc used there, and see exactly why it failed to create a a.out that ran. And Maybe you are trying to run a compiler of a wrong architecture? looks like something to check out. Does even hello world work in this env ? With scratchbox (though, I don't know if anyone has even built OOo with scratchbox before, so this may be an ambitious build) if I understand correctly, the x86 hosted cross-compiler (as gcc) should create arm output, but any arm binaries executed from the scratchbox environment should get run magically by qemu so that executing them works fine. C. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [dev] checking whether the C compiler works... configure: error: cannot run C compiled programs.
JiangChuang wrote: 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/ It might also help just to use an up to date version of libxml2, we are using 2.6.17 from January 2005, current version is 2.6.36 from April this year. The current version might offer better support for your platform. Martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[dev] checking whether the C compiler works... configure: error: cannot run C compiled programs.
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]