News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

Developer Environment

Started by wauwau, January 10, 2010, 15:38:28

Previous topic - Next topic

wauwau

Hi,

I trie to set up a developer environment for the VOMP Client.
I used the makedevenv-5 and -6 scripts and tried on Ubuntu 8.10 (did not work)
and then Ubuntu 6.06 (as 6.10 is not fully supported any more -> repositories etc.)

Both script obviously have problems with the crosstoosl and end in the errror


+ cd /home/bd/6/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5
+ echo Build binutils
Build binutils
+ mkdir -p build-binutils
+ cd build-binutils
+ test '!' -f Makefile
+ /home/bd/6/crosstool/crosstool-0.43/build/powerpc-405-linux-gnu/gcc-3.4.5-glibc-2.2.5/binutils-2.15/configure --target=powerpc-405-linux-gnu --host=i686-host_pc-linux-gnulibc1 --prefix=/home/bd/6/crosstool/gcc-3.4.5-glibc-2.2.5/powerpc-405-linux-gnu --disable-nls --with-sysroot=/home/bd/6/crosstool/gcc-3.4.5-glibc-2.2.5/powerpc-405-linux-gnu/powerpc-405-linux-gnu
creating cache ./config.cache
checking host system type... i686-host_pc-linux-gnulibc1
checking target system type... powerpc-405-linux-gnu
checking build system type... i686-host_pc-linux-gnulibc1
checking for a BSD compatible install... /usr/bin/install -c
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
*** The command '/usr/bin/gcc -o conftest -g -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.



As I am very new to crosscompiling; whats' wrong here?


Suggestion: Maybe providing the Environment as a virutal machine (as i prepare on my system could help and ease life
BR

Chris

Hi, do you have the package libc6-dev installed on your system? If not, install that and give it another go on Ubuntu 8.10. I'm fairly certain I tested the script on 8.10.