Wind River Support Network

HomeDefectsLIN5-1167
Fixed

LIN5-1167 : WRL5: How to export a static library?

Created: Jun 2, 2013    Updated: Dec 19, 2017
Resolved Date: Nov 10, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.5
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Toolchain

Description

"sysroot" included only dynamic library(*.so), I can not find any static library(*.a).

Workaround

$ cd project_dir/bitbake_build/tmp/sysroots/
$ find | grep librt
copy the static library to the exporting sysroot.

Steps to Reproduce

1) make export-sdk
2) wrlinux-5.0.1.*-sdk.sh
3) cd <export path>
4) find | grep librt
==> "sysroot" did not include librt.a(static library).

./x86_64-wrlinuxsdk-linux/lib/librt-2.15.so
./x86_64-wrlinuxsdk-linux/lib/librt.so.1
./fsl_t4xxx-wrs-linux/usr/lib/librt.so
./fsl_t4xxx-wrs-linux/lib/librt-2.15.so
./fsl_t4xxx-wrs-linux/lib/librt.so.1
./fsl_t4xxx-wrs-linux/lib/.debug/librt-2.15.so
./fsl_t4xxx-wrs-linux/lib/.debug/librt.so.1

Other Downloads


Live chat
Online