2008-01-17 04:13:22     How to resolve link error " R_BFIN_GOT12 against `vtmp' "

Document created by Aaronwu Employee on Aug 5, 2013
Version 1Show Document
  • View in full screen mode

2008-01-17 04:13:22     How to resolve link error " R_BFIN_GOT12 against `vtmp' "

Zeyan Lu (CHINA)

Message: 49719    Hi,

 

        I try to place my driver (see the attachment for source codes ) in unlinux kernel,  but when I make the kernel I meet this problem , can anybody help me resolve this issue.

-----------------------------------------------------------------------------------------------

ws1:/home/bfin/uc# make

make ARCH=blackfin CROSS_COMPILE=bfin-uclinux- -j1 -C linux-2.6.x  || exit 1

make[1]: Entering directory `/home/bfin/uc/linux-2.6.x'

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CHK     include/linux/compile.h

  LD      drivers/char/built-in.o

  LD      drivers/built-in.o

  GEN     .version

  CHK     include/linux/compile.h

  UPD     include/linux/compile.h

  CC      init/version.o

  LD      init/built-in.o

  LD      .tmp_vmlinux1

drivers/built-in.o: In function `ff_bfin_idct':

(.l1.text+0x8b2): relocation truncated to fit: R_BFIN_GOT12 against `coefs'

drivers/built-in.o: In function `ff_bfin_idct':

(.l1.text+0x8b6): relocation truncated to fit: R_BFIN_GOT12 against `vtmp'

drivers/built-in.o: In function `ff_bfin_fdct':

------------------------------------------------------------------------------------------------------

 

thank you in advance

Zeyan Lu

idct_bfin.S

QuoteReplyEditDelete

 

 

2008-01-17 04:35:18     Re: How to resolve link error " R_BFIN_GOT12 against `vtmp' "

Mike Frysinger (UNITED STATES)

Message: 49720    the kernel is not an FDPIC ELF, so you cannot use FDPIC relocations in it

Attachments

    Outcomes