Greetings,
I am currently working on a small project to create a modbus server via using libmodbus libraries under Linux.
I should say there is no problem with the usual GCC compilation of the tests or new source files I write.
After testing the library on GCC I needed to transfer it to a Hawkboard for testing it on ARM architecture. Of course, I changed the configuration with;
./configure --host=arm-none-linux-gnueabi
Then reinstalled the libraries,
Now whenever I use my ARM compiler, I get;
/home/ugralitan/CodeSourcery/bin/../lib/gcc/arm-none-linux-gnueabi/4.5.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lmodbus
collect2: ld returned 1 exit status
I thought compiling the libraries for ARM would be enough, but apparently I need to do something else as well. Can you help me, please?