I use "gcc -o test test.c -lbluetooth" to compile my program,
but it didn't work and has error message mean it can't find -lbluetooth,
how can I do?
my platform is fedora core 3 included bluez.
Hi,
Thanks for your help,=20
After I installed the libarary, I can compile the code.
On 9/13/05, Esther Lopez <[email protected]> wrote:
> Hi
> I had quite the same problem in Fedora 4, and I solved it by installing t=
he
> "bluez-libs-devel-xx". I had to install the same version I had for
> BlueZ-libs, and I solved it. I found the package using http://rpm.pbone.n=
et/
>=20
> Regards
>=20
> Esther
>=20
> -----Mensaje original-----
> De: [email protected]
> [mailto:[email protected]] En nombre de Wu Jason
> Enviado el: martes, 13 de septiembre de 2005 13:30
> Para: [email protected]
> Asunto: [Bluez-users] Re: I can't compile with -lbluetooth
>=20
> Hi,
>=20
> Thanks for your reply,
> but all package I can find on official web site are:
>=20
> bluez-libs-2.21.tar.gz
> bluez-utils-2.21.tar.gz
> bluez-pin-0.26.tar.gz
> bluez-firmware-1.0.tar.gz
> bluez-hcidump-1.25.tar.gz
> bluez-hciemu-1.2.tar.gz
>=20
> There was no package you said.
>=20
> By the way, I attach the error message generated when I compile
>=20
> [root@localhost c]# gcc -o rfcomm-server rfcomm-server.c -lbluetooth
> /usr/bin/ld: cannot find -lbluetooth
> collect2: ld returned 1 exit status
>=20
> [root@localhost c]# gcc -o rfcomm-server rfcomm-server.c -llibbluetooth
> /usr/bin/ld: cannot find -llibbluetooth
> collect2: ld returned 1 exit status
>=20
>=20
> On 9/13/05, Marcel Holtmann <[email protected]> wrote:
> > Hi,
> >
> > > Sorry I don't know what do you mean bluez devel package,
> > > the following are packages default installed:
> > >
> > > [root@localhost ~]# rpm -qa | grep ^bluez
> > > bluez-libs-2.10-2
> > > bluez-hcidump-1.11-1
> > > bluez-bluefw-1.0-6
> > > bluez-utils-2.10-2
> > >
> > > Did I miss something?
> >
> > I think the package is called bluez-libs-devel.
> >
> > Regards
> >
> > Marcel
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &=
QA
> > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5=
sf
> > _______________________________________________
> > Bluez-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/bluez-users
> >
>=20
>=20
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic=
es
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q=
A
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic=
es
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q=
A
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi
I had quite the same problem in Fedora 4, and I solved it by installing the
"bluez-libs-devel-xx". I had to install the same version I had for
BlueZ-libs, and I solved it. I found the package using http://rpm.pbone.net/
Regards
Esther
-----Mensaje original-----
De: [email protected]
[mailto:[email protected]] En nombre de Wu Jason
Enviado el: martes, 13 de septiembre de 2005 13:30
Para: [email protected]
Asunto: [Bluez-users] Re: I can't compile with -lbluetooth
Hi,
Thanks for your reply,
but all package I can find on official web site are:
bluez-libs-2.21.tar.gz
bluez-utils-2.21.tar.gz
bluez-pin-0.26.tar.gz
bluez-firmware-1.0.tar.gz
bluez-hcidump-1.25.tar.gz
bluez-hciemu-1.2.tar.gz
There was no package you said.
By the way, I attach the error message generated when I compile
[root@localhost c]# gcc -o rfcomm-server rfcomm-server.c -lbluetooth
/usr/bin/ld: cannot find -lbluetooth
collect2: ld returned 1 exit status
[root@localhost c]# gcc -o rfcomm-server rfcomm-server.c -llibbluetooth
/usr/bin/ld: cannot find -llibbluetooth
collect2: ld returned 1 exit status
On 9/13/05, Marcel Holtmann <[email protected]> wrote:
> Hi,
>
> > Sorry I don't know what do you mean bluez devel package,
> > the following are packages default installed:
> >
> > [root@localhost ~]# rpm -qa | grep ^bluez
> > bluez-libs-2.10-2
> > bluez-hcidump-1.11-1
> > bluez-bluefw-1.0-6
> > bluez-utils-2.10-2
> >
> > Did I miss something?
>
> I think the package is called bluez-libs-devel.
>
> Regards
>
> Marcel
>
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi,
Thanks for your reply,=20
but all package I can find on official web site are:
bluez-libs-2.21.tar.gz=20
bluez-utils-2.21.tar.gz=20
bluez-pin-0.26.tar.gz=20
bluez-firmware-1.0.tar.gz=20
bluez-hcidump-1.25.tar.gz=20
bluez-hciemu-1.2.tar.gz=20
There was no package you said.
By the way, I attach the error message generated when I compile
[root@localhost c]# gcc -o rfcomm-server rfcomm-server.c -lbluetooth
/usr/bin/ld: cannot find -lbluetooth
collect2: ld returned 1 exit status
[root@localhost c]# gcc -o rfcomm-server rfcomm-server.c -llibbluetooth
/usr/bin/ld: cannot find -llibbluetooth
collect2: ld returned 1 exit status
On 9/13/05, Marcel Holtmann <[email protected]> wrote:
> Hi,
>=20
> > Sorry I don't know what do you mean bluez devel package,=20
> > the following are packages default installed:
> >=20
> > [root@localhost ~]# rpm -qa | grep ^bluez
> > bluez-libs-2.10-2
> > bluez-hcidump-1.11-1
> > bluez-bluefw-1.0-6
> > bluez-utils-2.10-2
> >=20
> > Did I miss something?=20
>=20
> I think the package is called bluez-libs-devel.
>=20
> Regards
>=20
> Marcel
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic=
es
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q=
A
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi,
> Sorry I don't know what do you mean bluez devel package,
> the following are packages default installed:
>
> [root@localhost ~]# rpm -qa | grep ^bluez
> bluez-libs-2.10-2
> bluez-hcidump-1.11-1
> bluez-bluefw-1.0-6
> bluez-utils-2.10-2
>
> Did I miss something?
I think the package is called bluez-libs-devel.
Regards
Marcel
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi,
Sorry I don't know what do you mean bluez devel package,=20
the following are packages default installed:
[root@localhost ~]# rpm -qa | grep ^bluez
bluez-libs-2.10-2
bluez-hcidump-1.11-1
bluez-bluefw-1.0-6
bluez-utils-2.10-2
Did I miss something?=20
On 9/13/05, Marcel Holtmann <[email protected]> wrote:
> Hi,
>=20
> > I use "gcc -o test test.c -lbluetooth" to compile my program,
> > but it didn't work and has error message mean it can't find
> > -lbluetooth,
> > how can I do?
>=20
> install the BlueZ devel package and show us the full error messages.
>=20
> Regards
>=20
> Marcel
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic=
es
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q=
A
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Bluez-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi,
> I use "gcc -o test test.c -lbluetooth" to compile my program,
> but it didn't work and has error message mean it can't find
> -lbluetooth,
> how can I do?
install the BlueZ devel package and show us the full error messages.
Regards
Marcel
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hello!
Try using libbluetooth.so instead.
Good luck
On 9/12/05, Wu Jason <[email protected]> wrote:
>
> I use "gcc -o test test.c -lbluetooth" to compile my program,
> but it didn't work and has error message mean it can't find -lbluetooth,
> how can I do?
> my platform is fedora core 3 included bluez.
>