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

Re: Kernel 2.2.10 compilation failure...



>>>>> "Andreas" == Andreas Jaehnigen <jaehnias@IMS.Uni-Stuttgart.DE> writes:
    Andreas> arch/sparc/kernel/kernel.o: In function
    Andreas> `sun4m_init_timers':
    Andreas> arch/sparc/kernel/kernel.o(.text.init+0x10c): undefined
    Andreas> reference to `prom_apply_obio_ranges'
    Andreas> arch/sparc/kernel/kernel.o(.text.init+0x10c): relocation
    Andreas> truncated to fit: R_SPARC_WDISP30 prom_apply_obio_ranges

In application code that normally means you should compile with -fPIC
instead of -fpic.  I have no idea if it applies for kernel builds as I
don't recall whether the kernel is built with -fpic in the first
place.

-- 
Stephen
 --- 
"If 8-year-old boys discharging loaded firearms into their own legs
isn't necessary to the maintenance of a well-regulated militia, I
don't know what is." - Randal Cummings as reported in The Onion, 25/5/99


Reply to: