[Buildroot] Cannot build TinyX

Dimitry Golubovsky golubovsky at gmail.com
Fri Sep 28 11:31:24 UTC 2007


Hi,

When building TinyX, the process stops at the attempt to run the imake
executable built by the toolchain's compiler.

The executable has format that Linux cannot run:

[dima at bldroot buildroot]$ file build_i686/xc-011010/config/imake/imake
build_i686/xc-011010/config/imake/imake: ELF 32-bit LSB executable,
Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs),
not stripped
[dima at bldroot buildroot]$ build_i686/xc-011010/config/imake/imake
-bash: build_i686/xc-011010/config/imake/imake: No such file or directory
[dima at bldroot buildroot]$ ldd build_i686/xc-011010/config/imake/imake
/usr/bin/ldd: line 124: build_i686/xc-011010/config/imake/imake: No
such file or directory

For comparison, the host's make looks like this:

[dima at bldroot buildroot]$ file `which make`
/usr/bin/make: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs),
stripped

imake was linked like this:

making imake with BOOTSTRAPCFLAGS= in config/imake
/home/dima/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc
-Os -pipe  -I/home/dima/buildroot/build_i686/staging_dir/usr/include
-I/home/dima/buildroot/build_i686/staging_dir/include
--sysroot=/home/dima/buildroot/build_i686/staging_dir/ -isysroot
/home/dima/buildroot/build_i686/staging_dir -mtune=i686 -march=i686 -o
ccimake  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
/home/dima/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc
-Os -pipe  -I/home/dima/buildroot/build_i686/staging_dir/usr/include
-I/home/dima/buildroot/build_i686/staging_dir/include
--sysroot=/home/dima/buildroot/build_i686/staging_dir/ -isysroot
/home/dima/buildroot/build_i686/staging_dir -mtune=i686 -march=i686 -c
 -O -I../../include -I../../imports/x11/include/X11 `./ccimake`
imake.c
/bin/sh: ./ccimake: No such file or directory
/home/dima/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc
-Os -pipe  -I/home/dima/buildroot/build_i686/staging_dir/usr/include
-I/home/dima/buildroot/build_i686/staging_dir/include
--sysroot=/home/dima/buildroot/build_i686/staging_dir/ -isysroot
/home/dima/buildroot/build_i686/staging_dir -mtune=i686 -march=i686 -o
imake  -O -I../../include -I../../imports/x11/include/X11 imake.o

It looks like some `ccimake' was missing (or indeed did not get on the
proper path) - how could this be fixed?

Thanks.

-- 
Dimitry Golubovsky

Anywhere on the Web



More information about the buildroot mailing list