public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Karl Pitrich <pit@root.at>
To: linux-mtd@lists.infradead.org
Subject: 2.2.17 + mtd (current cvs) problems
Date: 19 Sep 2002 20:49:03 +0200	[thread overview]
Message-ID: <1032461343.3579.383.camel@warp.root.at> (raw)

hi.

i took a vanilla 2.2.17, used patchin.sh to apply mtd-2.2.17.patch and
make necessary links.

a) i had to change some #includes, ie. for spinlock.h which is expected
in include/linux but resides in include/asm.

b) i applied yhis patch found on the mailinglist because of compile
error.

include/linux/kmod.h

-#define request_module(x) do {} while(0)
+static inline int request_module(const char *name)
+{
+       return -EINVAL;
+}


c) now, my current 'make zImage' error is as follows. (see below)

recursive grepping for daemonize() yields no match.
as far as i can see, 'thread_sem' is reasonably defined.
any help greatly appreciated.

/ karl


gcc version 2.96 20000731

make[3]: Entering directory
`/home/pit/embedded/kernel/linux/drivers/mtd'
cc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-fr
ame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -m386
-DCPU=386   -c
 -o mtdblock.o mtdblock.c
mtdblock.c:470: warning: type defaults to `int' in declaration of
`DECLARE_MUTEX
_LOCKED'
mtdblock.c:470: warning: parameter names (without types) in function
declaration
mtdblock.c: In function `mtdblock_thread':
mtdblock.c:503: `thread_sem' undeclared (first use in this function)
mtdblock.c:503: (Each undeclared identifier is reported only once
mtdblock.c:503: for each function it appears in.)
mtdblock.c: In function `cleanup_mtdblock':
mtdblock.c:654: `thread_sem' undeclared (first use in this function)
mtdblock.c:662: array subscript is not an integer
mtdblock.c: At top level:
mtdblock.c:667: warning: type defaults to `int' in declaration of
`module_init'
mtdblock.c:667: warning: parameter names (without types) in function
declaration
mtdblock.c:667: warning: data definition has no type or storage class
mtdblock.c:668: warning: type defaults to `int' in declaration of
`module_exit'
mtdblock.c:668: warning: parameter names (without types) in function
declaration
mtdblock.c:668: warning: data definition has no type or storage class
mtdblock.c:51: warning: `mtdblock_lock' defined but not used
mtdblock.c:470: warning: `DECLARE_MUTEX_LOCKED' declared `static' but
never defi
ned
mtdblock.c:651: warning: `cleanup_mtdblock' defined but not used

                 reply	other threads:[~2002-09-19 18:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1032461343.3579.383.camel@warp.root.at \
    --to=pit@root.at \
    --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