Al Johnson wrote:
On Monday 16 July 2007 11:38, Jeff Rush wrote:
Al Johnson wrote:
I was going to suggest this too. This is the approach taken for the
Neuros OSD, another linux-based device. It would give a known-working
build and test environment, rather than having potential developers
spending time trying to put such an environment together. Mokomakefile is
good, but I just can't get the qemu to build under gentoo.
A good idea re providing a VM. BTW, I run Gentoo also and QEMU using
Mokomakefile built with no problems here. Are you trying to do it with GCC
4.x? It supposedly is a known bug and you need to use GCC 3.x.
Fortunately you can have both installed at the same time and use them where
needed. I have GCC 3.x set as the default compiler.
# equery list gcc
[I--] [ -] sys-devel/gcc-3.4.6-r2 (3.4)
[I--] [ -] sys-devel/gcc-4.1.2 (4.1)
I have both too, and use gcc-config to switch when emerging qemu. If I select
3.4.6 with gcc-config then run 'make qemu' mtn complains:
mtn: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6:
version 'GLIBCXX_3.4.6' not found (required by mtn)
mtn: /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libstdc++.so.6:
version 'CXXABI_1.3.1' not found (required by mtn)
Makefile: 28: *** Cannot determine version for monotone using "mtn -version".
Stop.
Hmm, the interesting thing there is that monotone requires a *double* dash for
long options, so manually doing "mtn -version" will indeed fail. In my
Makefile re the MokoMakefile, I have it with a double dash:
MTN_VERSION := $(shell mtn --version | awk '{ print $$2; }')
... in case this helps at all. I don't see any way to determine the version
of Makefile I have.
-Jeff
_______________________________________________
OpenMoko community mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/community