[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Error compiling latest benh



I'm compiling a benh rsync from this morning, I decided to compile the IRDA stuff into the kernel, but I fail with:

net/network.o: In function `irda_cleanup':
net/network.o(.text.exit+0x108): undefined reference to `irttp_cleanup'
net/network.o(.text.exit+0x108): relocation truncated to fit: R_PPC_REL24 irttp_cleanup

Looking at irttp.c, I see that irttp_cleanup is surrounding by #ifdef MODULE, so it makes sense that it is not getting built, but it is still getting called irsyms.c.

I'm going to try taking out the #ifdef MODULE, but I thought I'd ask the list and see if I'm missing the "right" way to do this.

-raf
--
______________________________________________________________________
Eric: I want to live in a world where software doesn't suck //////////
Richard: Any software that isn't free sucks ////////// rafial@well.com
Linus: I'm interested in free beer ///// <http://www.3roses.com/> ////



Reply to: