On Sun, May 06, 2001 at 07:13:43PM +0300, Shay Deloya wrote:
> I have an old problem came up again and the old solution aren't helping.
> I'm using busybox version 0.50 and with kernel 2.2 , and inserting
> some modules ,especially those with DEBUG macroes e.g:
> #define DEBUG_HIGH(args...) {if (debug_level >= HIGH) printk(args);}
> causes the message :
> Relocation overflow of type 4 for
>
> and insmod fails.
>
> I'm compiling the modules with -mlong-calls and still getting this message.
>
> Is it insmod knowen bugs that the relocation is done in bad way or
> a linker/compiler bug. I'm using compiler: egcs ver 1.0.3a
> I'm checking this problem at the moment and looking for insmod bug.
You'll have to upgrade to very current binutils which for mips*-linux
targets default to elf32-trad{big,little}mips, not IRIX ELF format. Also
it seems your modutils are a bit rotten, get the latest from ftp.kernel.org.
Ralf
|