Can't run programs created with my uclibc toolchain

Frank Meerkoetter meerkoetter at archos.com
Wed Sep 21 06:58:33 UTC 2005


Hi,

i've built a i386-uclibc toolchain using a recent buildroot.
I have the problem that i can't run programs which were
build with this toolchain.

frank at linux:~/buildroot/build_i386/root/bin> ./chattr
bash: ./chattr: No such file or directory
rank at linux:~/buildroot/build_i386/root/bin> ldd ./chattr
/usr/bin/ldd: line 157: ./chattr: No such file or directory
frank at linux:~/buildroot/build_i386/root/bin> file chattr
chattr: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically 
linked (uses shared libs), stripped
frank at linux:~/buildroot/build_i386/root/bin> readelf -h chattr
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           Intel 80386
  Version:                           0x1
  Entry point address:               0x8048838
  Start of program headers:          52 (bytes into file)
  Start of section headers:          4944 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         6
  Size of section headers:           40 (bytes)
  Number of section headers:         24
  Section header string table index: 23


This is the system i try to run the binaries on.
Linux linux 2.6.8-24.18-smp #1 SMP i686 i686 i386 GNU/Linux

Below my .config file.

BR2_HAVE_DOT_CONFIG=y
BR2_i386=y
BR2_ARCH="i386"

BR2_WGET="wget --passive-ftp"
BR2_SVN="svn co"
BR2_SOURCEFORGE_MIRROR="easynews"
BR2_STAGING_DIR="$(BUILD_DIR)/staging_dir"
BR2_TOPDIR_PREFIX=""
BR2_TOPDIR_SUFFIX=""
BR2_JLEVEL=1

BR2_KERNEL_HEADERS_2_6_11=y
BR2_DEFAULT_KERNEL_HEADERS="2.6.11"

BR2_ENABLE_LOCALE=y
BR2_BINUTILS_VERSION_2_16_1=y
BR2_BINUTILS_VERSION="2.16.1"

BR2_GCC_VERSION_3_4_3=y
BR2_GCC_VERSION="3.4.3"
BR2_EXTRA_GCC_CONFIG_OPTIONS=""
BR2_INSTALL_LIBSTDCPP=y

BR2_LARGEFILE=y
BR2_TARGET_OPTIMIZATION="-Os -pipe"

BR2_PACKAGE_E2FSPROGS=y
BR2_PACKAGE_JPEG=y
BR2_PACKAGE_LIBPNG=y
BR2_QTE_TMAKE_VERSION="1.13"
BR2_PACKAGE_ZLIB=y

Does anyone know what's wrong?

TIA Frank

____________________________________________________________________________

This  email  and any  files  transmitted  with it are  confidential  and are
intended solely  for the use of the individual  or entity to which  they are
addressed.  Access to this e-mail by anyone else is unauthorised. If you are
not the  intended recipient,  any disclosure,  copying,  distribution or any
action taken or omitted to be taken in reliance on it, is prohibited. E-mail
messages are not necessarily secure.  Archos does not accept  responsibility
for any changes made to this message after it was sent..




More information about the uClibc mailing list