我假设我必须复制包含文件,比如"/build/linux-socfpga-4.16/ include /linux/“文件夹,但是我不知道怎么做。这是我的档案:
我的应用程序/my_dma/Makefile my_app/my_dma/my_dma.c我的驱动程序/my_driver_dma/Makefile我的驱动程序/my_driver_dma</
/v4l/videobuf-dma-sg.o
/home/backend/Drivers/linux-tbs-drivers/v4l/videobuf-dma-sg.c: In function 'videobuf_dma_init_user_locked/backend/Drivers/linux-tbs-drivers/v4l/videobuf-dma</
/platform/platform_linux_pc_pci.c:21:17: error: implicit declaration of function ‘pci_dma_sync_single_for_device/platform/platform_linux_pc_pci.c:30:17: error: implicit declaration of function ‘pci_dma_sync_single_for_cpu’; did you mean ‘dm
/platform/platform_linux_pc_pci.c:21:17: error: implicit declaration of function ‘pci_dma_sync_single_for_device/platform/platform_linux_pc_pci.c:30:17: error: implicit declaration of function ‘pci_dma_sync_single_for_cpu’; did you mean ‘dm