Adrian Bunk wrote: > On Wed, Nov 27, 2002 at 03:45:24PM -0500, Bill Davidsen wrote: > ./drivers/net/tulip/de2104x.o(.data+0x74): undefined reference to `local > symbols in discarded section .exit.text' > > > In drivers/net/tulip/de2104x.c the function de_remove_on is __exit but > the pointer to it is __devexit_p. > > Two possible solutions: > > 1. Make this driver hot-pluggable. Jeff Garzik vetoes against this > solution. > > 2. Change the __devexit_p to an #ifdef MODULE (it's ugly, but it lets > the driver compiles with all combinations of config options without > making it hot-pluggable): As noted in the #warning, solution 3 (__exit_p) is the preferred one ;-) Bill Irwin wrote up the patch to fix things The Right Way(tm). The attached patch from Bill should eliminate all compile errors and warnings. Jeff