Re: Unknown Synbol:__gp_disp

sathesh babu <[email protected]> Wed, 31 Oct 2007 10:21:40 +0000 (GMT)
Newsgroups gmane.linux.ports.mips.general,gmane.linux.uclinux.devel,gmane.linux.fbdev.user
Message-ID <[email protected]>
--0-847549657-1193826100=:49894
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi,
    Please use "-mno-pic -mno-abicalls -G 0" cflags along with kernel  cflags  to build the your  module.
   
  Regards,
  Sathesh
  

kaka <[email protected]> wrote:
    Hi All,
   
  While installing the driver by insmod cmd. i am getting the above error, Unknown Synbol:__gp_disp,
  I have added ``-fno-pic -mno-abicalls'' option in the make file as 
   
    $(BCM_OBJ_DIR)/%.o: %.c
  @echo '$(CC) -c $(notdir $<)'
  @$(CC) -fno-pic -mno-abicalls -MMD -c $(CFLAGS) $< -o $@
   
  I tried by adding those symbols in the CFLAGS
  CFLAGS += -fno-pic -mno-abicalls.
  But it didn't help my cause.
  Could anybody plz look in to the error and reply?
  Thanks in advance


-- 
Thanks & Regards,
kaka 




       
---------------------------------
 Bring your gang together - do your thing.  Start your group.
--0-847549657-1193826100=:49894
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div>Hi,</div>  <div>&nbsp; Please use "<FONT size=2>-mno-pic -mno-abicalls -G 0" cflags along with </FONT>kernel &nbsp;cflags&nbsp; to build the your &nbsp;module.</div>  <div>&nbsp;</div>  <div>Regards,</div>  <div>Sathesh<FONT size=2></div>  <div></FONT><BR><BR><B><I>kaka &lt;[email protected]&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV>Hi All,</DIV>  <DIV>&nbsp;</DIV>  <DIV>While installing the driver by insmod cmd. i am getting the above error, Unknown Synbol:__gp_disp,</DIV>  <DIV>I have added ``-fno-pic -mno-abicalls'' option in the make file as </DIV>  <DIV>&nbsp;</DIV>  <DIV><FONT size=2>  <div>$(BCM_OBJ_DIR)/%.o: %.c</div>  <div>@echo '$(CC) -c $(notdir $&lt;)'</div>  <div>@$(CC) -fno-pic -
 mno-abicalls -MMD -c $(CFLAGS) $&lt; -o $@</div>  <div>&nbsp;</div>  <div>I tried by adding those symbols in the CFLAGS</div><FONT size=2>  <div>CFLAGS +=&nbsp;-fno-pic
 -mno-abicalls.</div>  <div>But it didn't help my cause.</div>  <div>Could anybody plz look in to the error and reply?</div>  <div>Thanks in advance</div></FONT></FONT><BR clear=all><BR>-- <BR>Thanks &amp; Regards,<BR>kaka </DIV><BR clear=all><BR></BLOCKQUOTE><BR><p>&#32;


      <!--2--><hr size=1></hr> Bring your gang together - do your thing. <a href="http://in.rd.yahoo.com/tagline_groups_2/*http://in.promos.yahoo.com/groups"> Start your group.</a>
--0-847549657-1193826100=:49894--