Uruk Olog wrote: > Hi. When I patch my kernel with > savagefb-0.3.2-linux-2.4.26.patch.bz2, everything > seems to be ok. ... > -o vmlinux > local symbol 0: discarded in section `.text.exit' from > drivers/video/video.o > make: *** [vmlinux] Error 1 > > I am using the kernel from Debian and not the straight > linus kernel, if that matters.
I last tried with a plain 2.4.26 from kernel.org, and it worked fine. You could try to remove the __exit from savage_done(), or move the module_exit into the #ifdef MODULE, or maybe you need to rename init_module() and add a module_init() for it... The error you get is pretty obscure, so you need to experiment. HTH, Johannes
