building mtd: put_module_symbol?
Qiuyuan Liu
q.liu at acm.org
Mon Oct 30 15:12:30 EST 2000
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 at infradead.org
More information about the linux-mtd
mailing list