高通下编译应用程序camera出错
make
arm-oe-linux-gnueabi-gcc: warning: ./../../msm-3.18/include: linker input file unused because linking not done
arm-oe-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=softfp -mfpu=neon --sysroot=/home/work/gcc/sdk/sysroots/armv7a-vfp-neon-oe-linux-gnueabi -c src/mm_qcamera_socket.c -O2 -fexpensive-optimizations -frename-registers -fomit-frame-pointer -ftree-vectorize -finline-functions -finline-limit=64 -Wno-error=maybe-uninitialized -Wno-error=unused-result -g -pthread -Wall -Werror -rdynamic -funwind-tables -I./inc -I./common -I./qomx_core -I./openmax -I./../../msm-3.18/include ./../../msm-3.18/include -DCAMERA_ION_FALLBACK_HEAP_ID=ION_CAMERA_HEAP_ID -DCAMERA_GRALLOC_CACHING_ID=GRALLOC_USAGE_PRIVATE_UNCACHED -DNUM_RECORDING_BUFFERS=5 -DCAMERA_ION_HEAP_ID=ION_IOMMU_HEAP_ID -Dunused="attribute((unused__))" -include sys/ioctl.h -include stdint.h -o src/mm_qcamera_socket.o
In file included from /home/work/gcc/sdk/sysroots/armv7a-vfp-neon-oe-linux-gnueabi/usr/include/linux/sysinfo.h:4:0,
from ./../../msm-3.18/include/uapi/linux/kernel.h:4,
from ./../../msm-3.18/include/linux/cache.h:4,
from ./../../msm-3.18/include/linux/time.h:4,
from ./../../msm-3.18/include/linux/videodev2.h:59,
from ./../../msm-3.18/include/uapi/media/msmb_camera.h:4,
from ./../../msm-3.18/include/media/msmb_camera.h:4,
from ./common/mm_camera_interface.h:34,
from ./inc/mm_qcamera_app.h:39,
from ./inc/mm_qcamera_commands.h:35,
from src/mm_qcamera_socket.c:37:
./../../msm-3.18/include/linux/types.h:14:26: error: conflicting types for 'fd_set'
typedef __kernel_fd_set fd_set;
上面将内核单独考出来,进行编译结果还是出错, ^