forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Description
I would like to use LKL in an Android app, so I added elf32-littlearm as a supported POSIX output format in the Makefiles and attempted to build with a standalone arm-linux-androideabi toolchain, but I get this:
arm-linux-androideabi-gcc -Iinclude -Wall -g -O2 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -fno-strict-aliasing -fPIC -c -o lib/net.o lib/net.c
In file included from /home/david/Android/toolchains/arm-linux-androideabi-4.9-21/sysroot/usr/include/linux/signal.h:21:0,
from /home/david/Android/toolchains/arm-linux-androideabi-4.9-21/sysroot/usr/include/signal.h:48,
from /home/david/Android/toolchains/arm-linux-androideabi-4.9-21/sysroot/usr/include/sys/select.h:35,
from /home/david/Android/toolchains/arm-linux-androideabi-4.9-21/sysroot/usr/include/unistd.h:34,
from include/lkl/linux/shm.h:6,
from include/lkl/asm/syscalls.h:81,
from include/lkl.h:6,
from include/lkl_host.h:5,
from lib/net.c:5:
include/lkl/asm-generic/signal.h:103:22: error: expected ':', ',', ';', '}' or '__attribute__' before '.' token
__lkl__sighandler_t sa_handler;
^
<builtin>: recipe for target 'lib/net.o' failed
make: *** [lib/net.o] Error 1
I'm not a kernel developer at all, so I don't really know where to go from here.
Metadata
Metadata
Assignees
Labels
No labels