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

bison & getconf missing for kernel build or broken PATH #2

Open
PeterHuewe opened this issue Jun 26, 2018 · 1 comment
Open

bison & getconf missing for kernel build or broken PATH #2

PeterHuewe opened this issue Jun 26, 2018 · 1 comment

Comments

@PeterHuewe
Copy link

Hi,
when I try to cross compile a kernel using
CROSS_COMPILE=arm-bcm2708-linux-gnueabi- ./mkroot.sh -n TARGET="armv7l" kernel
I get the following error message:

linux-4.16/virt/lib/irqbypass.c
make: getconf: Command not found
make: getconf: Command not found
make: getconf: Command not found
  YACC    scripts/kconfig/zconf.tab.c
/bin/sh: bison: command not found
make[1]: *** [scripts/Makefile.lib:217: scripts/kconfig/zconf.tab.c] Error 127

The PATH within the modules/kernel is set to:
/fast/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin:/fast/mkroot/airlock
my regular PATH is
/fast/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/:/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/x86_64-pc-linux-gnu/powerpc-unknown-linux-gnu/gcc-bin/4.7.2:/usr/lib/llvm/5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/games/bin

The missing bison and getconf are located under /usr/bin
Is there any reason why /usr/bin gets striped out somehow?

@landley
Copy link
Owner

landley commented Jun 27, 2018 via email

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

2 participants