linux-mips
[Top] [All Lists]

Re: Unknown Synbol:__gp_disp

To: kaka <share.kt@gmail.com>, linux-mips@linux-mips.org, uclinux-dev@uclinux.org, linux-fbdev-users@lists.sourceforge.net
Subject: Re: Unknown Synbol:__gp_disp
From: sathesh babu <sathesh_edara2003@yahoo.co.in>
Date: Wed, 31 Oct 2007 10:21:40 +0000 (GMT)
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=OMr1j68/GNKk6XX8bUPO6WUjILO/aDDB1MFOfIkyi7yyrOI6bux5FghxCdvMSBeaEN4mBIHfdHeWwptkgP+ESIKIHkwyjVQ7XICqYfp+u+mqxx+zHIQWIDawSJ4wJxbqyci6zb3VTujIHD6pKLVUw5Rq2CGEEsQfkLfjDRC2Khc=;
In-reply-to: <eea8a9c90710300215l2fdd9bf6u2238f1f9d8f1d66e@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi,
  Please use "-mno-pic -mno-abicalls -G 0" cflags along with kernel  cflags  to build the your  module.
 
Regards,
Sathesh


kaka <share.kt@gmail.com> 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.
<Prev in Thread] Current Thread [Next in Thread>