Hi All,
I have already cross-compiled some code end libs for arm.
Now I am trying to compile the sofia-sip package and I have some trouble with the library path.
The problem is that the linker search for some glib in the host path.
I have the library for arm and I set the LDFLAGS to reach target arm glib
Code:
export LDFLAGS=-L/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/lib -L/opt/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/target/usr/lib
With this LDFLAGS the linker points to the host library in
“/usr/lib/libglib-2.0.so”.
I can compile if I temporarily move the arm lib in /usr/lib but when I try to compile an example project using the lib I get I have again the same problem.
In the example project makefile the /usr/lib path does not appears.
Thank you.