Openmoko build / Rebuild vs -dev

Andy Green andy at
Thu Apr 17 13:45:14 CEST 2008

Hash: SHA1

Somebody in the thread at some point said:

Hi John -

| cd ~/moko/build
| svn co

Some feedback on instructions.  I had to add

OEDIR = ~/moko

(actually, my path is different, but that is consistent with the rest of
the instructions) before the following:

| vim conf/local.conf, add
| BBFILES := "${OEDIR}/build/packages/*/*.bb

After that a monstrous build action began that failed after an hour and
apparently 149 builds of ~1100:

| scanf/.libs/vsscanf.o: In function `__gmpz_perfect_square_p':
| vsscanf.c:(.text+0x3b0): multiple definition of `__gmpz_perfect_square_p'
| .libs/assert.o:assert.c:(.text+0x405): first defined here
| scanf/.libs/vsscanf.o: In function `__gmpz_neg':
| vsscanf.c:(.text+0x3cc): multiple definition of `__gmpz_neg'
| .libs/assert.o:assert.c:(.text+0x421): first defined here
| scanf/.libs/vsscanf.o: In function `__gmpz_abs':
| vsscanf.c:(.text+0x3df): multiple definition of `__gmpz_abs'
| .libs/assert.o:assert.c:(.text+0x434): first defined here
| collect2: ld returned 1 exit status
| make[2]: *** [] Error 1
| make[2]: Leaving directory
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed:
NOTE: package gmp-native-4.2.1-r2: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package gmp-native-4.2.1: failed
ERROR: Build of
do_compile failed
ERROR: Task 596
do_compile) failed
NOTE: Tasks Summary: Attempted 149 tasks of which 0 didn't need to be
rerun and 1 failed.

So first thanks again for the step-by-step.

Second any idea about gmp-native problem?

Third, why is this rebuilding 1191 packages?  Why isn't it getting a
merely sufficient set of -dev and lib packages and installing them on
the host so I can build against them?  I only needed tslib, glibc or
whatever.  I could install other -dev as I saw I needed them.

- -Andy
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -


More information about the distro-devel mailing list