COVESA/dlt-daemon

Compile error in Android

Rey-Wu opened this issue ยท 5 comments

I tried to compile it in my android R repository, bu it got a compile error shown:

ld.lld: error: undefined symbol: multiple_files_buffer_init >>> referenced by dlt-daemon.c:1248

Then I tried adding the "src/shared/dlt_multiple_files.c" into srcs of dlt-daemon and libdlt in Android.bp, and it worked for me.

Is this a mistake issue or anything missing in my enviorenment? Thank you!

Hi @Rey-Wu,
I'm also getting similar issue. This compilation issue has been introduced by PR #369. By reverting it, the issue isn't present anymore.
Your proposal solution sounds good to me ๐Ÿ‘

Hello, I would like to handle this issue!
Thank you

Hello @sebastienraillet and @Rey-Wu

FYI:
The fix is ready to be merged now with #461
DLT compilation on Android is also smooth with #462

Thank you for bringing the situation to our attention.
DLT team

Hello @sebastienraillet and @Rey-Wu ,
Please verify the fixed #461 is worked at your environments or not?

Hello @lvklevankhanh @minminlittleshrimp ,
Thanks for your fixed, it works well.