Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling liblegato for Raspi 3 #49

Open
udi-hakim opened this issue Nov 24, 2019 · 0 comments
Open

Compiling liblegato for Raspi 3 #49

udi-hakim opened this issue Nov 24, 2019 · 0 comments

Comments

@udi-hakim
Copy link

udi-hakim commented Nov 24, 2019

When using gcc-linaro-arm-linux-gnueabihf-raspbian-x64 as the toolchain, the file epoll.h in \arm-linux-gnueabihf\libc\usr\include\arm-linux-gnueabihf\sys does no support EPOLLWAKEUP.

/home/user/projects/workspace/legato/framework/liblegato/linux/fdMonitor.c:57:12: note: #pragma message: EPOLLWAKEUP unsupported. Power management features may fail.
 #   pragma message "EPOLLWAKEUP unsupported. Power management features may fail."
            ^
[31/70] Compiling liblegato source file
FAILED: /home/user/projects/workspace/legato/build/raspi/framework/obj/linux/linux/eventLoop.c.o 
/home/user/projects/rpi_tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin//arm-linux-gnueabihf-gcc -MMD -MF /home/user/projects/workspace/legato/build/raspi/framework/obj/linux/linux/eventLoop.c.o.d -c /home/user/projects/workspace/legato/framework/liblegato/linux/eventLoop.c -o /home/user/projects/workspace/legato/build/raspi/framework/obj/linux/linux/eventLoop.c.o -DLEGATO_EMBEDDED -Wall -Werror -fPIC -I/home/user/projects/workspace/legato/framework/daemons/linux -g -O2 -fno-omit-frame-pointer -I/home/user/projects/workspace/legato/framework/liblegato/linux -I/home/user/projects/workspace/legato/build/raspi/framework/include -DLE_COMPONENT_NAME=framework -DLE_FILENAME=`basename /home/user/projects/workspace/legato/framework/liblegato/linux/eventLoop.c` -I/home/user/projects/workspace/legato/framework/include -I/home/user/projects/workspace/legato/framework/liblegato
/home/user/projects/workspace/legato/framework/liblegato/linux/eventLoop.c: In function ‘fa_event_CreatePerThreadInfo’:
/home/user/projects/workspace/legato/framework/liblegato/linux/eventLoop.c:163:27: error: ‘EPOLLWAKEUP’ undeclared (first use in this function)
     ev.events = EPOLLIN | EPOLLWAKEUP;
                           ^
/home/user/projects/workspace/legato/framework/liblegato/linux/eventLoop.c:163:27: note: each undeclared identifier is reported only once for each function it appears in
[32/70] Compiling liblegato source file
ninja: build stopped: subcommand failed.
make[1]: *** [Makefile.framework:256: liblegato] Error 1
make[1]: Leaving directory '/home/user/projects/workspace/legato'
make: *** [Makefile:536: framework] Error 2```
@udi-hakim udi-hakim changed the title Compiling liblegato to Raspi 3 Compiling liblegato for Raspi 3 Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant