Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yizhao1
Copy link

@yizhao1 yizhao1 commented Jan 1, 2024

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

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

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant