Build fails on genksyms/parse.tab.c

46 views
Skip to first unread message

soh...@bu.edu

unread,
Dec 18, 2018, 2:35:51ā€ÆPM12/18/18
to Android-x86
New to the android x86 world.
First question: Is there any way to configure the makefile for my particular hardware platform? I have an Up Squared board where I can run Android X86 8.1 - rc1 (ISO image, 32-bit), but not rc2. rc2 version goes to the root shell and stops there. It doesn't show the GUI, but the rc1 version without hardware acceleration does. I want to compile the ISO from source for my particular board. Is there any way to do it?

Second question: I have downloaded the source and tried to build it on CentOS 7 and Ubuntu 16.04. It fails at genksyms/parse.tab.c My make command is: make iso_img TARGET_PRODUCT=android_x86 The error is the following:

[  0% 3/56404] build /home/sohamsalil/android-x86/output/android-x86-source/target/product/x86/obj/kernel/arch/x86/boot/bzImage
FAILED: /home/sohamsalil/android-x86/output/android-x86-source/target/product/x86/obj/kernel/arch/x86/boot/bzImage 
/bin/bash -c "make -j2 -C kernel O=/home/sohamsalil/android-x86/output/android-x86-source/target/product/x86/obj/kernel ARCH=x86 CROSS_COMPILE=\" /home/sohamsalil/android-x86/android-x86-source/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-\"  bzImage modules"
make: Entering directory '/home/sohamsalil/android-x86/android-x86-source/kernel'
make[1]: Entering directory '/home/sohamsalil/android-x86/output/android-x86-source/target/product/x86/obj/kernel'
  GEN     ./Makefile
  Using /home/sohamsalil/android-x86/android-x86-source/kernel as source for kernel
  YACC    scripts/genksyms/parse.tab.c
/home/sohamsalil/android-x86/android-x86-source/kernel/scripts/genksyms/Makefile:22: recipe for target 'scripts/genksyms/parse.tab.c' failed
make[3]: *** [scripts/genksyms/parse.tab.c] Error 1
/home/sohamsalil/android-x86/android-x86-source/kernel/scripts/Makefile.build:558: recipe for target 'scripts/genksyms' failed

Also posted on StackOverflow. Any idea on how to solve the issue?
I would appreciate any help. Thanks!
Reply all
Reply to author
Forward
0 new messages