Claudio Scordino wrote:

SCRATCHBOX 2

On Scratchbox2, instead, if I type

sb2-init test /usr/local/LxNETES-2.3/arm-elf/bin/arm-elf-gcc

I obtain

[...]
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

If I look at ~/.scratchbox2/libtool_build/config.log I read

gcc version 2.95.3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)
configure:2849: $? = 0
configure:2856: gcc -V >&5
arm-elf-gcc: invalid version number format
configure:2859: $? = 1
configure:2882: checking for C compiler default output file name
configure:2909: gcc    conftest.c  >&5
cc1: Invalid option `-Wno-poison-system-directories'
configure:2912: $? = 1
configure:2950: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "1.5.26"
| #define PACKAGE_STRING "libtool 1.5.26"
| #define PACKAGE_BUGREPORT "[EMAIL PROTECTED]"
| #define PACKAGE "libtool"
| #define VERSION "1.5.26"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2957: error: C compiler cannot create executables
See `config.log' for more details.
Hello,

it's kinda a shot in the blue, but I had a very similar problem that SB2 failed to execute arm-binaries through qemu. Assuming that the compiler and qemu is setup correctly (it creates binaries that you can run with qemu) you may try to replace the line in the sb2.config which says

export SBOX_CPUTRANSPARENCY_METHOD="qemu-arm"

with something that contains the whole path to the qemu-arm binary, for me this was

export SBOX_CPUTRANSPARENCY_METHOD="/usr/bin/qemu-arm"

This fixed the problem for me.

Jan
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to