Can't build fmc for debian

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Can't build fmc for debian

1,676 次查看
tsungmin_wang
Contributor III

Hi NXP,

OS: Ubuntu 20.04

LSDK: 21.08

 

I want to build apps for debian. But there is an error when building fmc.

 

flex-builder -i mkrfs -r debian -a  arm64
flex-builder -c apps -r debian 

 

 

The error code:

 

a - spa/fm_sp_private.o
a - spa/htbl.o
a - spa/lex._fmsp_assembler_yy.o
/usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: cannot find -lxml2
collect2: error: ld returned 1 exit status

 

 

I have installed libxml2-dev, but it doesn't work.

0 项奖励
回复
1 回复

1,663 次查看
ed_swarthout
NXP Employee
NXP Employee

I see the same issue with the Debian build.  libxml2-dev is correctly installed in build/rfs/, but not the version expected by the tool so it creates a dangling symlink.  Even after working around this I still see an  issue, so I'll open up an internal problem report.

EdS

0 项奖励
回复