compilation problem for mtd
I have an application for mtd when I cross-compile this application for powerpc compile it properly ,but when I cross-compile it for ARM (pxa300)
It gives error for header file or api's related to MTD for eg #include <mtd/mtd-user.h> #include <linux/mtd/mtd.h> mtd_info_t mtd_info; erase_info_t ei; If I am enabling one of these api's or header file I get compilation error .I s there any problem related to cross compiler .I have seen these header files in my linux kernel (mtd-user.h & mtd.h ) THEY EXIST My application is below with error statement Code:
#include <stdio.h> Code:
ERROR STATEMENT |
When you are cross-compiling, include files don't come from your own /usr/include. Try to look into /usr/<platfromname>/include.
|
All times are GMT -5. The time now is 10:42 PM. |