Wind River Support Network

HomeDefectsLIN6-3785
Fixed

LIN6-3785 : WRL5: How to export a static library?

Created: Jun 2, 2013    Updated: Mar 10, 2016
Resolved Date: Dec 12, 2013
Previous ID: LIN5-1148, LIN6-3010
Found In Version: 6.0
Fix Version: 6.0
Severity: Standard
Applicable for: Wind River Linux 6
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