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
undefined reference to `crfsuite_instance_init_n' #44
Comments
hi @walpoletim-bjss can you give us a few more details the rust version and rustfmt version you are using ? |
Hi - Thanks for the swift reply.. rustfmt -V gives the following |
I am just trying with the nightly build Exactly the same problem with this build I am afraid |
`rustfmt -V`
Le lun. 14 mai 2018 à 22:13, walpoletim <notifications@github.com> a écrit :
… How do I get the rustfmt version?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABaqOABEOKopDYyLr_vobxsKFhmMsGf1ks5tyeVsgaJpZM4T9RvM>
.
|
Yep -got it rustfmt 0.6.1-nightly (0f8029f 2018-05-06) I have tried with stable and nightly but still the same issue Tim |
Could you try to clone and build crfsuite-rs https://github.com/snipsco/crfsuite-rs ? |
That compiles fine.. |
With exactly the same environment ? Can you try to create a simple rust project with crfsuite as a dependency to see if we can minimize the problem ? |
Hi - will try and do this in the next few days |
Hey @walpoletim-bjss , I'm closing this issue since it's been 3 months without update. |
I am trying to compile on an AWS EC2 Instance, and the code fails to compile with the following error:
/home/ec2-user/snips-nlu-rs/snips-nlu-lib/target/debug/deps/libsnips_nlu_lib-81442700a8c7b248.rlib(snips_nlu_lib-81442700a8c7b248.g4ocvkiolag6no4.rcgu.o): In function
crfsuite::Tagger::set::h2f0968d9babb3c13': /home/ec2-user/.cargo/git/checkouts/crfsuite-rs-88ab7cb8bdb2b2f2/b18d95c/src/lib.rs:145: undefined reference to
crfsuite_instance_init_n'/home/ec2-user/snips-nlu-rs/snips-nlu-lib/target/debug/deps/libsnips_nlu_lib-81442700a8c7b248.rlib(snips_nlu_lib-81442700a8c7b248.g4ocvkiolag6no4.rcgu.o): In function
crfsuite::Tagger::set::h2f0968d9babb3c13': g4ocvkiolag6no4-c308c9baf1e779a490d159873856ad7a.rs:(.text._ZN8crfsuite6Tagger3set17h2f0968d9babb3c13E+0x320): undefined reference to
crfsuite_item_init'g4ocvkiolag6no4-c308c9baf1e779a490d159873856ad7a.rs:(.text._ZN8crfsuite6Tagger3set17h2f0968d9babb3c13E+0x647): undefined reference to
crfsuite_attribute_set' g4ocvkiolag6no4-c308c9baf1e779a490d159873856ad7a.rs:(.text._ZN8crfsuite6Tagger3set17h2f0968d9babb3c13E+0x659): undefined reference to
crfsuite_item_append_attribute'g4ocvkiolag6no4-c308c9baf1e779a490d159873856ad7a.rs:(.text._ZN8crfsuite6Tagger3set17h2f0968d9babb3c13E+0x6c0): undefined reference to
crfsuite_instance_finish' g4ocvkiolag6no4-c308c9baf1e779a490d159873856ad7a.rs:(.text._ZN8crfsuite6Tagger3set17h2f0968d9babb3c13E+0x6ce): undefined reference to
crfsuite_instance_finish'/home/ec2-user/snips-nlu-rs/snips-nlu-lib/target/debug/deps/libcrfsuite-ad8b4b3fb39b3a5b.rlib(crfsuite-ad8b4b3fb39b3a5b.crfsuite0.rcgu.o): In function
crfsuite::Tagger::create_from_memory::hf43200afd689451e': /home/ec2-user/.cargo/git/checkouts/crfsuite-rs-88ab7cb8bdb2b2f2/b18d95c/src/lib.rs:76: undefined reference to
crfsuite_create_instance_from_memory'collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile
snips-nlu-lib
.The text was updated successfully, but these errors were encountered: