* Can't compile 2.4.2 kernel after MTD patch
@ 2001-03-25 18:45 Iasen Hristov
0 siblings, 0 replies; 3+ messages in thread
From: Iasen Hristov @ 2001-03-25 18:45 UTC (permalink / raw)
To: mtd
1. I have a Mandrake 7.2 (kernel 2.2.17)
2. Downloaded 2.4.2 version of kernel from kernel.org
linux-2.4.2.tar.gz 21-Feb-2001 17:00 24.1M
3. Compiled with MTD options enabled, able to boot from hard disk, but
could not detect the DOC
4. downloaded MTD from CVS
5. patched in the kernel, which created the corresponding symbolic links
6. now if I do
make bzImage (after "make mrproper", "make menuconfig" and "make
dep")
I get
make -C mtd
make[2]: Entering directory `/home/src/linux-2.4.2/drivers/mtd'
make all_targets
make[3]: Entering directory `/home/src/linux-2.4.2/drivers/mtd'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i486 -c -o nftl.o nftl.c
nftl.c: In function `NFTL_notify_add':
nftl.c:204: warning: long int format, int arg (arg 3)
nftl.c:204: warning: long int format, int arg (arg 4)
nftl.c: In function `NFTL_findwriteunit':
nftl.c:624: `MTD_DEBUG_LEVEL_1' undeclared (first use in this function)
nftl.c:624: (Each undeclared identifier is reported only once
nftl.c:624: for each function it appears in.)
nftl.c: In function `nftl_ioctl':
nftl.c:847: warning: implicit declaration of function `blk_ioctl'
make[3]: *** [nftl.o] Error 1
make[3]: Leaving directory `/home/src/linux-2.4.2/drivers/mtd'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/src/linux-2.4.2/drivers/mtd'
make[1]: *** [_subdir_mtd] Error 2
make[1]: Leaving directory `/home/src/linux-2.4.2/drivers'
make: *** [_dir_drivers] Error 2
Am I doing something wrong?
--
Iassen Hristov
Databrokers, Inc.
513-259-6096
mailto:iassen@databrokers.net
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* re: Can't compile 2.4.2 kernel after MTD patch
@ 2001-03-26 11:49 Frank Neuber
2001-03-26 12:57 ` David Woodhouse
0 siblings, 1 reply; 3+ messages in thread
From: Frank Neuber @ 2001-03-26 11:49 UTC (permalink / raw)
To: ihristov, mtd
Hi,
> nftl.c: In function `NFTL_findwriteunit':
> nftl.c:624: `MTD_DEBUG_LEVEL_1' undeclared (first use in this
function)
> nftl.c:624: (Each undeclared identifier is reported only once
there is a small bug in nftl.c! The debug variable should be
MTD_DEBUG_LEVEL1 :-)
Frank
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Can't compile 2.4.2 kernel after MTD patch
2001-03-26 11:49 Frank Neuber
@ 2001-03-26 12:57 ` David Woodhouse
0 siblings, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2001-03-26 12:57 UTC (permalink / raw)
To: Frank Neuber; +Cc: ihristov, mtd
neuber@convergence.de said:
> there is a small bug in nftl.c! The debug variable should be
> MTD_DEBUG_LEVEL1 :-)
Fix committed. Thanks.
--
dwmw2
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-03-26 12:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-25 18:45 Can't compile 2.4.2 kernel after MTD patch Iasen Hristov
-- strict thread matches above, loose matches on Subject: below --
2001-03-26 11:49 Frank Neuber
2001-03-26 12:57 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox