Hey guys, I’m trying to compile angstrom demo for OE following the steps on this site.
http://elinux.org/BeagleBoardAndOpenEmbeddedGit
It compiles and works successfully using “bitbake console-image”
However when I try to create the fully image using “bitbake beagleboard-demo-image”
After a couple hours I fail on:
NOTE: package guile-native-1.8.5-r0: task do_compile: started
ERROR: function do_compile failed
Looking at the log it reveals this…
make[3]: Entering directory `/home/harsha/oe/tmp/work/i686-linux/guile-native-1.8.5-r0/guile-1.8.5/libguile’
/bin/sh …/i686-linux-libtool --tag=CC --mode=compile ccache gcc -DHAVE_CONFIG_H -I… -I… -I… -isystem/home/harsha/oe/tmp/staging/i686-linux/usr/include -isystem/home/harsha/oe/tmp/staging/i686-linux/usr/include -pthread -isystem/home/harsha/oe/tmp/staging/i686-linux/usr/include -O2 -Wall -Wmissing-prototypes -Werror -MT libguile_la-async.lo -MD -MP -MF .deps/libguile_la-async.Tpo -c -o libguile_la-async.lo test -f 'async.c' || echo './'
async.c
i686-linux-libtool: compile: ccache gcc -DHAVE_CONFIG_H -I… -I… -I… -isystem/home/harsha/oe/tmp/staging/i686-linux/usr/include -isystem/home/harsha/oe/tmp/staging/i686-linux/usr/include -pthread -isystem/home/harsha/oe/tmp/staging/i686-linux/usr/include -O2 -Wall -Wmissing-prototypes -Werror -MT libguile_la-async.lo -MD -MP -MF .deps/libguile_la-async.Tpo -c async.c -fPIC -DPIC -o .libs/libguile_la-async.o
cc1: warnings being treated as errors
async.c: In function ‘scm_i_queue_async_cell’:
async.c:250: error: ignoring return value of ‘write’, declared with attribute warn_unused_result
make[3]: *** [libguile_la-async.lo] Error 1
So I realize that it is treating warnings as errors and so its failing on an unused result. What would you recommend for fixing this so I can continue on with the image building?
Thanks,
Josh