lkml.org 
[lkml]   [2000]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectModules and "Relocation overflow of type 4" (??)

Hello,

I'm trying to run syncppp on Cobalt Qube2 boxen and it runs fine when I
build it as static (i.e., built-in to the kernel).

However, if I try to run it as a module ...

# gcc -D__KERNEL__ -I/usr/src/linux-2.0.34C52_SK/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -G 0
-mno-abicalls -fno-pic -mcpu=r8000 -mips2 -mmad -pipe -DMODULE -c -o
syncppp.o syncppp.c

(no compilation errors)

# insmod syncppp.o

syncppp.o: Relocation overflow of type 4 for add_timer
syncppp.o: Relocation overflow of type 4 for del_timer
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for netif_rx
syncppp.o: Relocation overflow of type 4 for kfree_skb
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for add_timer
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for alloc_skb
syncppp.o: Relocation overflow of type 4 for memcpy
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for dev_queue_xmit
syncppp.o: Relocation overflow of type 4 for alloc_skb
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for dev_queue_xmit
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for add_timer
syncppp.o: Relocation overflow of type 4 for del_timer
syncppp.o: Relocation overflow of type 4 for kmalloc
syncppp.o: Relocation overflow of type 4 for memcpy
syncppp.o: Relocation overflow of type 4 for kfree
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for sprintf
syncppp.o: Relocation overflow of type 4 for sprintf
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for printk
syncppp.o: Relocation overflow of type 4 for dev_add_pack
syncppp.o: Relocation overflow of type 4 for dev_remove_pack


The kernel for the Cobalt Qube2 boxen is a Cobalt-crafted 2.0.34.

Does anybody have a clue on what could be the problem here???

Thanks in advance for your help.

Regards,
Ivan


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.044 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site