21 Mar 2012 18:32
cross compiling with glib
*Dear All,
sorry for my previous wrong formatted post. I am trying to compile sofia-sip with glib support.
Until now I was able to cross compile the sofia-sip for arm9 with the option --without-glib.
I also tested it in the embedded environment with the “Hello world” sample project.
Since the sofsip-cli-0.16 requires glib I am now trying to cross-compile it with glib support.
I have the library for arm and I set the LDFLAGS as follow to reach the arm glib.
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
The LDFLAGS are set correctly in the makefile but it seems that during make, the linker points to the host
library in
“/usr/lib/libglib-2.0.so”.
**The* option --with-glib-dir=<path to libglib-2.0.so>
I can compile when I substitute (temporarily) the i386 with arm version of the lib in /usr/lib.
However the same problem then happen when I compile the sofsip-cli-0.16.
(To compile this I also have to add a typedef in soa_tag.h for "soatag_local_sdp_str_ref" which seems to be undefined)
*
Till now I haven’t found a way to link with the arm libs. Any help would be appreciated.
Thank you*
--
--
(Continue reading)
RSS Feed