vsomeip icon indicating copy to clipboard operation
vsomeip copied to clipboard

test/common/CMakeLists.txt: add missing link with dlt

Open yizhao1 opened this issue 1 year ago • 2 comments

The libvsomeip_utilities library uses functions e.g. dlt_check_library_version/dlt_register_app/dlt_unregister_app which are provided by dlt therefore add it to linker flags.

Fixes: x86_64-poky-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: dlt_check_library_version

referenced by test/common/libvsomeip_utilities.so

x86_64-poky-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: dlt_register_app

referenced by test/common/libvsomeip_utilities.so

x86_64-poky-linux-ld.lld: error: undefined reference due to --no-allow-shlib-undefined: dlt_unregister_app

referenced by test/common/libvsomeip_utilities.so

yizhao1 avatar Jan 01 '24 09:01 yizhao1