I'm testing run in a tool the O.S. TinyCore were we execute a main SW that call a new shared object, LibCAN.so, to comunicate in a CAN BUS, but when we call this LibCAN.so we have a Segmentation fault, see img attached(running with GDB for more details).
We have a warning during compilation of this LibCAN.so, see img attached.
NOTE: Using this LibCAN.so in Ubuntu everything works as expected.
Some idea or hint?