[libnice] How to cross-compile libnice to ARM architecture?
philip at tecnocode.co.uk
Fri Aug 28 00:10:42 PDT 2015
Glad you got it working, and thanks for sharing!
On Fri, 2015-08-28 at 10:44 +0800, Jack Wang wrote:
> Later I found the solution by myself :D
> The above error is caused by the incorrect setting to the path of pkg
> There are two GLIB-2.0 .pc files which are different on platform -
> x86_64 and ARM,
> and my PKG_CONFIG_PATH indicates the one of x86_64.
> After I put the ARM-related pc files into a dedicated folder and
> replace the PKG_CONFIG_PATH with the path,
> make distclean, configure with parameters above and make,
> well... it works!
> 2015-08-27 22:15 GMT+08:00 Jack Wang <antirazin at gmail.com>:
> > Hello guys,
> > I intend building libnice 0.1.13 in arm the run the following
> > command:
> > ./configure --host=arm-linux
> > make
> > and got some error message after make:
> > /usr/local/lib/libgio-2.0.so: file not recognized: File format not
> > recognized
> > collect2: ld returned 1 exit status
> > make: *** [libnice.la] Error 1
> > It seems that the path of the GLIB2 libraries is wrong,
> > I'm sure the GLIB2 in arm was installed,
> > maybe I should set something before make??
> > Can you give some suggestion?
> > Thanks. :)
> nice mailing list
> nice at lists.freedesktop.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 213 bytes
Desc: This is a digitally signed message part
More information about the nice