Date
1 - 1 of 1
avr32 build problem
Martin Bures
I am new to OE and trying to build for AVR32. I followed the guide and
successfully built the minimal-image in the beginners guide so things
seem to be setup and configured correctly.
In my local.conf file, I set these variables: TARGET_OS = “linux-uclibc” MACHINE = “atngw100″ DISTRO = “angstrom-2008.1″ ANGSTROMLIBC = “uclibc” I then executed the command: bitbake minimal-image The operation goes along just fine for a while but then it errors out with: ... | make[2]: Leaving directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/hwclock' | Making all in partx | make[2]: Entering directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/partx' | make[2]: Nothing to be done for `all'. | make[2]: Leaving directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/partx' | Making all in mount | make[2]: Entering directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/mount' | make -C ../libs/blkid/src | make[3]: Entering directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/libs/blkid/src' | Making all in probers | make[4]: Entering directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/libs/blkid/src/probers' | /bin/sh ../../../../avr32-angstrom-linux-uclibc-libtool --tag=CC --mode=compile ccache avr32-angstrom-linux-uclibc-gcc -march=ap -DHAVE_CONFIG_H -I. -I../../../.. -include ../../../../config.h -I../../../../include -DLOCALEDIR=\"/usr/share/locale\" -I../../../../libs/blkid/src -isystem/home/martin/stuff/tmp/staging/avr32-angstrom-linux-uclibc/usr/include -fsigned-char -isystem/home/martin/stuff/tmp/staging/avr32-angstrom-linux-uclibc/usr/include -Os -fomit-frame-pointer -MT cramfs.lo -MD -MP -MF .deps/cramfs.Tpo -c -o cramfs.lo cramfs.c | avr32-angstrom-linux-uclibc-libtool: compile: ccache avr32-angstrom-linux-uclibc-gcc -march=ap -DHAVE_CONFIG_H -I. -I../../../.. -include ../../../../config.h -I../../../../include -DLOCALEDIR=\"/usr/share/locale\" -I../../../../libs/blkid/src -isystem/home/martin/stuff/tmp/staging/avr32-angstrom-linux-uclibc/usr/include -fsigned-char -isystem/home/martin/stuff/tmp/staging/avr32-angstrom-linux-uclibc/usr/include -Os -fomit-frame-pointer -MT cramfs.lo -MD -MP -MF .deps/cramfs.Tpo -c cramfs.c -fPIC -DPIC -o .libs/cramfs.o | In file included from cramfs.c:19: | ../../../../libs/blkid/src/blkidP.h:324: error: expected declaration specifiers or '...' before 'va_list' | make[4]: *** [cramfs.lo] Error 1 | make[4]: Leaving directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/libs/blkid/src/probers' | Making all in . | make[4]: Entering directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/libs/blkid/src' | /bin/sh ../../../avr32-angstrom-linux-uclibc-libtool --tag=CC --mode=compile ccache avr32-angstrom-linux-uclibc-gcc -march=ap -DHAVE_CONFIG_H -I. -I../../.. -include ../../../config.h -I../../../include -DLOCALEDIR=\"/usr/share/locale\" -I../../../libs/blkid/src -isystem/home/martin/stuff/tmp/staging/avr32-angstrom-linux-uclibc/usr/include -fsigned-char -isystem/home/martin/stuff/tmp/staging/avr32-angstrom-linux-uclibc/usr/include -Os -fomit-frame-pointer -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c -o cache.lo cache.c | avr32-angstrom-linux-uclibc-libtool: compile: ccache avr32-angstrom-linux-uclibc-gcc -march=ap -DHAVE_CONFIG_H -I. -I../../.. -include ../../../config.h -I../../../include -DLOCALEDIR=\"/usr/share/locale\" -I../../../libs/blkid/src -isystem/home/martin/stuff/tmp/staging/avr32-angstrom-linux-uclibc/usr/include -fsigned-char -isystem/home/martin/stuff/tmp/staging/avr32-angstrom-linux-uclibc/usr/include -Os -fomit-frame-pointer -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.c -fPIC -DPIC -o .libs/cache.o | In file included from cache.c:33: | blkidP.h:324: error: expected declaration specifiers or '...' before 'va_list' | make[4]: *** [cache.lo] Error 1 | make[4]: Leaving directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/libs/blkid/src' | make[3]: *** [all-recursive] Error 1 | make[3]: Leaving directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/libs/blkid/src' | make[2]: *** [../libs/blkid/src/libblkid.la] Error 2 | make[2]: Leaving directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15/mount' | make[2]: Entering directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15' | make[2]: Nothing to be done for `all-am'. | make[2]: Leaving directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/util-linux-ng-2.15' | make: *** [all] Error 2 | FATAL: oe_runmake failed NOTE: Task failed: /home/martin/stuff/tmp/work/avr32-angstrom-linux-uclibc/util-linux-ng-2.15-r6/temp/log.do_compile.10906 ERROR: TaskFailed event exception, aborting ERROR: Build of /home/martin/stuff/openembedded/recipes/util-linux-ng/util-linux-ng_2.15.bb do_compile failed ERROR: Task 168 (/home/martin/stuff/openembedded/recipes/util-linux-ng/util-linux-ng_2.15.bb, do_compile) failed NOTE: Waiting for 1 active tasks to finish NOTE: 1: /home/martin/stuff/openembedded/recipes/modutils/modutils-initscripts.bb, do_populate_staging (11248) NOTE: Tasks Summary: Attempted 775 tasks of which 774 didn't need to be rerun and 1 failed. ERROR: '/home/martin/stuff/openembedded/recipes/util-linux-ng/util-linux-ng_2.15.bb' failed Any thoughts would be greatly appreciated. I have included the log file. Thanks. martin. |
|