-
Notifications
You must be signed in to change notification settings - Fork 13
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" while building #4
Comments
You didn't had properly installed libmodbus and glib libraries on your system but I'm surprised ./autogen.sh doesn't complain about that. To ensure everything is properly installed, you can check the output of: |
Output of
I'm getting the same "undefined reference" error... |
Did you run ldconfig? |
Yes I did and the result is the same. What puzzles me is the fact that neither ./autogen.sh nor ./configure complains about anything being wrong or missing. |
|
Do you have any other idea to tackle this issue? |
I have exactly the same issue. I compiled and installed libmodbus 3.1.4, and I'm using ubuntu 16.04.1 LTS. |
LIBS need to be at the end of the linker line; placing them in LDFLAGS puts them in the wrong order, resulting in diagnostics as documented in issue webstack#4. Signed-off-by: Peter A. Bigot <[email protected]>
Dear @stephane,
I'm trying to buid mbtools but I'm getting this error while doing
make
.Latest libmodbus v3.1.4 is installed and I'm using Linux Mint 18.
Thanks.
The text was updated successfully, but these errors were encountered: