Return-Path: MIME-Version: 1.0 In-Reply-To: References: <20110310153754.GA2190@joana> <20110310192941.GC2190@joana> <20110311023800.GA2191@joana> Date: Tue, 15 Mar 2011 22:27:49 +0800 Message-ID: Subject: Re: some questions about Bluez From: loody To: Anderson Lizardo Cc: "Arun K. Singh" , linux-bluetooth@vger.kernel.org, "Gustavo F. Padovan" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: hi anderson: 2011/3/11 Anderson Lizardo : > Hi, > > On Fri, Mar 11, 2011 at 2:25 AM, loody wrote: >> I did so as below: >> ./configure --host=mipsel-linux-gnu --disable-optimization >> --disable-fortify --disable-pie --disable-network --disable-serial >> --disable-input --disable-audio --disable-service >> >> But it still try to compile ALSA. > > Try adding --disable-alsa as well. > > Regards, > -- It seems work. but it try to link the wrong dbus and glib libs: .................. GEN lib/bluetooth/hidp.h CC lib/bluetooth.lo cc1: warning: include location "/usr/include/dbus-1.0" is unsafe for cross-compilation cc1: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation .... I have some questions: 1. "--disable-alsa" seems not in the configure --help list where I can see the whole list of features I can disable? 2. why bluez need glib? If I remember correctly, glib is use for GTK+ graphic lib. And I don't need it if I only try to use console commands, right? Thanks a lot, miloody -- Regards,