[Yaffs] link error (unresolved reference __aeabi_uldivmod) i…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: John S Leslie
Date:  
To: yaffs
Subject: [Yaffs] link error (unresolved reference __aeabi_uldivmod) in kernel build

I am attempting to configure yaffs2 into the kernel, and the linker errors
out thusly:

  LD      .tmp_vmlinux1
fs/built-in.o: In function `yaffs_internal_read_super':
yaffs_mtdif2.c:(.text+0x59a34): undefined reference to `__aeabi_uldivmod'


Searching ml:yaffs didn't yield any related threads. Please, guidance or
gentle correction would be most appreciated!

target: DaVinci 6446
toolchain: Montavista, based on linux 2.6.18, gcc version 4.2.0
-bash-3.00$ arm_v5t_le-gcc -v
Using built-in specs.
Target: armv5tl-montavista-linux-gnueabi
Configured with: ../configure --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu --target=armv5tl-montavista-linux-gnueabi
--prefix=/opt/montavista/foundation/devkit/arm/v5t_le
--exec-prefix=/opt/montavista/foundation/devkit/arm/v5t_le
--bindir=/opt/montavista/foundation/devkit/arm/v5t_le/bin
--sbindir=/opt/montavista/foundation/devkit/arm/v5t_le/sbin
--sysconfdir=/opt/montavista/foundation/devkit/arm/v5t_le/etc
--datadir=/opt/montavista/foundation/devkit/arm/v5t_le/share
--includedir=/opt/montavista/foundation/devkit/arm/v5t_le/include
--libdir=/opt/montavista/foundation/devkit/arm/v5t_le/lib
--libexecdir=/opt/montavista/foundation/devkit/arm/v5t_le/libexec
--localstatedir=/opt/montavista/foundation/devkit/arm/v5t_le/var
--sharedstatedir=/opt/montavista/foundation/devkit/arm/v5t_le/share
--mandir=/opt/montavista/foundation/devkit/arm/v5t_le/man
--infodir=/opt/montavista/foundation/devkit/arm/v5t_le/info
--build=i686-pc-linux-gnu --program-transform-name=s,^,arm_v5t_le-,
--enable-cross --enable-poison-system-directories
--with-sysroot=/opt/montavista/foundation/devkit/arm/v5t_le/target
--with-build-sysroot=/opt/montavista/foundation/devkit/arm/v5t_le/target
--with-build-time-tools=/opt/montavista/foundation/devkit/arm/v5t_le/bin
--enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99
--enable-long-long --enable-threads=posix
--with-gxx-include-dir=/opt/montavista/foundation/devkit/arm/v5t_le/lib/gcc/armv5tl-montavista-linux-gnueabi/4.2.0/../../../../target/usr/include/c
++/4.2.0 --disable-libmudflap --disable-libssp --disable-libgomp
--with-gnu-as --with-gnu-ld --enable-symvers=gnu --enable-checking=release
--with-numa-policy=yes --disable-multilib --enable-clocale=gnu
--with-float=soft --with-cpu=arm10tdmi --with-interwork --with-arch=armv5t
--with-tune=arm10tdmi
--libexecdir=/opt/montavista/foundation/devkit/arm/v5t_le/lib
--with-bugurl=http://www.mvista.com/support --with-versuffix='MontaVista
4.2.0-16.0.32.0801914 2008-08-30'
Thread model: posix
gcc version 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)
-bash-3.00$