2008-06-04 03:19:52     undefined reference

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

2008-06-04 03:19:52     undefined reference

changxiu yang (CHINA)

Message: 56661   

 

hi:

 

  I meet a depressed problem when I make the u-boot-1.1.6-2008R1 .and my os is redhat linux 9.0, blackfin-toolchain-08r1-8.i386.tar.gz. here is the problem.

 

cpu/blackfin/libblackfin.a(interrupts.o):在函数‘get_timer’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/cpu/blackfin/interrupts.c:157:对‘__umulsi3_highpart’未定义的引用

lib_blackfin/libblackfin.a(board.o):在函数‘get_cclk’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:87:对‘__udivsi3’未定义的引用lib_blackfin/libblackfin.a(board.o):在函数‘get_sclk’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:101:对‘__udivsi3’未定义的引用lib_blackfin/libblackfin.a(board.o):在函数‘board_init_f’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:338:对‘__umulsi3_highpart’未定义的引用/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:338:对‘__umulsi3_highpart’未定义的引用

/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:338:对‘__umulsi3_highpart’未定义的引用net/libnet.a(tftp.o):在函数‘TftpStart’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/net/tftp.c:372:对‘__umulsi3_highpart’未定义的引用net/libnet.a(tftp.o):在函数‘TftpHandler’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/net/tftp.c:230:对‘__umulsi3_highpart’未定义的引用net/libnet.a(tftp.o):/usr/local/20062283/u-boot-1.1.6-2008R1/net/tftp.c:232:

more undefined references to `__umulsi3_highpart' follow net/libnet.a(nfs.o):

在函数‘nfs_read_reply’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/net/nfs.c:569:对‘__smulsi3_highpart’未定义的引用

/usr/local/20062283/u-boot-1.1.6-2008R1/net/nfs.c:572:对‘__smulsi3_highpart’未定义的引用drivers/libdrivers.a(cfi_flash.o):在函数‘flash_get_size’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1156:对‘__udivsi3’未定义的引用

/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1215:对‘__umulsi3_highpart’未定义的引用/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1215:对‘__umulsi3_highpart’未定义的引用/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1218:对‘__umulsi3_highpart’未定义的引用/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1218:对‘__umulsi3_highpart’未定义的引用drivers/libdrivers.a(cfi_flash.o):在函数‘flash_print_info’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:571:对‘__smulsi3_highpart’未定义的引用

 

 

 

thanks a lot

TranslateQuoteReplyEditDelete

 

 

2008-06-04 03:25:13     Re: undefined reference

Mike Frysinger (UNITED STATES)

Message: 56662   

 

verify you installed all the required toolchain packages (such as uclibc) ... read the release notes for more information

QuoteReplyEditDelete

 

 

2008-06-04 03:43:35     Re: undefined reference

changxiu yang (CHINA)

Message: 56663   

 

my toolchain is blackfin-toolchain-08r1-8.i386.tar.gz. and these tools are integrity. and the problem have puzzled me two days. thanks a lot

TranslateQuoteReplyEditDelete

 

 

2008-06-04 03:51:57     Re: undefined reference

Mike Frysinger (UNITED STATES)

Message: 56664   

 

are you saying it's working for you now ?

QuoteReplyEditDelete

 

 

2008-06-04 03:59:19     Re: undefined reference

changxiu yang (CHINA)

Message: 56665   

 

yes

TranslateQuoteReplyEditDelete

 

 

2008-06-04 04:12:02     Re: undefined reference

changxiu yang (CHINA)

Message: 56667   

 

please help me .

TranslateQuoteReplyEditDelete

 

 

2008-06-04 04:31:47     Re: undefined reference

Mike Frysinger (UNITED STATES)

Message: 56669   

 

help you with what ?  you just said things are working for you

QuoteReplyEditDelete

 

 

2008-06-04 04:38:33     Re: undefined reference

changxiu yang (CHINA)

Message: 56670   

 

but when I make the u-boot it appear a problem .here is the problem:

 

I can't solve it

 

cpu/blackfin/libblackfin.a(interrupts.o):在函数‘get_timer’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/cpu/blackfin/interrupts.c:157:对‘__umulsi3_highpart’未定义的引用

lib_blackfin/libblackfin.a(board.o):在函数‘get_cclk’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:87:对‘__udivsi3’未定义的引用lib_blackfin/libblackfin.a(board.o):在函数‘get_sclk’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:101:对‘__udivsi3’未定义的引用lib_blackfin/libblackfin.a(board.o):在函数‘board_init_f’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:338:对‘__umulsi3_highpart’未定义的引用/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:338:对‘__umulsi3_highpart’未定义的引用

/usr/local/20062283/u-boot-1.1.6-2008R1/lib_blackfin/board.c:338:对‘__umulsi3_highpart’未定义的引用net/libnet.a(tftp.o):在函数‘TftpStart’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/net/tftp.c:372:对‘__umulsi3_highpart’未定义的引用net/libnet.a(tftp.o):在函数‘TftpHandler’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/net/tftp.c:230:对‘__umulsi3_highpart’未定义的引用net/libnet.a(tftp.o):/usr/local/20062283/u-boot-1.1.6-2008R1/net/tftp.c:232:

more undefined references to `__umulsi3_highpart' follow net/libnet.a(nfs.o):

