* [Bluez-devel] BlueZ libraries..
@ 2005-02-02 19:02 Flávio
2005-02-02 19:11 ` Nelson Murilo
0 siblings, 1 reply; 4+ messages in thread
From: Flávio @ 2005-02-02 19:02 UTC (permalink / raw)
To: bluez-devel
Hi there!
Hi have just installed the bluez libraries to start using them.
I have made this simple program to test the includes:
#include <bluetooth/bluetooth.h>
#include <bluetooth/l2cap.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
int main(void)
{
printf("teste");
return 0;
}
But the result is:
/usr/include/bluetooth/l2cap.h:46: error: syntax error before "sa_family_t"
/usr/include/bluetooth/l2cap.h:49: error: syntax error before '}' token
/usr/include/bluetooth/hci.h:1114: error: syntax error before "sa_family_t"
/usr/include/bluetooth/hci.h:1116: error: syntax error before '}' token
Can anyone please tell me what i am doing wrong?
Thank you.
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Bluez-devel] BlueZ libraries..
2005-02-02 19:02 [Bluez-devel] BlueZ libraries Flávio
@ 2005-02-02 19:11 ` Nelson Murilo
2005-02-02 20:05 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Nelson Murilo @ 2005-02-02 19:11 UTC (permalink / raw)
To: bluez-devel
Try include netdb.h on top=20
On Wed, Feb 02, 2005 at 07:02:52PM +0000, Fl=E1vio wrote:
> Hi there!
> Hi have just installed the bluez libraries to start using them.
> I have made this simple program to test the includes:
>=20
> #include <bluetooth/bluetooth.h>
> #include <bluetooth/l2cap.h>
> #include <bluetooth/hci.h>
> #include <bluetooth/hci_lib.h>
>=20
> int main(void)
> {
> printf("teste");
> return 0;
>=20
> }
>=20
>=20
> But the result is:
> /usr/include/bluetooth/l2cap.h:46: error: syntax error before "sa_famil=
y_t"
> /usr/include/bluetooth/l2cap.h:49: error: syntax error before '}' token
> /usr/include/bluetooth/hci.h:1114: error: syntax error before "sa_famil=
y_t"
> /usr/include/bluetooth/hci.h:1116: error: syntax error before '}' token
>=20
> Can anyone please tell me what i am doing wrong?
> Thank you.
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [Bluez-devel] BlueZ libraries..
2005-02-02 19:11 ` Nelson Murilo
@ 2005-02-02 20:05 ` Marcel Holtmann
2005-02-03 18:12 ` Flávio
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-02-02 20:05 UTC (permalink / raw)
To: BlueZ Mailing List
Hi Nelson,
> Try include netdb.h on top
it is sys/socket.h that is missing.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-devel] BlueZ libraries..
2005-02-02 20:05 ` Marcel Holtmann
@ 2005-02-03 18:12 ` Flávio
0 siblings, 0 replies; 4+ messages in thread
From: Flávio @ 2005-02-03 18:12 UTC (permalink / raw)
To: bluez-devel
Thanks for all the help :)! it is running!
On Wed, 02 Feb 2005 21:05:59 +0100, Marcel Holtmann <marcel@holtmann.org> w=
rote:
> Hi Nelson,
>=20
> > Try include netdb.h on top
>=20
> it is sys/socket.h that is missing.
>=20
> Regards
>=20
> Marcel
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>=20
--=20
Cumprimentos de Fl=E1vio!
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-03 18:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-02 19:02 [Bluez-devel] BlueZ libraries Flávio
2005-02-02 19:11 ` Nelson Murilo
2005-02-02 20:05 ` Marcel Holtmann
2005-02-03 18:12 ` Flávio
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.