linux-mips
[Top] [All Lists]

Re: GCC and Modules

To: Andre.Messerschmidt@infineon.com
Subject: Re: GCC and Modules
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Wed, 25 Jul 2001 13:24:55 +0200
Cc: linux-mips@oss.sgi.com
In-reply-to: <86048F07C015D311864100902760F1DDFF0016@dlfw003a.dus.infineon.com>; from Andre.Messerschmidt@infineon.com on Wed, Jul 25, 2001 at 11:12:47AM +0200
References: <86048F07C015D311864100902760F1DDFF0016@dlfw003a.dus.infineon.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Wed, Jul 25, 2001 at 11:12:47AM +0200, Andre.Messerschmidt@infineon.com 
wrote:

> 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)

-fno-pic you mean.  Half PIC is meaningless under Linux.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>