It looks like bison is looking for `m4` in your path, so you'll need to install it with apt. We don't currently have a prebuilt of m4 to go along with the bison prebuilt.
- Dan On Thu, Oct 19, 2017 at 4:12 AM, Marco Tommolini <[email protected]> wrote: > HI, I'm trying to buid an AOSP and after I fixed some errors I get the > following errors that I don't know how to resolve: > > root@mh2-K55VD:/bin/repo_work_directory# make -j16 > ============================================ > PLATFORM_VERSION_CODENAME=P > PLATFORM_VERSION=P > TARGET_PRODUCT=aosp_arm > TARGET_BUILD_VARIANT=eng > TARGET_BUILD_TYPE=release > TARGET_ARCH=arm > TARGET_ARCH_VARIANT=armv7-a > TARGET_CPU_VARIANT=generic > HOST_ARCH=x86_64 > HOST_2ND_ARCH=x86 > HOST_OS=linux > HOST_OS_EXTRA=Linux-4.10.0-37-generic-x86_64-Ubuntu-17.04 > HOST_CROSS_OS=windows > HOST_CROSS_ARCH=x86 > HOST_CROSS_2ND_ARCH=x86_64 > HOST_BUILD_TYPE=release > BUILD_ID=OC > OUT_DIR=out > ============================================ > ninja: no work to do. > ninja: no work to do. > No need to regenerate ninja file > No need to regenerate ninja file > [ 0% 3/60195] Yacc: ss <= external/iproute2/misc/ssfilter.y > FAILED: out/target/product/generic/obj/EXECUTABLES/ss_intermediates/ > ssfilter.c > /bin/bash -c "prebuilts/misc/linux-x86/bison/bison -d > --defines=out/target/product/generic/obj/EXECUTABLES/ss_intermediates/ssfilter.h > -o out/target/product/generic/obj/EXECUTABLES/ss_intermediates/ssfilter.c > external/iproute2/misc/ssfilter.y" > external/iproute2/misc/ssfilter.y: 31 conflitti shift/riduzione > prebuilts/misc/linux-x86/bison/bison: Sotto-processo m4 non riuscito: > File o directory non esistente > [ 0% 18/60195] Check module type: out/target/product/generic/obj > /SHARED_LIBRARIES/[email protected]_intermediates/link_type > ninja: build stopped: subcommand failed. > 12:48:56 ninja failed with: exit status 1 > > #### failed to build some targets (42 seconds) #### > > > What am I doing wrong? I've Ubuntu 17.04. > Thanks in advance > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
