View Single Post
Old 10-04-2011, 12:37 AM   #48
sergeyvl12
ebook fan
sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.sergeyvl12 ought to be getting tired of karma fortunes by now.
 
Posts: 522
Karma: 2513004
Join Date: Dec 2010
Device: PocketBook 301+, Kindle 3 Wi-Fi, Onyx Boox A62, Kindle Touch
read365,

Try to add

"/usr/include/x86_64-linux-gnu" directory to include paths in /usr/local/pocketbook/common.mk:

Code:
ifeq ($(BUILD), emu)
...
INCLUDES += /usr/include/x86_64-linux-gnu
(linux-libc-dev: /usr/include/x86_64-linux-gnu/asm/ioctls.h)

Probably they've changed the default kernel include files path but the compiler knows nothing about that?

2. Another interesting question:

Why they (PocketBook) need to include the following system headers to incdemo.c?

#include <sys/ioctl.h>
#include <sys/mount.h>

I've removed them and everything was compiled fine. Probably these headers was from the historical purpose

Last edited by sergeyvl12; 10-04-2011 at 01:06 AM.
sergeyvl12 is offline   Reply With Quote