Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Includes in my C code:
- #include <stdio.h>
- #include <stdlib.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <fcntl.h>
- #include <sys/ioctl.h>
- #include <unistd.h>
- #include <asm/arch/mxcfb.h>
- Do compile for my .bb file:
- do_compile() {
- echo "${CC} -I ${STAGING_KERNEL_DIR}/include/linux ../fbalpha.c -o fbalpha"
- ${CC} -I ${STAGING_KERNEL_DIR}/include/linux ../fbalpha.c -o fbalpha
- }
- Error after trying bitbake fbalpha:
- | In file included from /home/bodangly/devel/client.gstreamer-imx/client_brd/tmp/sysroots/edm1-cf-imx6/usr/include/stdio.h:33:0,
- | from ../fbalpha.c:1:
- | /home/bodangly/devel/client.gstreamer-imx/client_brd/tmp/work-shared/edm1-cf-imx6/kernel-source/include/linux/stddef.h:4:31: fatal error: uapi/linux/stddef.h: No such file or directory
- | compilation terminated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement