Wind River Support Network

HomeDefectsLIN5-5615
Fixed

LIN5-5615 : lms build error

Created: May 21, 2013    Updated: Mar 2, 2018
Resolved Date: Jun 8, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.4
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

lms buld error when use 4.7 toolchain

ERROR: Function failed: do_compile (see /usb/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/lms-8.0.0-7-r2.1/temp/do_compile/log.do_compile.11177 for further information)
ERROR: Logfile of failure stored in: /usb/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/lms-8.0.0-7-r2.1/temp/do_compile/log.do_compile.11177
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make
| make  all-recursive
| make[1]: Entering directory `/usb/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/lms-8.0.0-7-r2.1/lms-8.0.0-7'
| Making all in src
| make[2]: Entering directory `/usb/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/lms-8.0.0-7-r2.1/lms-8.0.0-7/src'
| haswell64-wrswrap-linux-gnu-g++   -m64 --sysroot=/usb/bitbake_build/tmp/sysroots/intel-xeon-core -DHAVE_CONFIG_H -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -O2 -pipe -g -fvisibility-inlines-hidden -Wall -c -o main.o main.cpp
| haswell64-wrswrap-linux-gnu-g++   -m64 --sysroot=/usb/bitbake_build/tmp/sysroots/intel-xeon-core -DHAVE_CONFIG_H -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -O2 -pipe -g -fvisibility-inlines-hidden -Wall -c -o LMEConnection.o LMEConnection.cpp
| haswell64-wrswrap-linux-gnu-g++   -m64 --sysroot=/usb/bitbake_build/tmp/sysroots/intel-xeon-core -DHAVE_CONFIG_H -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -O2 -pipe -g -fvisibility-inlines-hidden -Wall -c -o ConfigConnection.o ConfigConnection.cpp
| haswell64-wrswrap-linux-gnu-g++   -m64 --sysroot=/usb/bitbake_build/tmp/sysroots/intel-xeon-core -DHAVE_CONFIG_H -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -O2 -pipe -g -fvisibility-inlines-hidden -Wall -c -o Protocol.o Protocol.cpp
| Protocol.cpp: In member function 'void Protocol::_closePortForwardRequest(PortForwardRequest*)':
| Protocol.cpp:629:7: warning: variable 'found' set but not used [-Wunused-but-set-variable]
| haswell64-wrswrap-linux-gnu-g++   -m64 --sysroot=/usb/bitbake_build/tmp/sysroots/intel-xeon-core -DHAVE_CONFIG_H -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -O2 -pipe -g -fvisibility-inlines-hidden -Wall -c -o glue.o glue.cpp
| haswell64-wrswrap-linux-gnu-g++   -m64 --sysroot=/usb/bitbake_build/tmp/sysroots/intel-xeon-core -DHAVE_CONFIG_H -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -O2 -pipe -g -fvisibility-inlines-hidden -Wall -c -o ChannelGenerator.o ChannelGenerator.cpp
| haswell64-wrswrap-linux-gnu-g++   -m64 --sysroot=/usb/bitbake_build/tmp/sysroots/intel-xeon-core -DHAVE_CONFIG_H -I. -I.. -I. -I./SyncLib/Include -I./mei -I./tools  -D_LINUX  -O2 -pipe -g -fvisibility-inlines-hidden -Wall -c -o ATVersion.o `test -f 'tools/ATVersion.cpp' || echo './'`tools/ATVersion.cpp
| tools/ATVersion.cpp: In static member function 'static bool ATVersion::IsAppRunning(const char*, std::list<long unsigned int>&)':
| tools/ATVersion.cpp:155:67: error: 'readlink' was not declared in this scope
| tools/ATVersion.cpp: In static member function 'static std::string ATVersion::GetAppPathByPid(long unsigned int)':
| tools/ATVersion.cpp:194:44: error: 'readlink' was not declared in this scope
| make[2]: *** [ATVersion.o] Error 1
| make[2]: Leaving directory `/usb/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/lms-8.0.0-7-r2.1/lms-8.0.0-7/src'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/usb/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/lms-8.0.0-7-r2.1/lms-8.0.0-7'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /usb/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/lms-8.0.0-7-r2.1/temp/do_compile/run.do_compile.11177:110 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (see /usb/bitbake_build/tmp/work/intel_xeon_core-wrs-linux/lms-8.0.0-7-r2.1/temp/do_compile/log.do_compile.11177 for further information)
ERROR: Task 7 (/usb/bitbake_build/../layers/wr-intel-support/recipes-amt/lms/lms_8.0.0.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 450 tasks of which 445 didn't need to be rerun and 1 failed.
No currently running tasks (450 of 640)

Steps to Reproduce

build a intel-xeon-core project use  4.7 toolchain

Other Downloads


Live chat
Online