Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. Includes in my C code:
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <sys/types.h>
  5. #include <sys/stat.h>
  6. #include <fcntl.h>
  7. #include <sys/ioctl.h>
  8. #include <unistd.h>
  9. #include <asm/arch/mxcfb.h>
  10.  
  11. Do compile for my .bb file:
  12.  
  13. do_compile() {
  14. echo "${CC} -I ${STAGING_KERNEL_DIR}/include/linux ../fbalpha.c -o fbalpha"
  15. ${CC} -I ${STAGING_KERNEL_DIR}/include/linux ../fbalpha.c -o fbalpha
  16. }
  17.  
  18. Error after trying bitbake fbalpha:
  19.  
  20. | In file included from /home/bodangly/devel/client.gstreamer-imx/client_brd/tmp/sysroots/edm1-cf-imx6/usr/include/stdio.h:33:0,
  21. | from ../fbalpha.c:1:
  22. | /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
  23. | compilation terminated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement