-
Notifications
You must be signed in to change notification settings - Fork 49
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
Compile error "undefined reference to `test_helper_c2ptoi'" #29
Comments
This is strange. test_helper_c2ptoi is defined in test_helper.c itself. Compiles fine on Raspberry and OSX. I have seen a pull on dailab from @tomweber having compile problems too. He removed the inline keyword from test_helper_c2ptoi definition. Can you please try this. |
@andig Can reproduce this with Travis CI? |
No, I can't. |
I mean set up a Debian 9 Stretch environment and compile with this. |
@hmueller01 Sorry I did not response until now. Too much to do. I can still test this if you like. Before I start: I am using the version from the old dailab repository. Did you change anything since taking over? It then would make sense to pull your repository first. As I need to modify stuff inside, it is not just pulling the new data. |
We changed a lot i the mean time. So on the long run it would make sense to switch over. |
I'm closing this issue as not related to our repo/software. Feel free to reopen after testing. |
@msebald Why do you need a modification anyway? Is it only to exit after the first message? |
@hmueller01 To be honest, I did not check on the code. ;-) I mean checking what exactly is the difference when replacing the complete transport_receiver function. The main reason is that I am not a coder and second I wanted to follow the instructions from the openHAB community 1 by 1 to get it up and running. ;-) If it is no longer necessary to alter the code or if it is possible to get the needed output with an commandline option it would be a nice feature for all the people using libsml with openHAB. |
@msebald This is why I am asking. What do you/openhab need? If you find that out maybe I can help to implement that and we can have it in the libsml repo. Let me know. |
This is what I get when using the modified version:
What is the original output? ;-) I could check, but I am sure that you will know it. The output is parsed with a openHAB rule, see here. |
Sorry, I got no message that you answered. I just saw it right now. |
Yes, that is the output. And yes, sml_server exits after the output. It is started by openHAB every x seconds, according to how you configured the rule. For me it is every 30 seconds. |
Is it a problem if all sml messeges (e.g. like finger print) are in the output. If not, we only need a switch from permanent read to single read, right? |
Yes, maybe. I am just a user and a very bad programmer. Did you have a chance to check what is changed for our use case with openHAB? |
Copy-pasted from the old repository: dailab#13
I tried to compile libsml on a fresh Debian 9 Stretch amd64 box. uuid-dev and uuid-runtime is installed. This happens:
Bug or did I do something wrong?
The text was updated successfully, but these errors were encountered: