Linux MIPS Architecture development
 help / color / mirror / Atom feed
* AW: GCC and Modules
@ 2001-07-25  9:12 Andre.Messerschmidt
  2001-07-25 11:24 ` Ralf Baechle
  2001-07-25 14:02 ` AW: " Ian Soanes
  0 siblings, 2 replies; 5+ messages in thread
From: Andre.Messerschmidt @ 2001-07-25  9:12 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips

Hi.

> He's refering to the last official release of binutils which indeed wasn't
> usable for modutils.
> 
I compiled the tools by myself but the problems remain.
My module should only print a message using printk, but I can't get it to
run.

Here are my results:
> insmod module.o
insmod: unresolved symbol _gp_disp

Module compiled with -mno-abicalls and -no-half-pic (as someone in the
archives mentioned)
> insmod module.o
Warning: unhandled reloc 9
insmod: Unhandled relocation of type 9 for
Warning: unhandled reloc 11
insmod: Unhandled relocation of type 11 for printk
Warning: unhandled reloc 9
insmod: Unhandled relocation of type 9 for
Warning: unhandled reloc 11
insmod: Unhandled relocation of type 11 for printk

Does anybody know what the problem is?

regards
--
Andre Messerschmidt

Application Engineer
Infineon Technologies AG

^ permalink raw reply	[flat|nested] 5+ messages in thread
* AW: GCC and Modules
@ 2001-07-25 11:43 Andre.Messerschmidt
  0 siblings, 0 replies; 5+ messages in thread
From: Andre.Messerschmidt @ 2001-07-25 11:43 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips


> -fno-pic you mean.  Half PIC is meaningless under Linux.
> 
I must confess that I don't know what these options actually do.
Nevertheless even with this option the result is the same. :-(
Any other ideas?

best regards
Andre

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-25 17:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-25  9:12 AW: GCC and Modules Andre.Messerschmidt
2001-07-25 11:24 ` Ralf Baechle
2001-07-25 14:02 ` AW: " Ian Soanes
2001-07-25 17:00   ` Ralf Baechle
  -- strict thread matches above, loose matches on Subject: below --
2001-07-25 11:43 Andre.Messerschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox