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

Compiling open62541 using wllvm fails #154

Open
lijunqiang123 opened this issue May 8, 2024 · 0 comments
Open

Compiling open62541 using wllvm fails #154

lijunqiang123 opened this issue May 8, 2024 · 0 comments

Comments

@lijunqiang123
Copy link

lijunqiang123 commented May 8, 2024

Hello, I am currently using wllvm to compile the library open62541 (https://github.com/open62541/open62541). However, during the process of compiling the library, it displays: WARNING: Cannot attach bitcode path to "CMakeFiles/open62541-object.dir/src/ua_types.c.o of type UNKNOWN. Finally, the extra-bc command does not work properly.

The following is some information. I don’t know how I can compile it successfully? Thank you for your input.

System: Ubuntu 20.04
software: open62541  (v1.3.5)

Command used:

export LLVM_COMPILER=clang
cmake -DCMAKE_C_COMPILER=wllvm ../
make

image

extract-bc libopen62541.a

image

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

No branches or pull requests

1 participant