Compilation error on the latest mtd code
Xiaogeng (Shawn) Jin
xjin at redswitch.com
Wed Jan 8 23:30:36 EST 2003
When compiling the latest mtd code with the kernel linuxppc_2_4_devel
checked out from bk://ppc.bkbits.net, I encountered the following error.
This kind of error seems to be caused by some special control character
in a text file. So I used 'dos2unix' to convert all header files. But it
didn't solve the error. Any hints? Thank you very much.
ppc_8xx-gcc -D__KERNEL__
-I/u/xjin/2_4_devel/Software/Linux/MPC855/linuxppc_2_4_
devel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing
-fno-common -fomit-frame-pointer
-I/u/xjin/2_4_devel/Software/Linux/MPC855/linux
ppc_2_4_devel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2
-Wno-uninitia
lized -mmultiple -mstring -nostdinc -I
/opt/eldk2.0/usr/lib/gcc-lib/ppc-linux/
2.95.4/include -DKBUILD_BASENAME=mtdblock_core -c -o mtdblock-core.o
mtdblock-c
ore.c
In file included from
/u/xjin/2_4_devel/Software/Linux/MPC855/linuxppc_2_4_devel
/include/linux/blk.h:4,
from mtdblock-core.c:18:
/u/xjin/2_4_devel/Software/Linux/MPC855/linuxppc_2_4_devel/include/linux/blkdev.
h:147: parse error before `struct'
- Shawn.
More information about the linux-mtd
mailing list