nanogui: How do I implement nano-X on ARM9 board(mini2440)?
Subject:
Re: [nanogui] How do I implement nano-X on ARM9 board(mini2440)?
From:
"Greg Haerr" ####@####.####
Date:
15 May 2010 15:57:51 -0000
Message-Id: <0f8301caf447$53afb580$6564a8c0@winXP>
: Source Code : microwindows-full-0.91.tar.gz
You should use the latest source on the website,
microwindows-src-snapshot.tar.gz, the v0.91 is
quite old. This isn't the cause of your problem,
I don't think though.
: arm-linux-gcc -o sample1 sample1.c -I./include/microwin -L./lib -lnano-X
:
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:
: sample1: hidden symbol `__aeabi_uidiv' in
:
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/armv4t/libgcc.a(_udivsi3.o)
: is referenced by DSO
:
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:
: final link failed: Nonrepresentable section on output
Looks like you have a problem with your cross-compiler.
Perhaps try adding -lm, or run "nm libnanoX.a" and see where the call to
uidiv
is made from which source files. This will help debug
your compiler problem. There may be another helper library
that is not installed. uidiv sounds like unsigned int divide
helper function.
Regards,
Greg