All of lore.kernel.org
 help / color / mirror / Atom feed
* compiling MTD error
@ 2003-07-22 12:35 truename
  2003-07-22 13:35 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: truename @ 2003-07-22 12:35 UTC (permalink / raw)
  To: linux-mtd

Hello,
     My armlinux kernel version is 2.4.18 rmk6. MTD source code
is downloaded form CVS and added to kernel tree using patch.sh.When I compiled the kernel compiler reported info as follow:

drivers/mtd/mtdlink.o:In function 'put_mtd_device':
/home/linux/drivers/mtd/mtdcore.c:225:undefined reference 'BUG_ON'
drivers/mtd/mtdlink.o:In function 'mtdblock_writesect':
/home/linux/drivers/mtd/mtdblock.c:251:undefined reference to 'unlikely'
drivers/mtd/mtdlink.o:In function 'mtd_blktrans_thread':
/home/linux/drivers/mtd/mtd/mtd_blkdevs-24.c:180:undefined reference to 'BUG_ON'
     I have used grep searching the kernel tree ,but can not find  where
defined 'BUG_ON' and 'unlikely'.
Thanks.
Gavin
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compiling MTD error
  2003-07-22 12:35 compiling MTD error truename
@ 2003-07-22 13:35 ` David Woodhouse
  0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2003-07-22 13:35 UTC (permalink / raw)
  To: truename; +Cc: linux-mtd

On Tue, 2003-07-22 at 08:35, truename wrote:
> Hello,
>      My armlinux kernel version is 2.4.18 rmk6.

 ...

>      I have used grep searching the kernel tree ,but can not find  where
> defined 'BUG_ON' and 'unlikely'.

Your kernel is too old and not supported any more. Use a current one.
-- 
dwmw2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: compiling MTD error
  2003-07-25  5:00 Yuxiao Xi
@ 2003-07-25 14:19 ` David Woodhouse
  0 siblings, 0 replies; 4+ messages in thread
From: David Woodhouse @ 2003-07-25 14:19 UTC (permalink / raw)
  To: Yuxiao Xi; +Cc: linux-mtd

On Fri, 2003-07-25 at 01:00, Yuxiao Xi wrote:
> Which MTD version works well with linux kernel 2.4.17?

By specifying 2.4.17 you are explicitly saying you _want_ to use old
broken code and you don't want bug-fixes. So just use the MTD code that
is _in_ 2.4.17. Or upgrade your kernel.

-- 
dwmw2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* compiling MTD error
@ 2003-07-25  5:00 Yuxiao Xi
  2003-07-25 14:19 ` David Woodhouse
  0 siblings, 1 reply; 4+ messages in thread
From: Yuxiao Xi @ 2003-07-25  5:00 UTC (permalink / raw)
  To: linux-mtd

Which MTD version works well with linux kernel 2.4.17?
	

======= 2003-07-22 20:35:00 您在来信中写道:=======

>Hello,
>     My armlinux kernel version is 2.4.18 rmk6. MTD source code
>is downloaded form CVS and added to kernel tree using patch.sh.When I compiled the kernel compiler reported info as follow:
>
>drivers/mtd/mtdlink.o:In function 'put_mtd_device':
>/home/linux/drivers/mtd/mtdcore.c:225:undefined reference 'BUG_ON'
>drivers/mtd/mtdlink.o:In function 'mtdblock_writesect':
>/home/linux/drivers/mtd/mtdblock.c:251:undefined reference to 'unlikely'
>drivers/mtd/mtdlink.o:In function 'mtd_blktrans_thread':
>/home/linux/drivers/mtd/mtd/mtd_blkdevs-24.c:180:undefined reference to 'BUG_ON'
>     I have used grep searching the kernel tree ,but can not find  where
>defined 'BUG_ON' and 'unlikely'.
>Thanks.
>Gavin
>
>______________________________________________________
>Linux MTD discussion mailing list
>http://lists.infradead.org/mailman/listinfo/linux-mtd/

= = = = = = = = = = = = = = = = = = = =
			

        致
礼!

				
        Yuxiao Xi
        xiyuxiao@harbournetworks.com
          2003-07-25

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-25 14:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-22 12:35 compiling MTD error truename
2003-07-22 13:35 ` David Woodhouse
2003-07-25  5:00 Yuxiao Xi
2003-07-25 14:19 ` David Woodhouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.