[uClinux-dev] __divs3 error

markchan詹望鄉 markchan at airvast.com
Mon Mar 3 06:11:32 EST 2003

Dear all,
    I use arm-elf-gcc v2.95.3 and suffer some '__divs3' error.   I dump the
list of libgcc.a and find
there has '_divs3' but no '__divs3' inside.    How I can solve it ?   Get
new libgcc.a or add options
to ld or ...   Thanks.
Reading specs from /opt/uClinux/lib/gcc-lib/arm-elf/2.95.3/specs
gcc version 2.95.3 20010315 (release)
flash.o: In function `nand_read':
flash.o(.text+0x1ec4): undefined reference to `__udivsi3'
flash.o: In function `nand_write':
flash.o(.text+0x201c): undefined reference to `__udivsi3'
make[1]: *** [api] Error 1
make: *** [all] Error 2

Mark Chan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20030303/ffe7d2c7/attachment.html>

More information about the uClinux-dev mailing list