Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to run bash build-tool-chain -m tx6 -pg #39

Open
chronosito opened this issue May 23, 2021 · 0 comments
Open

unable to run bash build-tool-chain -m tx6 -pg #39

chronosito opened this issue May 23, 2021 · 0 comments

Comments

@chronosito
Copy link

Hi,
I am newbie here and I want to build a linux OS to flash TX6U-8130.
after runing make ARCH=arm tx6_defconfig to create a default .config file for the kernel, I need to build the tool-chain for i.mx6 by executing bash build-tool-chain -m tx6 -pg , but I get this:

┌──(kali㉿kali)-[~/starterkit/tool-chain]
└─$ bash build-tool-chain -m tx6 -pg 2 ⨯
Building cross compiler tool chain for arm-cortexa9-linux-gnueabi running from /usr/local/arm/cross-gcc-7.2.0-armv7a-soft/x86_64-pc-linux-gnu/bin
Removing target specific files from '/usr/local/arm/cross-gcc-7.2.0-armv7a-soft/x86_64-pc-linux-gnu'
Building binutils in /home/kali/starterkit/tool-chain/cross-binutils Sun 23 May 2021 03:37:44 AM EDT
Extracting previously compiled binutils from archive binutils-7.2.0-armv7a-soft-arm-cortexa9-linux-gnueabi.tar.bz2
Building bootstrap-gcc in /home/kali/starterkit/tool-chain/cross-gcc Sun 23 May 2021 03:37:51 AM EDT
Cleaning up build directory /var/tmp/build-toolchain-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi/bootstrap-gcc
Checking linux source directory
See logfile: /var/tmp/build-toolchain-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi/bootstrap-gcc/preconfigure.out:

  • preconfigure
  • '[' -z '' ']'
  • rc=1
  • echo -n 'Checking existence of '''/home/kali/starterkit/arm-linux''' '
    Checking existence of '/home/kali/starterkit/arm-linux' + '[' -d /home/kali/starterkit/arm-linux ']'
  • echo '- OK'
  • OK
  • local config=/home/kali/starterkit/arm-linux/arch/arm/configs/tx6_defconfig
  • '[' -s /home/kali/starterkit/arm-linux/arch/arm/configs/tx6_defconfig ']'
  • echo 'Configuring Linux kernel in '''/home/kali/starterkit/arm-linux''' for tx6'
    Configuring Linux kernel in '/home/kali/starterkit/arm-linux' for tx6
    ++ basename /home/kali/starterkit/arm-linux/arch/arm/configs/tx6_defconfig
  • make -C /home/kali/starterkit/arm-linux ARCH=arm tx6_defconfig
    make: Entering directory '/home/kali/starterkit/arm-linux'
    make[1]: Entering directory '/home/kali/starterkit/.build-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi'
    GEN ./Makefile
    HOSTCC scripts/kconfig/zconf.tab.o
    scripts/kconfig/zconf.tab.c:213:10: fatal error: zconf.hash.c: No such file or directory
    213 | #include "zconf.hash.c"
    | ^~~~~~~~~~~~~~
    compilation terminated.
    make[2]: *** [scripts/Makefile.host:118: scripts/kconfig/zconf.tab.o] Error 1
    make[1]: *** [/home/kali/starterkit/arm-linux/Makefile:547: tx6_defconfig] Error 2
    make[1]: Leaving directory '/home/kali/starterkit/.build-7.2.0-armv7a-soft/arm-cortexa9-linux-gnueabi'
    make: *** [Makefile:145: sub-make] Error 2
    make: Leaving directory '/home/kali/starterkit/arm-linux'
  • errmsg
  • closelog
  • '[' -n preconfigure.out ']'
  • set +x
    arm-cortexa9-linux-gnueabi bootstrap-gcc build aborted due to error!

I am completely lost here and I don't know what to do. Can you guys please assist me?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant