Wind River Support Network

HomeDefectsLIN7-1946
Fixed

LIN7-1946 : sethdlc do_compile failed for qemumips on SLED 11.3

Created: Nov 22, 2014    Updated: Sep 8, 2018
Resolved Date: Dec 24, 2014
Found In Version: 7.0
Fix Version: 7.0.0.1
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description

wr-taf@pek-lpgtest12:qemumips-standard-glibc-std> make sethdlc

Creating project properties
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/work/qemumips-wrs-linux/sethdlc/1.0-r0/temp/do_compile/log.do_compile.11992)
ERROR: Logfile of failure stored in: /buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/work/qemumips-wrs-linux/sethdlc/1.0-r0/temp/do_compile/log.do_compile.11992
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 24 CROSS_COMPILE=mips-wrs-linux- CC=mips-wrs-linux-gcc -meb -mabi=32 -mhard-float -march=mips32r2 --sysroot=/buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/sysroots/qemumips -Wl,-O1  -Wl,--as-needed KERNEL_DIR=/buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/sysroots/qemumips/usr/src/kernel clean
| rm -f sethdlc
| NOTE: make -j 24 CROSS_COMPILE=mips-wrs-linux- CC=mips-wrs-linux-gcc -meb -mabi=32 -mhard-float -march=mips32r2 --sysroot=/buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/sysroots/qemumips -Wl,-O1  -Wl,--as-needed KERNEL_DIR=/buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/sysroots/qemumips/usr/src/kernel
| mips-wrs-linux-gcc -meb -mabi=32 -mhard-float -march=mips32r2 --sysroot=/buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/sysroots/qemumips -Wl,-O1  -Wl,--as-needed -O2 -Wall -W -Wno-long-long -pipe -I/usr/src/linux/include -I/usr/src/linux-2.6/include -o sethdlc sethdlc.c
| In file included from /usr/src/linux/include/linux/if.h:22:0,
|                  from sethdlc.c:23:
| /usr/src/linux/include/linux/types.h:13:2: warning: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" [-Wcpp]
|  #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
|   ^
| In file included from /usr/src/linux/include/linux/posix_types.h:47:0,
|                  from /usr/src/linux/include/linux/types.h:17,
|                  from /usr/src/linux/include/linux/if.h:22,
|                  from sethdlc.c:23:
| /usr/src/linux/include/asm-generic/posix_types.h:91:3: error: conflicting types for '__kernel_fsid_t'
|  } __kernel_fsid_t;
|    ^
| /buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/sysroots/qemumips/usr/include/asm/posix_types.h:26:3: note: previous declaration of '__kernel_fsid_t' was here
|  } __kernel_fsid_t;
|    ^
| Makefile:8: recipe for target 'sethdlc' failed
| make: *** [sethdlc] Error 1
| ERROR: oe_runmake failed
| WARNING: /buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/work/qemumips-wrs-linux/sethdlc/1.0-r0/temp/do_compile/run.do_compile.11992:136 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/bitbake_build/tmp/work/qemumips-wrs-linux/sethdlc/1.0-r0/temp/do_compile/log.do_compile.11992)
ERROR: Task 7 (/buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/layers/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 472 tasks of which 471 didn't need to be rerun and 1 failed.
No currently running tasks (435 of 479)

Summary: 1 task failed:
  /buildarea1/Workspace/11220024-build_world_LB18_7.0/qemumips-standard-glibc-std/layers/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb, do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [sethdlc] Error 1

Workaround

mv /usr/src/linux /usr/src/hide-linux; build; mv back.

Steps to Reproduce

wrlinux-7/wrlinux/configure --enable-board=qemumips --enable-kernel=standard --enable-rootfs=glibc-std --with-sstate-dir=/buildarea1/Workspace/SSTATE --enable-patchresolve=noop 

make sethdlc

Other Downloads


Live chat
Online