Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi Hippo,
Same error occured when I was compiling Frame Buffer appliction for DE2-70 board. LD usr/built-in.o CC drivers/video/altfb.o /home/muhammet/Desktop/nios2-linux/linux-2.6/drivers/video/altfb.c: In function `altfb_mmap': /home/muhammet/Desktop/nios2-linux/linux-2.6/drivers/video/altfb.c:87: warning: assignment makes integer from pointer without a cast /home/muhammet/Desktop/nios2-linux/linux-2.6/drivers/video/altfb.c: In function `altfb_dma_start': /home/muhammet/Desktop/nios2-linux/linux-2.6/drivers/video/altfb.c:236: error: `na_vga_controller_0' undeclared (first use in this function) /home/muhammet/Desktop/nios2-linux/linux-2.6/drivers/video/altfb.c:236: error: (Each undeclared identifier is reported only once /home/muhammet/Desktop/nios2-linux/linux-2.6/drivers/video/altfb.c:236: error: for each function it appears in.) /home/muhammet/Desktop/nios2-linux/linux-2.6/drivers/video/altfb.c:236: warning: initialization makes integer from pointer without a cast /home/muhammet/Desktop/nios2-linux/linux-2.6/drivers/video/altfb.c: In function `altfb_probe': /home/muhammet/Desktop/nios2-linux/linux-2.6/drivers/video/altfb.c:253: warning: passing arg 3 of `dma_alloc_coherent' from incompatible pointer type make[4]: *** [drivers/video/altfb.o] Error 1 make[3]: *** [drivers/video] Error 2 make[2]: *** [drivers] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/home/muhammet/Desktop/nios2-linux/linux-2.6' make: *** [linux] Error 1 ----------------------------------------- I dont findd the solution on the internet. Could you help me to solve problem? Thank You