Fixed
Created: Mar 31, 2014
Updated: Dec 3, 2018
Resolved Date: Apr 16, 2014
Found In Version: 6.0
Fix Version: 6.0.0.6
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config
Error message should be more specific about the host environment issues
Using Workbench I am trying to build a wrlinux 6 Intel 64 bit QEMU image and I keep getting the error below.
gcc -fno-strict-aliasing -isystem/net/van-cleef/van-cleef-03-nbu/philm/ws335/qemu-ia64_prj/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -pipe -std=gnu99 -Wall -W -Wextra -fPIC -D_LARGEFILE64_SOURCE -D_ATFILE_SOURCE -m32 -DPSEUDO_PREFIX='"/net/van-cleef/van-cleef-03-nbu/philm/ws335/qemu-ia64_prj/bitbake_build/tmp/sysroots/x86_64-linux/usr"' -DPSEUDO_SUFFIX='""' -DPSEUDO_BINDIR='"bin"' -DPSEUDO_LIBDIR='"lib/pseudo/lib"' -DPSEUDO_LOCALSTATEDIR='"var/pseudo"' -DPSEUDO_VERSION='"1.5.1"' -DUSE_MEMORY_DB -DPSEUDO_FORCE_ASYNC -O2 -g -L/net/van-cleef/van-cleef-03-nbu/philm/ws335/qemu-ia64_prj/bitbake_build/tmp/sysroots/x86_64-linux/usr/lib -I/net/van-cleef/van-cleef-03-nbu/philm/ws335/qemu-ia64_prj/bitbake_build/tmp/sysroots/x86_64-linux/usr/include -D_GNU_SOURCE -c -o pseudo_wrappers.o pseudo_wrappers.c
| In file included from /usr/include/assert.h:37:0,
| from pseudo_wrappers.c:20:
| /usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
| compilation terminated.
| make: *** [pseudo_wrappers.o] Error 1
| ERROR: oe_runmake failed
| WARNING: Can't find stubs-32.h, but usually need it to build 32-bit libpseudo.
| WARNING: If the build fails, install 32-bit developer packages.
| WARNING: If you are using 32-bit binaries, the 32-bit libpseudo is NOT optional.
| ERROR: Function failed: do_compile (log file is located at /net/van-cleef/van-cleef-03-nbu/philm/ws335/qemu-ia64_prj/bitbake_build/tmp/work/x86_64-linux/pseudo-native/1.5.1-r5/temp/do_compile/log.do_compile.12584)
NOTE: recipe pseudo-native-1.5.1-r5: task do_compile: Failed
ERROR: Task 75 (virtual:native:/net/van-cleef/van-cleef-03-nbu/philm/ws335/qemu-ia64_prj/layers/oe-core/meta/recipes-devtools/pseudo/pseudo_1.5.1.bb, do_compile) failed with exit code '1'
The error message suggest to install 32 bit developer packages but the WR installer tells me I have installed everything!
The issue is actually on the host side environment. The error message should be more explicit about this with something like:
| WARNING: If the build fails, install 32-bit developer packages on your host native environment.
or something along those lines.