在函数‘nfs_read_reply’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/net/nfs.c:569:对‘__smulsi3_highpart’未定义的引用

/usr/local/20062283/u-boot-1.1.6-2008R1/net/nfs.c:572:对‘__smulsi3_highpart’未定义的引用drivers/libdrivers.a(cfi_flash.o):在函数‘flash_get_size’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1156:对‘__udivsi3’未定义的引用

/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1215:对‘__umulsi3_highpart’未定义的引用/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1215:对‘__umulsi3_highpart’未定义的引用/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1218:对‘__umulsi3_highpart’未定义的引用/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:1218:对‘__umulsi3_highpart’未定义的引用drivers/libdrivers.a(cfi_flash.o):在函数‘flash_print_info’中:

/usr/local/20062283/u-boot-1.1.6-2008R1/drivers/cfi_flash.c:571:对‘__smulsi3_highpart’未定义的引用

 

thank you

TranslateQuoteReplyEditDelete

 

 

2008-06-04 04:52:09     Re: undefined reference

Mike Frysinger (UNITED STATES)

Message: 56671   

 

so you're saying it is *not* working for you

 

if the only thing you installed was "blackfin-toolchain-08r1-8.i386.tar.gz", then you didnt do what i said ... your toolchain is incomplete

 

please read the documentation:

http://docs.blackfin.uclinux.org/doku.php?id=toolchain:installing

QuoteReplyEditDelete

 

 

2008-06-04 05:07:51     Re: undefined reference

changxiu yang (CHINA)

Message: 56672   

 

thank you very much

TranslateQuoteReplyEditDelete

 

 

2008-06-05 01:50:28     Re: undefined reference

changxiu yang (CHINA)

Message: 56714   

 

hello ,I don't solve the above problem still. and I read documentation carefully. My envionment variables are

 

/usr/lcoal/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-linux-uclibc/bin:/opt/uClinux/bfin-elf/bin:/opt/uClinux/bfin-elf/bfin-elf/bin:/opt/uClinux/bfin-linux-uclibc/bfin-linux-uclibc/bin:/opt/uClinux/bfin-uclinux/bfin-uclinux/bin

 

thanks a lot

 

 

TranslateQuoteReplyEditDelete

 

 

2008-06-05 01:59:40     Re: undefined reference

Mike Frysinger (UNITED STATES)

Message: 56715   

 

you said you only installed the one tarball.  i said that is not enough.  as the documentation states, you need to install one of the uclibc packages as well.

QuoteReplyEditDelete

 

 

2008-06-05 02:14:00     Re: undefined reference

changxiu yang (CHINA)

Message: 56716   

 

I have installed the

 

blackfin-toolchain-elf-gcc-4.1-08r1-8.i386.tar,

 

blackfin-toolchain-uclibc-full-08r1-8.i386.tar

 

blackfin-toolchain-08r1-8.i386.   

 

 

TranslateQuoteReplyEditDelete

 

 

2008-06-05 02:40:30     Re: undefined reference

changxiu yang (CHINA)

Message: 56718   

 

I make u-boot successful.  because I  delete a file when I start to make u-boot.

Attachments

    Outcomes