Re: bluez-utils compilation error.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2008/7/17 Sam <rotisseriecat@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux