Just dipping my toe in here! For my initial try, I ran bitbake less. It fails as follows:- ERROR: Task 191 (/home/aga/poky/pinky-3.1/meta/packages/gmp/gmp-native_4.2.1.bb, do_compile) failed The log gets to here before multiple similar errors show:- scanf/.libs/vfscanf.o scanf/.libs/vscanf.o scanf/.libs/vsscanf.o -L/home/aga/poky/pinky-3.1/build/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath-link -Wl,/home/aga/poky/pinky-3.1/build/tmp/staging/x86_64-linux/usr/lib -Wl,-rpath -Wl,/home/aga/poky/pinky-3.1/build/tmp/staging/x86_64-linux/usr/lib -Wl,-O1 -Wl,-soname -Wl,libgmp.so.3 -o .libs/libgmp.so.3.4.1 .libs/compat.o: In function `__gmpz_fits_uint_p': compat.c:(.text+0x0): multiple definition of `__gmpz_fits_uint_p' .libs/assert.o:assert.c:(.text+0x0): first defined here .libs/compat.o: In function `__gmpz_fits_ulong_p': compat.c:(.text+0x30): multiple definition of `__gmpz_fits_ulong_p' .libs/assert.o:assert.c:(.text+0x30): first defined here......... Don't know enough to debug yet. Hope you can help. TIA. aga
I've been hit by the same bug with Poky 3.1.1
With the following workaround: #ls -l /usr/bin/gcc /usr/bin/gcc -> /usr/bin/gcc-4.3 #sudo ln -sf /usr/bin/gcc-4.2 /usr/bin/gcc found here: http://www.nabble.com/OE-Build-Problems-td19588415.html It prints some warnings when compiling: ../gmp.h:1637: warning: C99 inline functions are not supported; using GNU89 but completes.
gmp has been upgraded to version 4.2.4 which should have fixes in to work better with gcc 4.x versions. If problems still exist please open a new bug against that version with an updated error message.