Re: relocation truncated to fit
From: Ralf Baechle <hidden>
Date: 2005-05-25 10:50:03
From: Ralf Baechle <hidden>
Date: 2005-05-25 10:50:03
On Wed, May 25, 2005 at 11:51:43AM +0300, Jerry wrote:
drivers/sound/sounddrivers.o: In function `sound_insert_unit': sound_core.c:(.text+0x1ac): undefined reference to `strcpy' sound_core.c:(.text+0x1ac): relocation truncated to fit: R_MIPS_26 against `strcpy' make[1]: *** [vmlinux] Ошибка 1 make[1]: Leaving directory `/work/video/kernel' make: *** [vmlinux] Ошибка 2 It's not a "sound drivers" problem, howewer without it kernel compiles and run succesfully. Seems like gcc/bunitils bug/feature. What have to be done to eliminate this error? GNU ld version 2.15.96 20050308 gcc version 3.4.3
Don't use gcc 3.4 to compile Linux 2.4. It may work for some kernel configurations but it will fail for others. Ralf