* 2.6.16 compile error with latest cvs mtd source
@ 2006-03-23 12:02 Mirco Fuchs
2006-03-23 13:10 ` Josh Boyer
0 siblings, 1 reply; 3+ messages in thread
From: Mirco Fuchs @ 2006-03-23 12:02 UTC (permalink / raw)
To: linux-mtd
Hello,
i have a problem compiling the 2.6.16 kernel for my csb637 board. I think this
is an mtd related question because it works without patching the kernel
against the mtd source code.
I have gcc 3.4.4 and binutils 2.16 and glibx 2.3.5.
The first step was compiling the 2.6.16 kernel without patching against the
mtd cvs sources. --> The compilation was successfull.
But patching the kernel against the head of the mtd cvs repo resulted in the
following warnings and errors:
(I used the command 'patchkernel.sh -2cyv $KERNELDIR' for patching)
...
CC drivers/mtd/mtdcore.o
CC drivers/mtd/mtdpart.o
CC drivers/mtd/mtdconcat.o
CC drivers/mtd/cmdlinepart.o
CC drivers/mtd/mtdchar.o
CC drivers/mtd/mtdblock.o
CC drivers/mtd/mtd_blkdevs.o
CC drivers/mtd/chips/chipreg.o
CC drivers/mtd/chips/cfi_probe.o
CC drivers/mtd/chips/cfi_util.o
CC drivers/mtd/chips/cfi_cmdset_0020.o
drivers/mtd/chips/cfi_cmdset_0020.c: In function `cfi_staa_init':
drivers/mtd/chips/cfi_cmdset_0020.c:1417: Warnung: »inter_module_register« ist veraltet (deklariert bei
include/linux/module.h:571)
drivers/mtd/chips/cfi_cmdset_0020.c: In function `cfi_staa_exit':
drivers/mtd/chips/cfi_cmdset_0020.c:1423: Warnung: »inter_module_unregister« ist veraltet (deklariert bei
include/linux/module.h:572)
CC drivers/mtd/chips/cfi_cmdset_0001.o
drivers/mtd/chips/cfi_cmdset_0001.c: In function `cfi_intelext_init':
drivers/mtd/chips/cfi_cmdset_0001.c:2458: Warnung: »inter_module_register« ist veraltet (deklariert bei
include/linux/module.h:571)
drivers/mtd/chips/cfi_cmdset_0001.c:2459: Warnung: »inter_module_register« ist veraltet (deklariert bei
include/linux/module.h:571)
drivers/mtd/chips/cfi_cmdset_0001.c:2460: Warnung: »inter_module_register« ist veraltet (deklariert bei
include/linux/module.h:571)
drivers/mtd/chips/cfi_cmdset_0001.c: In function `cfi_intelext_exit':
drivers/mtd/chips/cfi_cmdset_0001.c:2466: Warnung: »inter_module_unregister« ist veraltet (deklariert bei
include/linux/module.h:572)
drivers/mtd/chips/cfi_cmdset_0001.c:2467: Warnung: »inter_module_unregister« ist veraltet (deklariert bei
include/linux/module.h:572)
drivers/mtd/chips/cfi_cmdset_0001.c:2468: Warnung: »inter_module_unregister« ist veraltet (deklariert bei
include/linux/module.h:572)
CC drivers/mtd/chips/gen_probe.o
drivers/mtd/chips/gen_probe.c: In function `cfi_cmdset_unknown':
drivers/mtd/chips/gen_probe.c:210: Warnung: »inter_module_put« ist veraltet (deklariert bei
include/linux/module.h:575)
LD drivers/mtd/chips/built-in.o
LD drivers/mtd/devices/built-in.o
CC drivers/mtd/maps/physmap.o
LD drivers/mtd/maps/built-in.o
LD drivers/mtd/nand/built-in.o
LD drivers/mtd/onenand/built-in.o
LD drivers/mtd/built-in.o
...
CC lib/kref.o
CC lib/prio_tree.o
CC lib/radix-tree.o
CC lib/rbtree.o
CC lib/rwsem-spinlock.o
CC lib/sha1.o
CC lib/string.o
CC lib/vsprintf.o
AR lib/lib.a
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o: In function `cfi_cmdset_unknown':
drivers/mtd/chips/gen_probe.c:203: undefined reference to `inter_module_get_request'
drivers/mtd/chips/gen_probe.c:210: undefined reference to `inter_module_put'
drivers/built-in.o: In function `cfi_staa_init':
drivers/mtd/chips/cfi_cmdset_0020.c:1417: undefined reference to `inter_module_register'
drivers/built-in.o: In function `cfi_intelext_init':
drivers/mtd/chips/cfi_cmdset_0001.c:2458: undefined reference to `inter_module_register'
drivers/mtd/chips/cfi_cmdset_0001.c:2459: undefined reference to `inter_module_register'
drivers/mtd/chips/cfi_cmdset_0001.c:2460: undefined reference to `inter_module_register'
make: *** [.tmp_vmlinux1] Fehler 1
Are there any suggestions?
Note: I patched the 2.6.15 kernel against the head of the mtd cvs repo which
resulted in a successfully compilation.
regards
Mirco
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.6.16 compile error with latest cvs mtd source
2006-03-23 12:02 Mirco Fuchs
@ 2006-03-23 13:10 ` Josh Boyer
0 siblings, 0 replies; 3+ messages in thread
From: Josh Boyer @ 2006-03-23 13:10 UTC (permalink / raw)
To: Mirco Fuchs; +Cc: linux-mtd
On 3/23/06, Mirco Fuchs <mircofuchs@web.de> wrote:
> Hello,
>
> i have a problem compiling the 2.6.16 kernel for my csb637 board. I think this
> is an mtd related question because it works without patching the kernel
> against the mtd source code.
>
> I have gcc 3.4.4 and binutils 2.16 and glibx 2.3.5.
>
> The first step was compiling the 2.6.16 kernel without patching against the
> mtd cvs sources. --> The compilation was successfull.
>
> But patching the kernel against the head of the mtd cvs repo resulted in the
> following warnings and errors:
>
> (I used the command 'patchkernel.sh -2cyv $KERNELDIR' for patching)
Did you enable CONFIG_OBSOLETE_INTERMODULE in your .config? That was
added in the 2.6.16 kernel because the inter_module stuff should
really go away sometime.
Alternatively, the MTD subsystem should also probably select that
Kconfig option so users don't see this. But MTD needs a sync anyway.
josh
^ permalink raw reply [flat|nested] 3+ messages in thread
* 2.6.16 compile error with latest cvs mtd source
@ 2006-03-24 7:16 Mirco Fuchs
0 siblings, 0 replies; 3+ messages in thread
From: Mirco Fuchs @ 2006-03-24 7:16 UTC (permalink / raw)
To: linux-mtd
Thanks for your fast reply.
>> Hello,
>>>
>> i have a problem compiling the 2.6.16 kernel for my csb637 board. I think this
>> is an mtd related question because it works without patching the kernel
>> against the mtd source code.
>>
>> I have gcc 3.4.4 and binutils 2.16 and glibx 2.3.5.
>>
>> The first step was compiling the 2.6.16 kernel without patching against the
>> mtd cvs sources. --> The compilation was successfull.
>>
>> But patching the kernel against the head of the mtd cvs repo resulted in the
>> following warnings and errors:
>>
>> (I used the command 'patchkernel.sh -2cyv $KERNELDIR' for patching)
>Did you enable CONFIG_OBSOLETE_INTERMODULE in your .config? That was
>added in the 2.6.16 kernel because the inter_module stuff should
>really go away sometime.
>Alternatively, the MTD subsystem should also probably select that
>Kconfig option so users don't see this. But MTD needs a sync anyway.
I do not find CONFIG_OBSOLETE_INTERMODULE in my .config file, is there a
patch concering this?
Mirco
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-03-24 7:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-24 7:16 2.6.16 compile error with latest cvs mtd source Mirco Fuchs
-- strict thread matches above, loose matches on Subject: below --
2006-03-23 12:02 Mirco Fuchs
2006-03-23 13:10 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox