public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Cannot compile latest mtd with 2.6.10
@ 2008-06-02 23:48 Mandeep Ahuja
  2008-06-03  1:14 ` Josh Boyer
  0 siblings, 1 reply; 5+ messages in thread
From: Mandeep Ahuja @ 2008-06-02 23:48 UTC (permalink / raw)
  To: linux-mtd

Hi,
I recently check out the 'mtd' module from CVS. I have kernel 2.6.10 for 
mips malta board. I ran the patchkernel.sh script and then tried to 
compile my kernel.

I ran into this
 CHK     include/linux/version.h
make[1]: `arch/mips/kernel/offset.s' is up to date.
 CHK     include/asm-mips/offset.h
 CHK     include/linux/compile.h
 CHK     usr/initramfs_list
 CC      drivers/mtd/mtdcore.o
drivers/mtd/mtdcore.c:28: warning: type defaults to `int' in declaration 
of `DEFINE_MUTEX'
drivers/mtd/mtdcore.c:28: warning: parameter names (without types) in 
function declaration
drivers/mtd/mtdcore.c:28: warning: data definition has no type or 
storage class
drivers/mtd/mtdcore.c:31: error: `mtd_table_mutex' undeclared here (not 
in a function)
drivers/mtd/mtdcore.c:31: error: initializer element is not constant
drivers/mtd/mtdcore.c:31: error: (near initialization for 
`__ksymtab_mtd_table_mutex.value')
drivers/mtd/mtdcore.c: In function `add_mtd_device':
drivers/mtd/mtdcore.c:50: warning: implicit declaration of function 
`mutex_lock'
drivers/mtd/mtdcore.c:68: warning: implicit declaration of function 
`mutex_unlock'
drivers/mtd/mtdcore.c: At top level:
drivers/mtd/mtdcore.c:31: error: __ksymtab_mtd_table_mutex causes a 
section type conflict
make[2]: *** [drivers/mtd/mtdcore.o] Error 1
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2

Looks like some mutex problem, but the 2.6.10 does not have mutexes. How 
do I get around this problem?

Would appreciate any help
thanks
Mandeep

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

* Re: Cannot compile latest mtd with 2.6.10
  2008-06-02 23:48 Cannot compile latest mtd with 2.6.10 Mandeep Ahuja
@ 2008-06-03  1:14 ` Josh Boyer
  2008-06-03 15:47   ` Mandeep Ahuja
  2008-06-03 16:56   ` David Woodhouse
  0 siblings, 2 replies; 5+ messages in thread
From: Josh Boyer @ 2008-06-03  1:14 UTC (permalink / raw)
  To: Mandeep Ahuja; +Cc: linux-mtd

On Mon, 02 Jun 2008 17:48:04 -0600
Mandeep Ahuja <ahuja@aksysnetworks.com> wrote:

> Hi,
> I recently check out the 'mtd' module from CVS. I have kernel 2.6.10 for 
> mips malta board. I ran the patchkernel.sh script and then tried to 
> compile my kernel.

Which CVS?  The MTD CVS tree has been deprecated for a number of years
now.

josh

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

* Re: Cannot compile latest mtd with 2.6.10
  2008-06-03  1:14 ` Josh Boyer
@ 2008-06-03 15:47   ` Mandeep Ahuja
  2008-06-03 16:56   ` David Woodhouse
  1 sibling, 0 replies; 5+ messages in thread
From: Mandeep Ahuja @ 2008-06-03 15:47 UTC (permalink / raw)
  To: Josh Boyer; +Cc: linux-mtd

Hi Josh,
I checked out from here

      cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs login /(password: anoncvs)/
      cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs co mtd

I am still battling with this issue. Can you guide me from where to get the latest mtd. I am having issues mounting a JFFS2 image with whatever mtd came with 2.6.11 kernel for mipsel

regards
Mandeep



Josh Boyer wrote:

>On Mon, 02 Jun 2008 17:48:04 -0600
>Mandeep Ahuja <ahuja@aksysnetworks.com> wrote:
>
>  
>
>>Hi,
>>I recently check out the 'mtd' module from CVS. I have kernel 2.6.10 for 
>>mips malta board. I ran the patchkernel.sh script and then tried to 
>>compile my kernel.
>>    
>>
>
>Which CVS?  The MTD CVS tree has been deprecated for a number of years
>now.
>
>josh
>
>  
>

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

* Re: Cannot compile latest mtd with 2.6.10
  2008-06-03  1:14 ` Josh Boyer
  2008-06-03 15:47   ` Mandeep Ahuja
@ 2008-06-03 16:56   ` David Woodhouse
  2008-06-03 17:24     ` SPAM-LOW: " Mandeep Ahuja
  1 sibling, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2008-06-03 16:56 UTC (permalink / raw)
  To: Josh Boyer; +Cc: Mandeep Ahuja, linux-mtd

On Mon, 2008-06-02 at 20:14 -0500, Josh Boyer wrote:
> > I recently check out the 'mtd' module from CVS. I have kernel 2.6.10 for 
> > mips malta board. I ran the patchkernel.sh script and then tried to 
> > compile my kernel.
> 
> Which CVS?  The MTD CVS tree has been deprecated for a number of years
> now.

So has 2.6.10 :)

-- 
dwmw2

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

* Re: SPAM-LOW: Re: Cannot compile latest mtd with 2.6.10
  2008-06-03 16:56   ` David Woodhouse
@ 2008-06-03 17:24     ` Mandeep Ahuja
  0 siblings, 0 replies; 5+ messages in thread
From: Mandeep Ahuja @ 2008-06-03 17:24 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-mtd

But interestingly the 2.4.17 kernel still able to mount jffs2 without 
any issues
so why cant 2.6.11 do it?

David Woodhouse wrote:

>On Mon, 2008-06-02 at 20:14 -0500, Josh Boyer wrote:
>  
>
>>>I recently check out the 'mtd' module from CVS. I have kernel 2.6.10 for 
>>>mips malta board. I ran the patchkernel.sh script and then tried to 
>>>compile my kernel.
>>>      
>>>
>>Which CVS?  The MTD CVS tree has been deprecated for a number of years
>>now.
>>    
>>
>
>So has 2.6.10 :)
>
>  
>

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

end of thread, other threads:[~2008-06-03 17:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-02 23:48 Cannot compile latest mtd with 2.6.10 Mandeep Ahuja
2008-06-03  1:14 ` Josh Boyer
2008-06-03 15:47   ` Mandeep Ahuja
2008-06-03 16:56   ` David Woodhouse
2008-06-03 17:24     ` SPAM-LOW: " Mandeep Ahuja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox