On Tue, Jan 29, 2002 at 09:55:49AM -0800, Peter Jay Salzman wrote: > i've been incapable of compiling a kernel for almost a month now; linking > always fails: > > drivers/char/char.o(.data+0x46b4): undefined reference to `local > symbols in discarded section .text.exit' > drivers/net/net.o(.data+0x154): undefined reference to `local symbols > in discarded section .text.exit' make: *** [vmlinux] Error 1 > > i understand the problem is some kind of technical detail where the > kernel linking stage relied on the linker being too forgiving about > something. i've read the details on google, but don't fully understand > the problem. > > anyway, the issue is, i'd like to recompile my kernel. > > is there a fix for this problem other than downgrading my linker? you need to wrap the right bits in devexit_p. Try a mor e recent kernel - pre patch or whatever regards john -- "In no sense is [in]stability a reason to move to a new version. It's never a reason." - Bill Gates -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/