* [Bluez-users] I can't compile with -lbluetooth @ 2005-09-12 8:12 Wu Jason 2005-09-12 18:40 ` Pedro Pinto 2005-09-12 22:18 ` Marcel Holtmann 0 siblings, 2 replies; 8+ messages in thread From: Wu Jason @ 2005-09-12 8:12 UTC (permalink / raw) To: bluez-users [-- Attachment #1: Type: text/plain, Size: 199 bytes --] 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. [-- Attachment #2: Type: text/html, Size: 271 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] I can't compile with -lbluetooth 2005-09-12 8:12 [Bluez-users] I can't compile with -lbluetooth Wu Jason @ 2005-09-12 18:40 ` Pedro Pinto 2005-09-12 22:18 ` Marcel Holtmann 1 sibling, 0 replies; 8+ messages in thread From: Pedro Pinto @ 2005-09-12 18:40 UTC (permalink / raw) To: bluez-users [-- Attachment #1: Type: text/plain, Size: 325 bytes --] Hello! Try using libbluetooth.so instead. Good luck On 9/12/05, Wu Jason <superht001@gmail.com> 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. > [-- Attachment #2: Type: text/html, Size: 672 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] I can't compile with -lbluetooth 2005-09-12 8:12 [Bluez-users] I can't compile with -lbluetooth Wu Jason 2005-09-12 18:40 ` Pedro Pinto @ 2005-09-12 22:18 ` Marcel Holtmann 2005-09-13 6:10 ` Wu Jason 1 sibling, 1 reply; 8+ messages in thread From: Marcel Holtmann @ 2005-09-12 22:18 UTC (permalink / raw) To: 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 Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] I can't compile with -lbluetooth 2005-09-12 22:18 ` Marcel Holtmann @ 2005-09-13 6:10 ` Wu Jason 2005-09-13 6:25 ` Marcel Holtmann 0 siblings, 1 reply; 8+ messages in thread From: Wu Jason @ 2005-09-13 6:10 UTC (permalink / raw) To: 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 <marcel@holtmann.org> 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 > Bluez-users@lists.sourceforge.net > 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 Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] I can't compile with -lbluetooth 2005-09-13 6:10 ` Wu Jason @ 2005-09-13 6:25 ` Marcel Holtmann 2005-09-13 11:29 ` [Bluez-users] " Wu Jason 0 siblings, 1 reply; 8+ messages in thread From: Marcel Holtmann @ 2005-09-13 6:25 UTC (permalink / raw) To: 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 Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bluez-users] Re: I can't compile with -lbluetooth 2005-09-13 6:25 ` Marcel Holtmann @ 2005-09-13 11:29 ` Wu Jason 2005-09-13 13:31 ` Esther Lopez 0 siblings, 1 reply; 8+ messages in thread From: Wu Jason @ 2005-09-13 11:29 UTC (permalink / raw) To: 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 <marcel@holtmann.org> 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 > Bluez-users@lists.sourceforge.net > 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 Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: [Bluez-users] Re: I can't compile with -lbluetooth 2005-09-13 11:29 ` [Bluez-users] " Wu Jason @ 2005-09-13 13:31 ` Esther Lopez 2005-09-13 14:11 ` Wu Jason 0 siblings, 1 reply; 8+ messages in thread From: Esther Lopez @ 2005-09-13 13:31 UTC (permalink / raw) To: 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: bluez-users-admin@lists.sourceforge.net [mailto:bluez-users-admin@lists.sourceforge.net] En nombre de Wu Jason Enviado el: martes, 13 de septiembre de 2005 13:30 Para: bluez-users@lists.sourceforge.net 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 <marcel@holtmann.org> 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 > Bluez-users@lists.sourceforge.net > 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 Bluez-users@lists.sourceforge.net 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 Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] Re: I can't compile with -lbluetooth 2005-09-13 13:31 ` Esther Lopez @ 2005-09-13 14:11 ` Wu Jason 0 siblings, 0 replies; 8+ messages in thread From: Wu Jason @ 2005-09-13 14:11 UTC (permalink / raw) To: bluez-users Hi, Thanks for your help,=20 After I installed the libarary, I can compile the code. On 9/13/05, Esther Lopez <esther.lopez@erzia.com> 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: bluez-users-admin@lists.sourceforge.net > [mailto:bluez-users-admin@lists.sourceforge.net] En nombre de Wu Jason > Enviado el: martes, 13 de septiembre de 2005 13:30 > Para: bluez-users@lists.sourceforge.net > 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 <marcel@holtmann.org> 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 > > Bluez-users@lists.sourceforge.net > > 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 > Bluez-users@lists.sourceforge.net > 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 > Bluez-users@lists.sourceforge.net > 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 Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-09-13 14:11 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-09-12 8:12 [Bluez-users] I can't compile with -lbluetooth Wu Jason 2005-09-12 18:40 ` Pedro Pinto 2005-09-12 22:18 ` Marcel Holtmann 2005-09-13 6:10 ` Wu Jason 2005-09-13 6:25 ` Marcel Holtmann 2005-09-13 11:29 ` [Bluez-users] " Wu Jason 2005-09-13 13:31 ` Esther Lopez 2005-09-13 14:11 ` Wu Jason
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox