From: Pacho Ramos <pachoramos@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: BlueZ development <linux-bluetooth@vger.kernel.org>
Subject: Re: Problems compiling obexd
Date: Mon, 13 Jun 2011 17:06:43 +0200 [thread overview]
Message-ID: <1307977603.20215.0.camel@localhost> (raw)
In-Reply-To: <BANLkTim6_pgow2+an11ktfHz49RAoJHK=w@mail.gmail.com>
El dom, 12-06-2011 a las 17:39 +0300, Luiz Augusto von Dentz escribió:
> Hi,
>
> On Sun, Jun 12, 2011 at 1:35 PM, Pacho Ramos <pachoramos@gmail.com> wrote:
> > Hello
> >
> > Looks like some people are having problems compiling obexd downstream
> > (also with 0.40 version),
> > http://bugs.gentoo.org/show_bug.cgi?id=368135
> >
> > I cannot reproduce myself but, googling a bit, looks like some other
> > people have this problem (but I still didn't find a solution).
> >
> > The error is the following:
> >
> > make -j4 -l3
> > make --no-print-directory all-am
> > CC client/pbap.o
> > CC client/sync.o
> > CC client/transfer.o
> > GEN client/obex-client.service
> > CC gdbus/mainloop.o
> > CC gdbus/watch.o
> > CC gdbus/object.o
> > CC gdbus/polkit.o
> > CC gwobex/gw-obex.o
> > CC gwobex/obex-priv.o
> > CC gwobex/obex-xfer.o
> > CC gwobex/utils.o
> > CC btio/btio.o
> > btio/btio.c: In function 'set_sec_level':
> > btio/btio.c:369: error: storage size of 'sec' isn't known
> > btio/btio.c:372: error: 'BT_SECURITY_LOW' undeclared (first use in this
> > function)
> > btio/btio.c:372: error: (Each undeclared identifier is reported only
> > once
> > btio/btio.c:372: error: for each function it appears in.)
> > btio/btio.c:372: error: 'BT_SECURITY_HIGH' undeclared (first use in this
> > function)
> > btio/btio.c:382: error: 'SOL_BLUETOOTH' undeclared (first use in this
> > function)
> > btio/btio.c:382: error: 'BT_SECURITY' undeclared (first use in this
> > function)
> > btio/btio.c: In function 'l2cap_get_lm':
> > btio/btio.c:416: error: 'BT_SECURITY_LOW' undeclared (first use in this
> > function)
> > btio/btio.c:418: error: 'BT_SECURITY_MEDIUM' undeclared (first use in
> > this function)
> > btio/btio.c:420: error: 'BT_SECURITY_HIGH' undeclared (first use in this
> > function)
> > btio/btio.c: In function 'rfcomm_get_lm':
> > btio/btio.c:437: error: 'BT_SECURITY_LOW' undeclared (first use in this
> > function)
> > btio/btio.c:439: error: 'BT_SECURITY_MEDIUM' undeclared (first use in
> > this function)
> > btio/btio.c:441: error: 'BT_SECURITY_HIGH' undeclared (first use in this
> > function)
> > btio/btio.c: In function 'get_sec_level':
> > btio/btio.c:449: error: storage size of 'sec' isn't known
> > btio/btio.c:455: error: 'SOL_BLUETOOTH' undeclared (first use in this
> > function)
> > btio/btio.c:455: error: 'BT_SECURITY' undeclared (first use in this
> > function)
> > btio/btio.c: In function 'parse_set_opts':
> > btio/btio.c:635: error: 'L2CAP_MODE_BASIC' undeclared (first use in this
> > function)
> > btio/btio.c: In function 'l2cap_get':
> > btio/btio.c:778: error: 'SOL_BLUETOOTH' undeclared (first use in this
> > function)
> > btio/btio.c:778: error: 'BT_DEFER_SETUP' undeclared (first use in this
> > function)
> > btio/btio.c: In function 'rfcomm_get':
> > btio/btio.c:885: error: 'SOL_BLUETOOTH' undeclared (first use in this
> > function)
> > btio/btio.c:885: error: 'BT_DEFER_SETUP' undeclared (first use in this
> > function)
> > btio/btio.c: In function 'bt_io_listen':
> > btio/btio.c:1282: error: 'SOL_BLUETOOTH' undeclared (first use in this
> > function)
> > btio/btio.c:1282: error: 'BT_DEFER_SETUP' undeclared (first use in this
> > function)
> > distcc[23546] ERROR: compile btio/btio.c on localhost failed
> > make[1]: *** [btio/btio.o] Error 1
> > make: *** [all] Error 2
> > make: INTERNAL: Exiting with 5 jobserver tokens available; should be 4!
> >
> > Do you have any idea about where could the problem be?
>
> It could be a very old libbluetooth which does not those symbols, what
> version are you using? Btw we do check for libbluetooth but don't
> depend have any version so we might have to fix that so in case like
> this configure should fail.
>
>
Thanks a lot, this was caused by an old bluez version installed
under /usr/local by users suffering this problem.
Best regards :-)
prev parent reply other threads:[~2011-06-13 15:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-12 10:35 Problems compiling obexd Pacho Ramos
2011-06-12 14:39 ` Luiz Augusto von Dentz
2011-06-12 15:31 ` Re: bluetooth headset on linux YuGiOhJCJ Mailing-List
2011-06-13 6:57 ` Takeshi Hamasaki
2011-06-13 12:24 ` YuGiOhJCJ Mailing-List
2011-06-13 15:06 ` Pacho Ramos [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=1307977603.20215.0.camel@localhost \
--to=pachoramos@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox