Rockbox Development > Starting Development and Compiling

comiling with ubuntu?

<< < (2/3) > >>

m6arate:
a bunch of "not found" errors occurred. Heres a copy:


--- Quote ---mike@mike-desktop:~/My Stuff/rockbox/1/rockbox$ sudo tools/rockboxdev.sh
Download directory: /home/mike/tmp (edit script to change dir)
Install prefix: /usr/local/[target] (edit script to change dir)
Build dir: /home/mike/build-rbdev (edit script to change dir)
you have a /home/mike/build-rbdev dir already, please remove and rerun
mike@mike-desktop:~/My Stuff/rockbox/1/rockbox$ sudo tools/rockboxdev.sh
Download directory: /home/mike/tmp (edit script to change dir)
Install prefix: /usr/local/[target] (edit script to change dir)
Build dir: /home/mike/build-rbdev (edit script to change dir)

Select target arch:
s   - sh       (Archos models)
m   - m68k     (iriver h1x0/h3x0, ifp7x0 and iaudio)
a   - arm      (ipods, iriver H10, Sansa, etc)
all - all three compilers
a
== Summary ==
Target: arm-elf
gcc 4.0.3
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
ROCKBOXDEV: extracting binutils-2.16.1 in /home/mike/build-rbdev
ROCKBOXDEV: extracting gcc-4.0.3 in /home/mike/build-rbdev
ROCKBOXDEV: mkdir build-binu
ROCKBOXDEV: cd build-binu
ROCKBOXDEV: binutils/configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... arm-unknown-elf
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
ROCKBOXDEV: binutils/make
tools/rockboxdev.sh: 276: make: not found
ROCKBOXDEV: binutils/make install to /usr/local/arm-elf
tools/rockboxdev.sh: 276: make: not found
ROCKBOXDEV: mkdir build-gcc
ROCKBOXDEV: cd build-gcc
ROCKBOXDEV: gcc/configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... arm-unknown-elf
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
ROCKBOXDEV: gcc/make
tools/rockboxdev.sh: 276: make: not found
ROCKBOXDEV: gcc/make install to /usr/local/arm-elf
tools/rockboxdev.sh: 276: make: not found
done

Make your PATH include :/usr/local/arm-elf/bin
mike@mike-desktop:~/My Stuff/rockbox/1/rockbox$

--- End quote ---

bluebrother:
you need to install a couple of development tools for your system, especially make and gcc. Search your package manager for them.

m6arate:
did that, still spit out errors


--- Quote ---mike@mike-desktop:~/My Stuff/rockbox/1/rockbox$ sudo tools/rockboxdev.sh
Download directory: /home/mike/tmp (edit script to change dir)
Install prefix: /usr/local/[target] (edit script to change dir)
Build dir: /home/mike/build-rbdev (edit script to change dir)

Select target arch:
s   - sh       (Archos models)
m   - m68k     (iriver h1x0/h3x0, ifp7x0 and iaudio)
a   - arm      (ipods, iriver H10, Sansa, etc)
all - all three compilers
a
== Summary ==
Target: arm-elf
gcc 4.0.3
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
ROCKBOXDEV: extracting binutils-2.16.1 in /home/mike/build-rbdev
ROCKBOXDEV: extracting gcc-4.0.3 in /home/mike/build-rbdev
ROCKBOXDEV: mkdir build-binu
ROCKBOXDEV: cd build-binu
ROCKBOXDEV: binutils/configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnulibc1
checking target system type... arm-unknown-elf
checking build system type... i686-pc-linux-gnulibc1
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... i686-pc-linux-gnulibc1
checking target system type... arm-unknown-elf
checking build system type... i686-pc-linux-gnulibc1
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
mike@mike-desktop:~/My Stuff/rockbox/1/rockbox$

--- End quote ---

bluebrother:
why don't you just read the output yourself?

--- Quote ---configure: error: installation or configuration problem: C compiler cannot create executables.
--- End quote ---
Should be pretty much self explanating -- something is missing from your gcc installation. Maybe there's a "development" meta package that installs everything needed for compiling?

Spug:
Yes, it's called "build-essential".

Also:

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

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version