public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jon Schlueter <jonschl@umd.umich.edu>
To: linux-mtd@lists.infradead.org
Subject: Re: CVS compile errors
Date: Tue, 06 Apr 2004 21:13:47 -0400	[thread overview]
Message-ID: <407355CB.8000602@umd.umich.edu> (raw)
In-Reply-To: <200404041421.11425.tglx@linutronix.de>



Thomas Gleixner wrote:

 >
> I'm in the middle of an overhaul of nand stuff. I modified the id structure 
> and forgot to adjust the doc stuff. I have a look into it
> 

Hello,


I think I found another missed update but I'm not sure.


I used CVS to pull down the whole mtd tree on 4-5-2004 after those 
changes were posted.

I used the automatic kernel patch script

When I get the following error when I compile the kernel modules

I am using the 2.4.25 kernel


make -C devices modules
make[3]: Entering directory `/usr/src/linux-2.4.25/drivers/mtd/devices'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.25/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486 
-DMODULE  -nostdinc -iwithprefix include -DKBUILD_BASENAME=doc2000  -c 
-o doc2000.o doc2000.c
doc2000.c: In function `DoC_IdentChip':
doc2000.c:415: structure has no member named `page256'
doc2000.c: In function `DoC2k_init':
doc2000.c:601: warning: assignment from incompatible pointer type
doc2000.c:602: warning: assignment from incompatible pointer type
doc2000.c: In function `doc_writev_ecc':
doc2000.c:1026: warning: passing arg 7 of `doc_write_ecc' makes integer 
from pointer without a cast
make[3]: *** [doc2000.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.25/drivers/mtd/devices'
make[2]: *** [_modsubdir_devices] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.25/drivers/mtd'
make[1]: *** [_modsubdir_mtd] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.25/drivers'
make: *** [_mod_drivers] Error 2



CONFIG_MTD=y
CONFIG_NFTL=m
CONFIG_NFTL_RW=m
CONFIG_INFTL=m
CONFIG_MTD_DOC2000=m
CONFIG_MTD_DOC2001=m
CONFIG_MTD_DOC2001PLUS=m
CONFIG_MTD_DOCPROBE=m
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_IDS=y



Side Note:

I haven't been able to determine exactly what I need to compile to 
support my DiskOnChip  M02202-D256 chip with the 5.1.2 firmware from 
M-Systems.  Am I on the right path to getting it working?


Thanks,

Jon Schlueter

  parent reply	other threads:[~2004-04-07  1:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-04 12:21 CVS compile errors Kalev Lember
2004-04-04 12:21 ` Thomas Gleixner
2004-04-04 12:34   ` Thomas Gleixner
2004-04-04 15:03     ` Kalev Lember
2004-04-07  1:13   ` Jon Schlueter [this message]
2004-04-07  5:47     ` andreas.huebner
2004-04-07  8:14       ` Thomas Gleixner
2004-04-07  8:15     ` Thomas Gleixner
2004-04-07  8:27     ` Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=407355CB.8000602@umd.umich.edu \
    --to=jonschl@umd.umich.edu \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox