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

Daemon fails to link due to defmt::Format in shared module #22

Closed
jhillyerd opened this issue Nov 14, 2023 · 0 comments · Fixed by #26
Closed

Daemon fails to link due to defmt::Format in shared module #22

jhillyerd opened this issue Nov 14, 2023 · 0 comments · Fixed by #26

Comments

@jhillyerd
Copy link
Owner

Link error

  = note: libshared-3e2ca247db402027.rlib(shared-3e2ca247db402027.1is3ssorg636z1x8.rcgu.o) : error LNK2019: unresolved external symbol _defmt_panic referenced in function _ZN67_$LT$shared..message..FromHost$u20$as$u20$defmt..traits..Format$GT$6format17hc8f02d8590871a7fE
          libshared-3e2ca247db402027.rlib(shared-3e2ca247db402027.1is3ssorg636z1x8.rcgu.o) : error LNK2019: unresolved external symbol _defmt_acquire referenced in function _ZN67_$LT$shared..message..FromHost$u20$as$u20$defmt..traits..Format$GT$6format17hc8f02d8590871a7fE
          libdefmt-de32a935595c884a.rlib(defmt-de32a935595c884a.defmt.8127735c-cgu.12.rcgu.o) : error LNK2001: unresolved external symbol _defmt_acquire
          libshared-3e2ca247db402027.rlib(shared-3e2ca247db402027.1is3ssorg636z1x8.rcgu.o) : error LNK2019: unresolved external symbol _defmt_release referenced in function _ZN67_$LT$shared..message..FromHost$u20$as$u20$defmt..traits..Format$GT$6format17hc8f02d8590871a7fE
          libdefmt-de32a935595c884a.rlib(defmt-de32a935595c884a.defmt.8127735c-cgu.12.rcgu.o) : error LNK2001: unresolved external symbol _defmt_release
          libdefmt-de32a935595c884a.rlib(defmt-de32a935595c884a.defmt.8127735c-cgu.12.rcgu.o) : error LNK2019: unresolved external symbol _defmt_flush referenced in function _ZN5defmt5flush17hb44d4f3445fe4dd2E
          libdefmt-de32a935595c884a.rlib(defmt-de32a935595c884a.defmt.8127735c-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol _defmt_write referenced in function _ZN5defmt6export3f3217hb6cc6eaf14790788E
          libdefmt-de32a935595c884a.rlib(defmt-de32a935595c884a.defmt.8127735c-cgu.6.rcgu.o) : error LNK2001: unresolved external symbol _defmt_write
          libdefmt-de32a935595c884a.rlib(defmt-de32a935595c884a.defmt.8127735c-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol _defmt_timestamp referenced in function _ZN5defmt6export6header17hb2075eafbfa3cab4E
          C:\Users\james\Documents\GitHub\hw-gauge\target\debug\deps\hw_gauge_winsvc.exe : fatal error LNK1120: 6 unresolved externals

Possible fix in knurling-rs/defmt#673 (comment)

@jhillyerd jhillyerd linked a pull request Nov 16, 2023 that will close this issue
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 a pull request may close this issue.

1 participant