Return-Path: MIME-Version: 1.0 In-Reply-To: References: <1345653354-23720-1-git-send-email-s.syam@samsung.com> <1345653354-23720-2-git-send-email-s.syam@samsung.com> Date: Thu, 23 Aug 2012 01:36:51 +0300 Message-ID: Subject: Re: [PATCH obexd v1 2/4] build: Require GLib 2.32 or later From: Luiz Augusto von Dentz To: Syam Sidhardhan Cc: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi Syam, On Thu, Aug 23, 2012 at 1:27 AM, Luiz Augusto von Dentz wrote: > Hi Syam, > > On Wed, Aug 22, 2012 at 7:35 PM, Syam Sidhardhan wrote: >> If we use GLib version less than 2.32 (more precisely < 2.31.2) then >> the following build error may occure in a 32 bit. > > We had the issue with BlueZ but we did not bump the glib version, > which makes me wonder if you are able to compile bluetoothd? It looks like we fix it with use of a variable: commit e34836262ba6a46491b6a760520158d70e8b51b5 Author: Johan Hedberg Date: Wed Oct 12 00:48:59 2011 +0300 Fix compilation error on 32-bit systems This fixes the following compilation error with GLib on 32-bit sytems: audio/media.c: In function 'get_setting': audio/media.c:1109:44: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] audio/media.c: In function 'set_setting': audio/media.c:1132:41: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] -- Luiz Augusto von Dentz