[En-Nut-Discussion] Nut/OS ARM eCross-EABI toolchain
diek
diek at dl1hbd.de
Fri Jun 8 14:00:59 CEST 2012
Hallo all,
I'm trying to develop a remote control with eNetsam7X and NUT-OS for
amateur radio.
My operating system was Ubuntu 11.10, it ran just fine with NUTOS 5.02
and the compiled binary toolchain ARM eCross-Eabi from
http://www.embedded-it.de
Now I have installed the new Kubuntu 12-04 LTS, and have big problems,
and I need some help.
I've done:
I downloaded latest version from trunk
and compiled with: . /autogen.sh --disable-nutconf
make.
It works well.
----
08:20:14: Nut/OS Configurator Version NUTCONF_VERSION
08:20:14: Linked to Qt 4.8.1, running on Linux
08:20:14: Working in /home/diek
08:20:25: OK
-----
But toolchain does not build, because arm-eCross-eabi-gcc is not recognized.
-----
08:21:51: ----- Running 'make all' -----
08:21:51: make -j5 -C arch
08:21:51: make[1]: Betrete Verzeichnis '/home/diek/trunk/nutbld/arch'
08:21:51: [CC] /home/diek/trunk/nut/arch/arm/board/enet_sam7x.c
[CC] /home/diek/trunk/nut/arch/arm/os/context.c
[CC] /home/diek/trunk/nut/arch/arm/dev/atmel/ostimer_at91.c
08:21:51: make[1]:
08:21:51: arm-eCross-eabi-gcc: Kommando nicht gefunden
08:21:51: make[1]: arm-eCross-eabi-gcc: Kommando nicht gefunden
make[1]: arm-eCross-eabi-gcc: Kommando nicht gefunden
make[1]: *** [arm/board/enet_sam7x.o] Fehler 127
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: *** [arm/os/context.o] Fehler 127
make[1]: *** [arm/dev/atmel/ostimer_at91.o] Fehler 127
make[1]: Verlasse Verzeichnis '/home/diek/trunk/nutbld/arch'
make: *** [all] Fehler 2
08:21:51: Build failed
----
The path in .bashrc is set for gcc:
export PATH=$PATH:~/arm-eCross-eabi/bin
----
I think the binaries will not be accepted.
I have downloaded the Sourcen ARM eCross EABI Toolchain-Builder inkl.
Patches
<http://www.embedded-it.de/bsp-download/arm-eCross-eabi-source-2011-02-02.tar.gz>
and try to compile.
Unfortunately, there is an error message.
---- Building gmp ------
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=32
checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... yes
checking compiler gcc -O2 -pedantic -fomit-frame-pointer has
sizeof(long)==4... no
checking compiler icc -no-gcc ... no
checking whether cc is gcc... yes
checking compiler cc -m32 -O2 -pedantic -fomit-frame-pointer ... no
checking compiler cc -O2 -pedantic -fomit-frame-pointer ... yes
checking compiler cc -O2 -pedantic -fomit-frame-pointer has
sizeof(long)==4... no
configure: error: could not find a working compiler, see config.log for
details
Error configuring gmp
diek at diek-X39:~/eCross$
-----
I can not understand this message. The working compiler gcc version
4.6.3 is available (Ubuntu / Linaro 4.6.3-1ubuntu5).
I do not know what to do here.
Is there someone who could help me a little bit to solve the problem.
Any answer would help.
Thank you very much.
Dieter
More information about the En-Nut-Discussion
mailing list