Re: including doc2001 and docprobe into the kernel

Levi Khatskevitch
2000-12-03T06:06:20Z

Adam,

You can add inter_module_xxx support by applying
patches/inter-module-2.2.17.patch on 2.2.17 kernel source. But if you didn't
apply patches/mtd-patch-2.2.17-20001130 please do so *before* adding any mtd
code to kernel tree. If you do everything correctly you shouldn't need
inter-module-xxx-2.2.17.patch. And don't forget to drivers/mtd/*.[ch],
include/linux/jffs.h and include/linux/mtd/*.h with the fresh ones from mtd cvs
tree *after* you've applied mtd-patch-2.2.17-20001130.

- Levi

On Sat, 02 Dec 2000, Adam Agnew wrote:
> when I try to include the millenium code right into the kernel along with
> the ntfl layer, etc i get errors
> drivers/mtd/mtdlink.o: In function `DoC_Probe':
> drivers/mtd/mtdlink.o(.text+0x26da): undefined reference to
> `inter_module_get_request'
> drivers/mtd/mtdlink.o(.text+0x26f9): undefined reference to
> `inter_module_put'
> drivers/mtd/mtdlink.o: In function `init_doc2001':
> drivers/mtd/mtdlink.o(.text.init+0x75): undefined reference to
> `inter_module_register'
> make: *** [vmlinux] Error 1
>
> I included all the module support etc... any ideas? The error goes away
> when i compile the millenium driver as a module of course.
> - adam agnew
>
>
>
> To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
--
Levi Khatskevitch
CTO
Cachier, Corp
575 Grand St., Suite E306
New York, NY 10002