public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Mateusz <m.patelak@gmail.com>
To: Sam <rotisseriecat@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: bluez-utils compilation error.
Date: Fri, 18 Jul 2008 09:54:08 +0200	[thread overview]
Message-ID: <f8a8efe40807180054n4c932f99k8fc7710940c97b47@mail.gmail.com> (raw)
In-Reply-To: <a1d1ffe0807171449m5fb5a5aauce8bd14fa05d8719@mail.gmail.com>

2008/7/17 Sam <rotisseriecat@gmail.com>:
> I'm still encountering compile errors for bluez-utils.  Here are the
> bash commands used:
>
> cd '/home/g/bluez-libs-3.36'
> ./configure --prefix=/g
> make
> sudo make install
>
> cd home/g/bluez-utils-3.36
> ./configure --prefix=/g --mandir=/g/share/man  --sysconfdir=/etc
> --localstatedir=/var --libexecdir=/lib --enable-all

Are you sure your --prefix should not be /usr/lib for both libs and utils?

> make
> sudo make install
>
> Here's the error:
>
> make  all-am
> make[3]: Entering directory `/home/g/bluez-utils-3.36/hcid'
> gcc -DHAVE_CONFIG_H -I. -I.. -I../common -I../sdpd
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I../gdbus
> -DPLUGINDIR=\""/g/lib/bluetooth/plugins"\" -Wall -O2
> -D_FORTIFY_SOURCE=2 -fPIE -MT security.o -MD -MP -MF
> .deps/security.Tpo -c -o security.o security.c
> security.c: In function 'link_key_request':
> security.c:279: error: storage size of 'req' isn't known
> security.c:291: error: 'HCIGETAUTHINFO' undeclared (first use in this function)
> security.c:291: error: (Each undeclared identifier is reported only once
> security.c:291: error: for each function it appears in.)
> security.c:279: warning: unused variable 'req'
> security.c: At top level:
> security.c:1037: fatal error: opening dependency file
> .deps/security.Tpo: Permission denied
> compilation terminated.
> make[3]: *** [security.o] Error 1
> make[3]: Leaving directory `/home/g/bluez-utils-3.36/hcid'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/g/bluez-utils-3.36/hcid'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/g/bluez-utils-3.36'
> make: *** [all] Error 2
>
>
> I did compile/install the libs first, though they are out of order in
> the full bash pastebin: http://paste.ubuntu.com/27889/
> If anyone can help, it'd be greatly appreciated!
> (Is it possible to find a .deb package of bluez-utils with all the
> tools enabled?)
>
> Thank you,
>
> Sam
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

      reply	other threads:[~2008-07-18  7:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-17 11:24 bluez-utils compilation error Sam
2008-07-17 12:11 ` Marcel Holtmann
2008-07-17 12:49 ` Mateusz
2008-07-17 21:49 ` Sam
2008-07-18  7:54   ` Mateusz [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=f8a8efe40807180054n4c932f99k8fc7710940c97b47@mail.gmail.com \
    --to=m.patelak@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=rotisseriecat@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