From: Johan Hedberg <johan.hedberg@nokia.com>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] compiling problem in audio directory for 3.23 bluez-utils
Date: Wed, 12 Dec 2007 14:52:10 +0200 [thread overview]
Message-ID: <20071212125210.GA7582@localhost> (raw)
In-Reply-To: <20071211103549.990878a4.vientito1@pppoe.ca>
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
prev parent reply other threads:[~2007-12-12 12:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071212125210.GA7582@localhost \
--to=johan.hedberg@nokia.com \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.