Undefined reference to modbus_connect
Asked by
JohnMajor
I am using libmodus 3.0.3 on ubuntu desktop and compiling c++ code using eclispe for an arm base single board computer running ubuntu 13.04.
The compiler is working fine and have installed libmodbus OK and have used it for X86 machine just fine. The problem is when compiling code for arm based machine using the libmodbus library I keep getting errors like "undefined reference to modbus_connect" and other modbus functions.
The modus.h header file is located correctly but for some reason the arm compiler doesn't seem to e linking with the modbus libraries?
Any help in configuring the eclipse environment would be most appreciated
John
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu libmodbus Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- JohnMajor
- Solved:
- Last query:
- Last reply:
To post a message you must log in.