Got issue when following step in Chapter 11 for compiling fbtest
I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/arch-x86/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi/asm-x86 -o iplan2.o iplan2.c /media/AOSPDrive/AndroidEmbeddedSystemChapter/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-gcc -c -Wall -fno-short-enums -I../include -O2 -m32 -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/arch-x86/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi/asm-x86 -o planar.o planar.c /media/AOSPDrive/AndroidEmbeddedSystemChapter/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-ar -rcs drawops.a bitstream.o cfb16.o cfb24.o cfb2.o cfb32.o cfb4.o cfb8.o cfb.o generic.o init.o iplan2.o planar.o make[1]: Leaving directory /media/AOSPDrive/AndroidEmbeddedSystemChapter/fbtest/drawops' make -C pnmtohex make[1]: Entering directory/media/AOSPDrive/AndroidEmbeddedSystemChapter/fbtest/pnmtohex' /media/AOSPDrive/AndroidEmbeddedSystemChapter/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-gcc -M -Wall -fno-short-enums -I../include -O2 -m32 -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/arch-x86/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi/asm-x86 pnmtohex.c > .depend pnmtohex.c:17:17: fatal error: pnm.h: No such file or directory
/media/AOSPDrive/AndroidEmbeddedSystemChapter/fbtest/drawops' make -C pnmtohex make[1]: Entering directory
#include <pnm.h> ^ compilation terminated. make[1]: No rule to make target .depend', needed byall'. Stop. make[1]: Leaving directory `/media/AOSPDrive/AndroidEmbeddedSystemChapter/fbtest/pnmtohex' make: [pnmtohex] Error 2
.depend', needed by
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Please checkout branch "android-x86". I need to check whether I mentioned this or not in the book.
Even when the Android code is checked out from android-7.1.1_r4_ch11_aosp branch the same error happens
The fbtest project is relying on header files that probably need to be included or need to be specified explicitly
It is using android-x86 branch
Give me sometime. I will test it again.
There is one commit is missing. Please pull the latest code from my GitHub. The issue should be resolved.
Got issue when following step in Chapter 11 for compiling fbtest
I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/arch-x86/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi/asm-x86 -o iplan2.o iplan2.c
/media/AOSPDrive/AndroidEmbeddedSystemChapter/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-gcc -c -Wall -fno-short-enums -I../include -O2 -m32 -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/arch-x86/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi/asm-x86 -o planar.o planar.c
/media/AOSPDrive/AndroidEmbeddedSystemChapter/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-ar -rcs drawops.a bitstream.o cfb16.o cfb24.o cfb2.o cfb32.o cfb4.o cfb8.o cfb.o generic.o init.o iplan2.o planar.o
make[1]: Leaving directory
/media/AOSPDrive/AndroidEmbeddedSystemChapter/fbtest/drawops' make -C pnmtohex make[1]: Entering directory
/media/AOSPDrive/AndroidEmbeddedSystemChapter/fbtest/pnmtohex'/media/AOSPDrive/AndroidEmbeddedSystemChapter/prebuilts/gcc/linux-x86/x86/x86_64-linux-android-4.9/bin/x86_64-linux-android-gcc -M -Wall -fno-short-enums -I../include -O2 -m32 -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/arch-x86/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/include -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi -I/media/AOSPDrive/AndroidEmbeddedSystemChapter/bionic/libc/kernel/uapi/asm-x86 pnmtohex.c > .depend
pnmtohex.c:17:17: fatal error: pnm.h: No such file or directory
#include <pnm.h>
^
compilation terminated.
make[1]: No rule to make target
.depend', needed by
all'. Stop.make[1]: Leaving directory `/media/AOSPDrive/AndroidEmbeddedSystemChapter/fbtest/pnmtohex'
make: [pnmtohex] Error 2
make failed to build some targets (1 seconds)
Please checkout branch "android-x86". I need to check whether I mentioned this or not in the book.
Even when the Android code is checked out from android-7.1.1_r4_ch11_aosp branch the same error happens
The fbtest project is relying on header files that probably need to be included or need to be specified explicitly
It is using android-x86 branch
Give me sometime. I will test it again.
There is one commit is missing. Please pull the latest code from my GitHub. The issue should be resolved.