Return-Path: Date: Wed, 12 Dec 2007 14:52:10 +0200 From: Johan Hedberg To: BlueZ users Message-ID: <20071212125210.GA7582@localhost> References: <20071211103549.990878a4.vientito1@pppoe.ca> MIME-Version: 1.0 In-Reply-To: <20071211103549.990878a4.vientito1@pppoe.ca> Subject: Re: [Bluez-users] compiling problem in audio directory for 3.23 bluez-utils Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Hi, On Tue, Dec 11, 2007, vientito1@pppoe.ca wrote: > when i configured with --enable-audio, compiling failed at this point: > > sink.o: In function `discovery_complete': > sink.c:(.text+0x507): undefined reference to `MAX' > sink.c:(.text+0x559): undefined reference to `MIN' > collect2: ld returned 1 exit status > make[2]: *** [bluetoothd-service-audio] Error 1 > make[2]: Leaving directory `/home/cml/Desktop/bluez-utils-3.23/audio' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/cml/Desktop/bluez-utils-3.23' > make: *** [all] Error 2 Looks like this is a regression with 3.23 and eglib usage. The real glib seems to provide those macro definitions but the eglib that comes with bluez-utils doesn't. So, your options are: 1. Compile against glib instead of eglib (install glib dev files and use --enable-glib) 2. Patch it yourself (just add basic MIN/MAX macros somewhere in the code) 3. Wait for the next bluez release. Johan ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users