[Bug 562] New: Build error on file drivers/mtd/mtdblock.c

Martin J. Bligh (mbligh@aracnet.com)
Wed, 09 Apr 2003 08:05:44 -0700


http://bugme.osdl.org/show_bug.cgi?id=562

Summary: Build error on file drivers/mtd/mtdblock.c
Kernel Version: 2.5.67
Status: NEW
Severity: normal
Owner: dwmw2@infradead.org
Submitter: tobias@fresco.org

Distribution: source form ftp.kernel.org
Hardware Environment: mobile PIII
Software Environment: Debian
Problem Description: Building the kernel fails with the following error:

Steps to reproduce:
Build a kernel with MTD enabled.

gcc -Wp,-MD,drivers/mtd/.mtdblock.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=pentium3 -Iinclude/asm-i386/mach-default
-fomit-frame-pointer -nostdinc -iwithprefix include -DMODULE
-DKBUILD_BASENAME=mtdblock -DKBUILD_MODNAME=mtdblock -c -o
drivers/mtd/.tmp_mtdblock.o drivers/mtd/mtdblock.c
drivers/mtd/mtdblock.c: In function `handle_mtdblock_request':
drivers/mtd/mtdblock.c:391: warning: assignment makes pointer from integer
without a cast
drivers/mtd/mtdblock.c:391: syntax error before '{' token
drivers/mtd/mtdblock.c:394: `p' undeclared (first use in this function)
drivers/mtd/mtdblock.c:394: (Each undeclared identifier is reported only once
drivers/mtd/mtdblock.c:394: for each function it appears in.)
drivers/mtd/mtdblock.c: At top level:
drivers/mtd/mtdblock.c:442: syntax error before '}' token
make[3]: *** [drivers/mtd/mtdblock.o] Error 1
make[2]: *** [drivers/mtd] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.67'
make: *** [stamp-build] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/