Skip to contentSkip to conversation

Pb compiling MTD on 2.4.9, RH-7.1

DISCUSSION Pierre Ficheux 2 participants 2 messages Sep 21, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw
	Hi,

	I've tried to compile MTD support in 2.4.9 kernel on a RH-7.1

distribution and I got strange compilation errors:

make -C chips modules
make[3]: Entering directory `/usr/src/linux-2.4.9/drivers/mtd/chips' gcc -D__KERNEL__ -I/usr/src/linux-2.4.9/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.9/include/linux/modversions.h -c -o amd_flash.o
amd_flash.c
amd_flash.c: In function `read_one_chip':
amd_flash.c:642: `do_softirq_Rf0a529b7' undeclared (first use in this function)
amd_flash.c:642: (Each undeclared identifier is reported only once amd_flash.c:642: for each function it appears in.) amd_flash.c: In function `write_one_word':
amd_flash.c:742: `do_softirq_Rf0a529b7' undeclared (first use in this function)
amd_flash.c: In function `erase_one_block':
amd_flash.c:939: `do_softirq_Rf0a529b7' undeclared (first use in this function)
amd_flash.c: In function `amd_flash_sync':
amd_flash.c:1184: `do_softirq_Rf0a529b7' undeclared (first use in this function)
make[3]: *** [amd_flash.o] Error 1

	I use RH-7.1 gcc (gcc version 2.96 20000731 (Red Hat Linux 7.1

2.96-81).

Any idea?

Thx by advance.

Signature · 4 lines
Pierre FICHEUX -/- CTO OpenWide, France -\- [email protected]
				         http://www.ficheux.com
					 http://www.emulateur-xtel.org
More fun, more freedom, less Micro$oft
#1 lore raw
Quoted 3 lines · [email protected] said:

I've tried to compile MTD support in 2.4.9 kernel on a RH-7.1
distribution and I got strange compilation errors:

Missing #include <linux/interrupt.h>. This should be fixed in CVS.

--
dwmw2