[libnice] How to cross-compile libnice to ARM architecture?

Philip Withnall 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
> -config.
> 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[2]: *** [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
> http://lists.freedesktop.org/mailman/listinfo/nice
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/nice/attachments/20150828/2038830f/attachment.sig>


More information about the nice mailing list