Rockbox Development > Starting Development and Compiling

error in building the tools on debian etch

(1/4) > >>

scharkalvin:
I am following the directions to build the tools in
http://www.rockbox.org/twiki/bin/view/Main/CrossCompiler
for the "automatic build".  I downloaded the latest souces and
as root executed the rockboxdev.sh script.  
I am running amd64 debian etch.

I am getting the following output to running the script:

== Summary ==
Target: arm-elf
gcc 4.0.3
gcc patch thumb-interwork-4.0.3.diff
binutils 2.16.1
install in /usr/local/arm-elf
when complete, make your PATH include /usr/local/arm-elf/bin
binutils 2.16.1 already downloaded
gcc 4.0.3 already downloaded
thumb-interwork-4.0.3.diff already downloaded
ROCKBOXDEV: extracting binutils-2.16.1 in /tmp/rbdev-build
ROCKBOXDEV: extracting gcc-4.0.3 in /tmp/rbdev-build
ROCKBOXDEV: applying gcc patch
patching file ./gcc-4.0.3/gcc/config/arm/t-arm-elf
ROCKBOXDEV: mkdir build-binu
ROCKBOXDEV: cd build-binu
ROCKBOXDEV: binutils/configure
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... arm-unknown-elf
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
ROCKBOXDEV: binutils/make
make: *** No targets specified and no makefile found.  Stop.
ROCKBOXDEV: binutils/make install to /usr/local/arm-elf
make: *** No rule to make target `install'.  Stop.
ROCKBOXDEV: mkdir build-gcc
ROCKBOXDEV: cd build-gcc
ROCKBOXDEV: gcc/configure
creating cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... arm-unknown-elf
checking build system type... x86_64-unknown-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
ROCKBOXDEV: gcc/make
make: *** No targets specified and no makefile found.  Stop.
ROCKBOXDEV: gcc/make install to /usr/local/arm-elf
make: *** No rule to make target `install'.  Stop.
done

Make your PATH include :/usr/local/arm-elf/bin

the "set" command shows the PATH variable as:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11

also
ls /usr/local
yeilds:
bin  etc  games  include  jre1.6.0_01  jre-6u1-linux-amd64.bin  lib  man  sbin  share  src

krazykit:
It sounds like you don't have your toolchain set up in Debian.  Try running "aptitude install build-essential" as root, then re-running rockboxdev.sh

scharkalvin:

--- Quote ---It sounds like you don't have your toolchain set up in Debian.  Try running "aptitude install build-essential" as root, then re-running rockboxdev.sh
--- End quote ---

Debian must have changed in recent years.  In the past GCC et-al was always installed by default.  Ubuntu requires that you install the tools.  Anyway I did apt-get install gcc.
I'll try the build essential target and see what happens.

scharkalvin:
Thanks, that seems to have done it.
Egad's, Debian has become Ubuntuized!  This is the first
time I had to install code generation tools in Debian.
Wasn't like that up till and including Woody.
(I just switched from Gentoo to Etch, and it's a bit of a shock.
I really liked Gentoo, but it finally got terminally broken due to
the developers not knowing when to keep their fingers out of
the plumbing....)

GodEater:

--- Quote from: scharkalvin on October 02, 2007, 09:37:43 PM ---I really liked Gentoo, but it finally got terminally broken due to
the developers not knowing when to keep their fingers out of
the plumbing....)

--- End quote ---

OT:

Odd - my gentoo install is still working fine...

Navigation

[0] Message Index

[#] Next page

Go to full version