Following instructions on MokoMakefile on the OpenMoko wiki.
did the following:
~/moko2$ wget http://www.rwhitby.net/files/openmoko/Makefile
~/moko2$ make setup
Hmm. It's downloading stuff from trunk/src/target/OM-2007.2, I wonder if that's correct.
then did
~/moko2$ make update-makefile
~/moko2$ make setup-machine-om-gta02
~/moko2$ nice make image
Aborted with ctrl-c, fixed PARELLEL_MAKE, BB_NUMBER_THREADS to 2 in local.conf for faster build. Otherwise it didn't use my CPU fully. I think I'll have to increase it more. It's probably limited by the hard drive speed.
failed compiling gcc, with the following error in build/tmp/work/i686-linux/gcc-native-3.4.4-r7/temp/log.do_compile.20773:
In function 'open',
inlined from 'collect_execute' at /home/erl/moko2/build/tmp/work/i686-linux/gcc-native-3.4.4-r7/gcc-3.4.4/gcc/collect2.c:1537:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments
Fixed this by adding S_IRWXU as third parameter to open on the offending line, and reran 'nice make image'
Another crash building qemu.
Replaced
Ending this entry now, as I'll let the build go on and check up on it later.
No comments:
Post a Comment