我在ubuntu12.04下安装了vivado 13.3版本,交叉编译环境配置如下:
export CROSS_COMPILE=arm-xilinx-eabi-source /opt/Xilinx/Vivado/2013.3/settings32.sh
然后按照digilent网站文档Embedded_Linux_Handson_Tutorial_ZedBoard.pdf进行操作,下载了linux-digilent-3.6-digilent-13.01.tar.gz编译linux内核。结果出现如下提示:
……………………
drivers/dma/xilinx_dma.c: In function 'xilinx_dma_chan_probe':drivers/dma/xilinx_dma.c:1401:23: warning: assignment makes pointer from integer without a cast [enabled by default]
LD drivers/dma/built-in.o
LD drivers/firewire/built-in.o
LD drivers/firmware/built-in.o
CC drivers/gpio/gpiolib.o
CC drivers/gpio/devres.o
CC drivers/gpio/gpiolib-of.o
CC drivers/gpio/gpio-xilinxps.o
LD drivers/gpio/built-in.o
CC drivers/gpu/drm/drm_auth.o
In file included from include/drm/drmP.h:75:0,
from drivers/gpu/drm/drm_auth.c:36:
include/drm/drm.h:47:24: fatal error: sys/ioccom.h: No such file or directory
compilation terminated.
make[3]: *** [drivers/gpu/drm/drm_auth.o] Error 1
make[2]: *** [drivers/gpu/drm] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
请问大家遇到过这个问题吗?如何解决的。谢谢。