linux-mips
[Top] [All Lists]

error:Unhandled relocation of type 7 for

To: "linux-mips" <linux-mips@linux-mips.org>
Subject: error:Unhandled relocation of type 7 for
From: "李建坤" <li_jiankun@hotmail.com>
Date: Thu, 17 Feb 2005 11:23:06 +0800
Original-recipient: rfc822;linux-mips@linux-mips.org
Resent-date: Mon, 21 Feb 2005 11:57:45 +0000
Resent-from: root@ftp.linux-mips.org
Resent-to: linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi everyone,

  I has been developing drivers for AMD MIPS CPU Au1x00, but I encounted some 
problems, maybe you could help me!

  I cross-complile my kernel with options:
  make CFLAGS="-D__KERNEL__ -I/work/opt/target/root/ljk/pda_linux/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe 
-fno-pic -mno-abicalls -mlong-calls -fomit-frame-pointer -I 
/work/opt/target/root/ljk/pda_linux/include/asm/gcc -G 0 -mno-abicalls -fno-pic 
-pipe -mcpu=r4600 -mips2 -Wa,--trap " -C  arch/mips/lib

  and then I compile my driver modules with following options:
  mips_fp_le-gcc  -D__KERNEL__ -DMODULE=1 
-I/opt/target/root/ljk/pda_linux/include -O2  -DLINUX -Wall -Wstrict-prototypes 
-fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe 
-DALSA_BUILD -nostdinc -iwithprefix include -fno-pic -mno-abicalls -mlong-calls

  but when I want to insmod this modules, the errors come:
  insmod snd-page-alloc.o
  snd-page-alloc.o: Unhandled relocation of type 7 for
  snd-page-alloc.o: Unhandled relocation of type 7 for
  snd-page-alloc.o: Unhandled relocation of type 7 for
  snd-page-alloc.o: Unhandled relocation of type 7 for
  snd-page-alloc.o: Unhandled relocation of type 7 for
  snd-page-alloc.o: Unhandled relocation of type 7 for
  snd-page-alloc.o: Unhandled relocation of type 7 for
  snd-page-alloc.o: Unhandled relocation of type 7 for
  snd-page-alloc.o: Unhandled relocation of type 7 for
  snd-page-alloc.o: Unhandled relocation of type 7 for
  
  Have you come up with these problems? and Could you help me or give me some 
suggestions?
  Thank you in advance! 

             li_jiankun@hotmail.com
          2005-02-17
?鳕??,??点@烹?搞\?j3角
<Prev in Thread] Current Thread [Next in Thread>