Skip to contentSkip to conversation

Compilation error on the latest mtd code

DISCUSSION Xiaogeng (Shawn) Jin 1 participant 1 message Jan 9, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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.