On Fri, Feb 25, 2011 at 05:41:21PM +0530, Naveen wrote:
> mkdir .libs
> arm-none-linux-gnueabi-g++ -Wall -g -D__BARRY_SYNC_MODE__ 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -o btool 
> btool-btool.o  ../src/.libs/libbarry.a ../src/.libs/libbarrysync.a 
> /root/Desktop/Rajendra/barry/barry/src/.libs/libbarry.a -lusb -lglib-2.0 
> -lpthread  
> 
> cc1: warning: include location "/usr/include/glib-2.0" is unsafe for
> cross-compilation
> cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for
> cross-compilation
> cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for
> cross-compilation

The glib-2.0 library is only needed for libbarrysync.  You won't need
that to talk to the device, only for running opensync plugins and viewing
data in MIME formats.

I've added a new ./configure option: --disable-sync

It's now in git.  This should solve your compile issue.

Thanks for the report!
- Chris


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to