/src/audio/pulse/SDL_pulseaudio.c:33:30: fatal error: pulse/pulseaudio.h: No such file or
directory
在makefile文件中添加(EXTRA_CFLAGS = -I./include) -I /usr/include
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
错误: #error "Never use <bits/predefs.h> directly;
重点include <features.h> instead."
In file included from /usr/include/fcntl.h:41:0,
from ./src/video/fbcon/SDL_fbevents.c:31:
/opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1
/../../../../arm-none-linux-gnueabi/include/bits/stat.h:20:3:
error: #error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
分别修改fcntl.h和SDL_fbevents.c中的头文件include <bits/stat.h>为include<sys/stat.h>