Find the answer to your Linux question:
Results 1 to 2 of 2
hiii!!! i am trying to build a kernel bt in cross compiling the kernel when i ran following command Code: make CROSS_COMPILE=i686-linux- ARCH=x86 i got following error UCLIB_EXTRA_CFLAGS="" \ install_runtime ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2012
    Posts
    1

    Question Error cross compiling linux kernelusing buildroot


    hiii!!!
    i am trying to build a kernel bt in cross compiling the kernel when i ran following command
    Code:
    make CROSS_COMPILE=i686-linux- ARCH=x86
    i got following error
    UCLIB_EXTRA_CFLAGS="" \
    install_runtime install_dev
    make[1]: /home/abc/Desktop/softwares/buildroot-2012.08-rc1/output/host/usr/bin/x86-unknown-linux-uclibc-gcc: Command not found
    make[1]: Entering directory `/home/arunesh/Desktop/softwares/buildroot-2012.08-rc1/output/toolchain/uClibc-0.9.33.2'
    /bin/sh: /home/abc/Desktop/softwares/buildroot-2012.08-rc1/output/host/usr/bin/x86-unknown-linux-uclibc-gcc: not found
    make[1]: /home/abc/Desktop/softwares/buildroot-2012.08-rc1/output/host/usr/bin/x86-unknown-linux-uclibc-gcc: Command not found
    make[1]: /home/abcDesktop/softwares/buildroot-2012.08-rc1/output/host/usr/bin/x86-unknown-linux-uclibc-gcc: Command not found
    make[1]: Circular libpthread/nptl/sysdeps/i386/gen_tcb-offsets.s <- libpthread/nptl/sysdeps/i386/tcb-offsets.h dependency dropped.
    CC libpthread/nptl/sysdeps/unix/sysv/linux/gen_pthread-pi-defines.s
    /bin/sh: /home/abc/Desktop/softwares/buildroot-2012.08-rc1/output/host/usr/bin/x86-unknown-linux-uclibc-gcc: not found
    make[1]: *** [libpthread/nptl/sysdeps/unix/sysv/linux/gen_pthread-pi-defines.s] Error 127
    make[1]: Leaving directory `/home/abc/Desktop/softwares/buildroot-2012.08-rc1/output/toolchain/uClibc-0.9.33.2'
    make: *** [/home/abc/Desktop/softwares/buildroot-2012.08-rc1/output/host/usr/x86-unknown-linux-uclibc/sysroot/usr/lib/libc.a] Error 2

    any suggestion??

  2. #2
    Just Joined!
    Join Date
    Aug 2012
    Location
    Tokyo
    Posts
    3
    Looks like dependency issue to me.

    It is looking for uclibc-gcc, you may only need this or may have another dependency issue when you install uclibc-gcc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •