public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Qiuyuan Liu <q.liu@acm.org>
To: mtd@infradead.org
Subject: building mtd: put_module_symbol?
Date: Mon, 30 Oct 2000 12:12:30 -0800	[thread overview]
Message-ID: <39FDD62E1B8.9E6AQ.LIU@mail.neontech.com> (raw)
In-Reply-To: <39F94471.D0E5F971@auriga.ru>

Thank you, Nick.

I installed the linux-2.2.17.tar.gz directly on my box. 
Now I got the following 3 new errors:

1. where is put_module_symbol defined referred in mtd/map.h:
do_map_probe().


2. set_current_state redefinition

 * $Id: cfi_cmdset_0001.c,v 1.41 2000/10/19 14:26:34 nico Exp $

#if LINUX_VERSION_CODE < 0x20300
#define set_current_state(x) current->state = (x);	//line 36:
#endif

 * mtd/include/compatmac.h
 * $Id: compatmac.h,v 1.6 2000/10/23 16:56:28 sjhill Exp $

#if LINUX_VERSION_CODE < 0x20300
#define set_current_state(state_value)                        \		//line : 203 
        do { current->state = (state_value); } while (0)
#endif


3. physmap.c, line 65:
'CONFIG_MTD_PHYSMAP_BUSWIDTH' undeclared here (not in a function)
initializer elemennt for 'physmap_map.buswidth' is not constant

error exit.

struct map_info physmap_map = {
	name: "Physically mapped flash",
	size: WINDOW_SIZE,
	buswidth: BUSWIDTH,	// line 65
	read8: physmap_read8,
	read16: physmap_read16,
	read32: physmap_read32,
	copy_from: physmap_copy_from,
	write8: physmap_write8,
	write16: physmap_write16,
	write32: physmap_write32,
	copy_to: physmap_copy_to
};


Thank you,
Qiuyuan Liu



To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

  reply	other threads:[~2000-10-30 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-27  2:38 building mtd: DECLARE_MUTEX? Qiuyuan Liu
2000-10-27  9:01 ` Nick Ivanter
2000-10-30 20:12   ` Qiuyuan Liu [this message]
2000-10-30 20:38     ` building mtd: put_module_symbol? David Woodhouse

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=39FDD62E1B8.9E6AQ.LIU@mail.neontech.com \
    --to=q.liu@acm.org \
    --cc=mtd@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