Skip to contentSkip to conversation

bluez is uncompilable

Bluez-devel Martin Lipocky 2 participants 6 messages Jan 22, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

I now downloaded the latest bluez and I cannot compile the stuff, no matter what version of gcc I try. There must be a complete mess in the code.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/usr/include -I/usr/include
-Wall -O2 -D_FORTIFY_SOURCE=2 -c test -f 'sdptool.c' || echo './'sdptool.c sdptool.c: In function `print_raw_data':
sdptool.c:590: warning: unknown conversion type character j' in format sdptool.c:590: warning: too many arguments for format sdptool.c:605: warning: unknown conversion type character j' in format sdptool.c:605: warning: too many arguments for format
sdptool.c: In function `add_isync':
sdptool.c:2621: `APPLE_AGENT_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:2621: (Each undeclared identifier is reported only once sdptool.c:2621: for each function it appears in.)
sdptool.c: At top level:
sdptool.c:2681: APPLE_AGENT_SVCLASS_ID' undeclared here (not in a function) sdptool.c:2681: initializer element is not constant sdptool.c:2681: (near initialization for service[30].class') make[2]: *** [sdptool.o] Error 1
make[2]: Leaving directory `/home/mlipocky/install/synce/bluez-utils-2.25/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mlipocky/install/synce/bluez-utils-2.25'
make: *** [all] Error 2

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Martin,

Quoted 17 lines

I now downloaded the latest bluez and I cannot compile the stuff, no matter what version of gcc I try. There must be a complete mess in the code.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/usr/include -I/usr/include
-Wall -O2 -D_FORTIFY_SOURCE=2 -c test -f 'sdptool.c' || echo './'sdptool.c sdptool.c: In function `print_raw_data':
sdptool.c:590: warning: unknown conversion type character j' in format sdptool.c:590: warning: too many arguments for format sdptool.c:605: warning: unknown conversion type character j' in format sdptool.c:605: warning: too many arguments for format
sdptool.c: In function `add_isync':
sdptool.c:2621: `APPLE_AGENT_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:2621: (Each undeclared identifier is reported only once sdptool.c:2621: for each function it appears in.)
sdptool.c: At top level:
sdptool.c:2681: `APPLE_AGENT_SVCLASS_ID' undeclared here (not in a function)

Quoted 8 lines

sdptool.c:2681: initializer element is not constant sdptool.c:2681: (near initialization for `service[30].class') make[2]: *** [sdptool.o] Error 1
make[2]: Leaving directory `/home/mlipocky/install/synce/bluez-utils-2.25/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mlipocky/install/synce/bluez-utils-2.25'
make: *** [all] Error 2

read the README and you will see that you need bluez-libs-2.25 in order to compile bluez-utils-2.25.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw

Sorry, but read the readme and you will see the following:

In order to compile Bluetooth utilities you need following software packages:
- Linux Bluetooth protocol stack (BlueZ)

And the title of the README says:
BlueZ - Bluetooth protocol stack for Linux

There is no word about prior compilation of libs. Who could realize it? The readme is poor.

Martin

Quoted 11 lines

read the README and you will see that you need bluez-libs-2.25 in order to compile bluez-utils-2.25.

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#3 lore raw

Hi Martin,

Quoted 10 lines

Sorry, but read the readme and you will see the following:

In order to compile Bluetooth utilities you need following software packages:
- Linux Bluetooth protocol stack (BlueZ)

And the title of the README says:
BlueZ - Bluetooth protocol stack for Linux

There is no word about prior compilation of libs. Who could realize it? The readme is poor.

oops. I meant the ChangeLog file.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#4 lore raw

You meant ChangeLog, but to my other inquiry on the --activesync option. In this topic we have talked about compilation and what is in README. You must be confused. Confess, you are the developer. :-)

Martin

D=C5=88a Ne 22. Janu=C3=A1r 2006 12:37 Marcel Holtmann nap=C3=ADsal:

Quoted 22 lines

Hi Martin,

Quoted 10 lines

Sorry, but read the readme and you will see the following:

In order to compile Bluetooth utilities you need following software
packages: - Linux Bluetooth protocol stack (BlueZ)

And the title of the README says:
BlueZ - Bluetooth protocol stack for Linux

There is no word about prior compilation of libs. Who could realize it? The readme is poor.

oops. I meant the ChangeLog file.

Regards

Marcel

Quoted 5 lines

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=

=3D121642

Quoted 4 lines

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#5 lore raw

Hi Martin,

Quoted 3 lines

You meant ChangeLog, but to my other inquiry on the --activesync option. In this topic we have talked about compilation and what is in README. You must be confused. Confess, you are the developer. :-)

you better read it before responding ;)

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel