linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] compiling problem in audio directory for 3.23 bluez-utils
       [not found] <mailman.282482.1197382116.26582.bluez-users@lists.sourceforge.net>
@ 2007-12-11 15:35 ` vientito1
  2007-12-12 12:52   ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: vientito1 @ 2007-12-11 15:35 UTC (permalink / raw)
  To: bluez-users

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

-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] compiling problem in audio directory for 3.23 bluez-utils
  2007-12-11 15:35 ` [Bluez-users] compiling problem in audio directory for 3.23 bluez-utils vientito1
@ 2007-12-12 12:52   ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2007-12-12 12:52 UTC (permalink / raw)
  To: BlueZ users

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-12 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.282482.1197382116.26582.bluez-users@lists.sourceforge.net>
2007-12-11 15:35 ` [Bluez-users] compiling problem in audio directory for 3.23 bluez-utils vientito1
2007-12-12 12:52   ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).