u-boot error in building

Ananthapadmanaban
Hi all,
  When i try to build u-boot. iam facing this error please suggest me how
to solve this error.

libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a
rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/nand/libnand.a
drivers/nand_legacy/libnand_legacy.a drivers/usb/libusb.a
drivers/sk98lin/libsk98lin.a common/libcommon.a --end-group -L
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t
-lgcc \
      -Map u-boot.map -o u-boot
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_udivsi3.o):
In function `__aeabi_uidiv':
(.text+0x0): multiple definition of `__udivsi3'
lib_arm/libarm.a(_udivsi3.o):/media/disk/project/mini2440/build/workspace/cd/u-b
oot-1.1.6/lib_arm/_udivsi3.S:17:
first defined here
/usr/local/arm/4.3.2/bin/arm-linux-ld: ERROR: Source object
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_udivdi3.o)
has EABI version 5, but target u-boot has EABI version 0
/usr/local/arm/4.3.2/bin/arm-linux-ld: failed to merge target specific data
of file
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_udivdi3.o)
/usr/local/arm/4.3.2/bin/arm-linux-ld: ERROR: Source object
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_udivsi3.o)
has EABI version 5, but target u-boot has EABI version 0
/usr/local/arm/4.3.2/bin/arm-linux-ld: failed to merge target specific data
of file
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_udivsi3.o)
/usr/local/arm/4.3.2/bin/arm-linux-ld: ERROR: Source object
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_dvmd_lnx.o)
has EABI version 5, but target u-boot has EABI version 0
/usr/local/arm/4.3.2/bin/arm-linux-ld: failed to merge target specific data
of file
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_dvmd_lnx.o)
/usr/local/arm/4.3.2/bin/arm-linux-ld: ERROR: Source object
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_clz.o)
has EABI version 5, but target u-boot has EABI version 0
/usr/local/arm/4.3.2/bin/arm-linux-ld: failed to merge target specific data
of file
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_clz.o)
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a
(_dvmd_lnx.o):
In function `__aeabi_ldiv0':
(.text+0x8): undefined reference to `raise'
make: *** [u-boot] Error 1

Thanks and regards
Ananth

Ananthapadmanaban
Hi all, 
     Whe i try through open -embedded i still facing problem in building
u-boot

Please suggest me how u-boot can be build sucessfully


log message:
############

NOTE: util-linux-ng contains dangling symlink to /usr/sbin/shutdown
NOTE: Running task 1546 of 2120 (ID: 102,
/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/mtd/mtd-
utils-native_1.0.0+git.bb,
do_compile)
NOTE: Running task 1547 of 2120 (ID: 103,
/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/mtd/mtd-
utils-native_1.0.0+git.bb,
do_install)
NOTE: Running task 1548 of 2120 (ID: 75,
/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/makedevs
/makedevs-native_1.0.0.bb,
do_qa_configure)
NOTE: Running task 1549 of 2120 (ID: 76,
/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/makedevs
/makedevs-native_1.0.0.bb,
do_compile)
fatal: pack has bad object at offset 23836956: inflate returned -3
fatal: write error (Broken pipe)
fatal: index-pack failed
NOTE: Task failed: Fetch failed: Fetch command export
SSH_AUTH_SOCK=/tmp/keyring-GAWHnB/socket.ssh; export
PATH=/media/disk/project/mini2440/build/workspace/open-embedded/oetmp/staging/i6
86-linux/usr/bin/mini2440-angstrom-linux-gnueabi:/media/disk/project/mini2440/bu
ild/workspace/open-embedded/oetmp/staging/i686-linux/usr/bin/armv4t-angstrom-lin
ux-gnueabi:/media/disk/project/mini2440/build/workspace/open-embedded/oetmp/stag
ing/i686-linux/usr/sbin:/media/disk/project/mini2440/build/workspace/open-embedd
ed/oetmp/staging/i686-linux/usr/bin:/media/disk/project/mini2440/build/workspace
/open-embedded/oetmp/cross/armv4t/bin:/media/disk/project/mini2440/build/workspa
ce/open-embedded/oetmp/staging/i686-linux/sbin:/media/disk/project/mini2440/buil
d/workspace/open-embedded/oetmp/staging/i686-linux/bin:/usr/local/sbin:/usr/loca
l/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games;
git clone -n git://repo.or.cz/u-boot-openmoko/mini2440.git
/media/disk/project/mini2440/build/workspace/open-embedded/source/git/repo.or.cz
.u-boot-openmoko.mini2440.git
failed with signal 128, output:
Initialized empty Git repository in
/media/disk/project/mini2440/build/workspace/open-embedded/source/git/repo.or.cz
.u-boot-openmoko.mini2440.git/.git/
fatal: pack has bad object at offset 23836956: inflate returned -3
fatal: write error (Broken pipe)
fatal: index-pack failed

ERROR: TaskFailed event exception, aborting
ERROR: Build of
/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/u-boot/u
-boot_git.bb
do_fetch failed
NOTE: Running task 1550 of 2120 (ID: 77,
/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/makedevs
/makedevs-native_1.0.0.bb,
do_install)
ERROR: Task 136
(/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/u-boot/
u-boot_git.bb,
do_fetch) failed
NOTE: Waiting for 3 active tasks to finish
NOTE: 1:
/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/e2fsprog
s/e2fsprogs-native_1.38.bb,
do_compile (20544)
NOTE: 2:
/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/util-lin
ux-ng/util-linux-ng_2.14.bb,
do_package (20119)
NOTE: 3:
/media/disk/project/mini2440/build/workspace/open-embedded/base/recipes/makedevs
/makedevs-native_1.0.0.bb,
do_install (22009)
NOTE: Waiting for 2 active tasks to finish

Thanks and regards,
Ananth

Xristos
Try this blog:
http://bill.station51.net/index.php?post/2010/01/16/U-Boot-on-Mini2440