AnsweredAssumed Answered

Build problem LSDK19.09 for LS-1046AFRWY.

Question asked by Takayuki Ishii on Dec 4, 2019
Latest reply on Dec 5, 2019 by Takayuki Ishii

Hello community,

 

I try to build all image automatically for LS-1046AFRWY by following command.

 

> flex-builder -m ls1046afrwy

 

But, building apps/FMC will stop by link error as following mesage.

 

arch64-linux-gnu-g++ -L/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/apps/components_LS_arm64_ubuntu/lib -L/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/rfs/rootfs_lsdk1909_LS_arm64_main/lib -L/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/rfs/rootfs_lsdk1909_LS_arm64_main/lib/aarch64-linux-gnu -L/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/rfs/rootfs_lsdk1909_LS_arm64_main/usr/lib -Wl,-rpath=/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/rfs/rootfs_lsdk1909_LS_arm64_main/lib:/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/rfs/rootfs_lsdk1909_LS_arm64_main/lib/aarch64-linux-gnu:/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/rfs/rootfs_lsdk1909_LS_arm64_main/usr/lib:/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/rfs/rootfs_lsdk1909_LS_arm64_main/usr/lib/aarch64-linux-gnu -L. -L/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/apps/components_LS_arm64_ubuntu/lib -o fmc FMC.o FMCUtils.o FMCGenericError.o libfmc.a -lfmc -lfm -lxml2 -lm
//home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/build/rfs/rootfs_lsdk1909_LS_arm64_main/usr/lib/aarch64-linux-gnu/libicuuc.so.60: undefined reference to `icudt60_dat'
collect2: error: ld returned 1 exit status
Makefile:127: recipe for target 'fmc' failed
make[2]: *** [fmc] Error 1
make[2]: Leaving directory '/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/packages/apps/fmc/source'
Makefile:169: recipe for target 'fmc' failed
make[1]: *** [fmc] Error 2
make[1]: Leaving directory '/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019/packages/apps'
Makefile:28: recipe for target 'apps' failed
make: *** [apps] Error 2
make: Leaving directory '/home/evmuser/ls1046a/flexbuild_lsdk1909_update_221019'

 

It seems that pre-build library image of libicuuc.so have undefined reference.

So I hope to update this library.

 

Do I have to method to build pre-build rootfs library?

i.e. modify default FETCH_PREBUILT_LSDK_RFS=y to n in <flexbuild-dir>/configs/build_lsdk.cfg.

 

If you have some other method, please let me know.

 

Best regards,

Ishii.

Outcomes