Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67852 - bluez-utils does not compile
Summary: bluez-utils does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
: 78212 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-17 02:32 UTC by Antonio
Modified: 2005-01-17 02:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio 2004-10-17 02:32:38 UTC
bluez-utils-2.10-r1 failed compile.

Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/bluez-utils-2.10-r1 to /
>>> md5 src_uri ;-) bluez-utils-2.10.tar.gz
>>> Unpacking source...
>>> Unpacking bluez-utils-2.10.tar.gz to /var/tmp/portage/bluez-utils-2.10-r1/work
 * Applying bluez-utils-2.10-handsfree.patch...                           [ ok ]
gtk
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether gcc accepts -fPIE... yes
checking for a BSD-compatible install... /bin/install -c
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking bluetooth/bluetooth.h usability... yes
checking bluetooth/bluetooth.h presence... yes
checking for bluetooth/bluetooth.h... yes
checking for hci_open_dev in -lbluetooth... yes
checking for sdp_connect in -lsdp... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for usb_open in -lusb... yes
checking for usb_get_busses in -lusb... yes
checking for usb_interrupt_read in -lusb... yes
checking dbus/dbus.h usability... no
checking dbus/dbus.h presence... no
checking for dbus/dbus.h... no
checking for dbus_error_init in -ldbus-1... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating hcid/Makefile
config.status: creating tools/Makefile
config.status: creating rfcomm/Makefile
config.status: creating sdpd/Makefile
config.status: creating dund/Makefile
config.status: creating pand/Makefile
config.status: creating hidd/Makefile
config.status: creating cups/Makefile
config.status: creating test/Makefile
config.status: creating scripts/Makefile
config.status: creating pcmcia/Makefile
config.status: creating extra/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10'
Making all in hcid
make[2]: Entering directory `/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10/hcid'
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -DDBUS_API_SUBJECT_TO_CHANGE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'main.c' || echo './'`main.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -DDBUS_API_SUBJECT_TO_CHANGE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'security.c' || echo './'`security.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -DDBUS_API_SUBJECT_TO_CHANGE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'lib.c' || echo './'`lib.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -DDBUS_API_SUBJECT_TO_CHANGE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'parser.c' || echo './'`parser.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -DDBUS_API_SUBJECT_TO_CHANGE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'lexer.c' || echo './'`lexer.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -DDBUS_API_SUBJECT_TO_CHANGE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'kword.c' || echo './'`kword.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include -DDBUS_API_SUBJECT_TO_CHANGE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'glib-ectomy.c' || echo './'`glib-ectomy.c
gcc -I/usr/include -DDBUS_API_SUBJECT_TO_CHANGE  -march=athlon-xp -O3 -pipe -fomit-frame-pointer   -o hcid  main.o security.o lib.o parser.o lexer.o kword.o glib-ectomy.o     -L/usr/lib -lbluetooth -lsdp
make[2]: Leaving directory `/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10/hcid'
Making all in tools
make[2]: Entering directory `/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10/tools'
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'hcitool.c' || echo './'`hcitool.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'l2ping.c' || echo './'`l2ping.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'sdptool.c' || echo './'`sdptool.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'ciptool.c' || echo './'`ciptool.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'ppporc.c' || echo './'`ppporc.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'hcisecfilter.c' || echo './'`hcisecfilter.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'hciattach.c' || echo './'`hciattach.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'hciconfig.c' || echo './'`hciconfig.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'csr.c' || echo './'`csr.c
gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -I/usr/include -march=athlon-xp -O3 -pipe -fomit-frame-pointer -c `test -f 'hid2hci.c' || echo './'`hid2hci.c
sdptool.c: In function `add_handsfree':
sdptool.c:1130: error: `HANDSFREE_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1130: error: (Each undeclared identifier is reported only once
sdptool.c:1130: error: for each function it appears in.)
sdptool.c:1136: error: `HANDSFREE_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1152: error: `SDP_SUPPORTED_FEATURES' undeclared (first use in this function)
sdptool.c: In function `add_audio_source':
sdptool.c:1583: error: `AUDIO_SOURCE_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1587: error: `ADVANCED_AUDIO_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1598: error: `AVDTP_UUID' undeclared (first use in this function)
sdptool.c: In function `add_audio_sink':
sdptool.c:1642: error: `AUDIO_SINK_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1646: error: `ADVANCED_AUDIO_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1657: error: `AVDTP_UUID' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1697: error: `HANDSFREE_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1697: error: initializer element is not constant
sdptool.c:1697: error: (near initialization for `service[7].class')
sdptool.c:1697: error: initializer element is not constant
sdptool.c:1697: error: (near initialization for `service[7]')
sdptool.c:1699: error: initializer element is not constant
sdptool.c:1699: error: (near initialization for `service[8]')
sdptool.c:1700: error: initializer element is not constant
sdptool.c:1700: error: (near initialization for `service[9]')
sdptool.c:1702: error: initializer element is not constant
sdptool.c:1702: error: (near initialization for `service[10]')
sdptool.c:1703: error: initializer element is not constant
sdptool.c:1703: error: (near initialization for `service[11]')
sdptool.c:1704: error: initializer element is not constant
sdptool.c:1704: error: (near initialization for `service[12]')
sdptool.c:1706: error: `AUDIO_SOURCE_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1706: error: initializer element is not constant
sdptool.c:1706: error: (near initialization for `service[13].class')
sdptool.c:1706: error: initializer element is not constant
sdptool.c:1706: error: (near initialization for `service[13]')
sdptool.c:1707: error: `AUDIO_SINK_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1707: error: initializer element is not constant
sdptool.c:1707: error: (near initialization for `service[14].class')
sdptool.c:1707: error: initializer element is not constant
sdptool.c:1707: error: (near initialization for `service[14]')
sdptool.c:1709: error: initializer element is not constant
sdptool.c:1709: error: (near initialization for `service[15]')
make[2]: *** [sdptool.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/bluez-utils-2.10-r1/work/bluez-utils-2.10'
make: *** [all] Error 2

!!! ERROR: net-wireless/bluez-utils-2.10-r1 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-10-17 08:08:54 UTC
which bluez-libs have you got?
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-10-17 08:11:10 UTC
btw, has nothing to do with gnome and pda .. 
Comment 3 Antonio 2004-10-18 01:20:34 UTC
abiasio@gentoonet abiasio $ equery list bluez
Searching for package 'bluez' in all categories among:
 * installed packages
[I--] [  ] net-wireless/bluez-libs-2.10 (0)
[I--] [  ] net-wireless/bluez-hcidump-1.9 (0)
[I--] [  ] net-wireless/bluez-bluefw-1.0 (0)
[I--] [  ] net-wireless/bluez-hciemu-1.0 (0)
[I--] [  ] net-wireless/bluez-utils-2.10 (0)
[I--] [M ] net-wireless/bluez-sdp-1.5 (0)
Comment 4 Antonio 2004-10-18 01:26:50 UTC
I resolv my problem in this mode:

emerge -C bluez-sdp
emerge bluez-libs
emerge bluez-utils
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-10-18 01:55:23 UTC
bluez-libs-2.10 blocks on bluez-sdp, and it is now also masked as well, so you shouldn't install it. hopefully that'll solve all issues in the future.
Comment 6 Michael Baierl 2004-10-30 04:35:00 UTC
Nope, this did not solve all issues:

sdptool.c:43:27: bluetooth/sdp.h: No such file or directory
sdptool.c:44:31: bluetooth/sdp_lib.h: No such file or directory
sdptool.c:51: error: syntax error before "bdaddr_t"
sdptool.c: In function `estr2ba':
sdptool.c:54: error: `str' undeclared (first use in this function)
sdptool.c:54: error: (Each undeclared identifier is reported only once
sdptool.c:54: error: for each function it appears in.)
sdptool.c:55: error: `ba' undeclared (first use in this function)
sdptool.c:55: error: `BDADDR_LOCAL' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:64: error: syntax error before "uuid_t"
sdptool.c:64: warning: no semicolon at end of struct or union
sdptool.c:67: error: syntax error before '}' token
sdptool.c:69: error: syntax error before '*' token
sdptool.c:71: error: `MAX_LEN_UUID_STR' undeclared here (not in a function)
sdptool.c:72: error: syntax error before "interface"
sdptool.c:72: warning: data definition has no type or storage class
sdptool.c:268: error: syntax error before '*' token
sdptool.c:275: error: syntax error before '*' token
sdptool.c: In function `sdp_uuid_printf':
sdptool.c:277: error: `uuid' undeclared (first use in this function)
sdptool.c:278: error: `SDP_UUID16' undeclared (first use in this function)
sdptool.c:290: error: `context' undeclared (first use in this function)
sdptool.c:297: error: `indent' undeclared (first use in this function)
sdptool.c:302: error: `SDP_UUID32' undeclared (first use in this function)
sdptool.c:305: error: `SDP_UUID128' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:335: error: syntax error before '*' token
sdptool.c: In function `printf_dataseq':
sdptool.c:339: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:339: error: `sdpdata' undeclared (first use in this function)
sdptool.c:341: error: `pData' undeclared (first use in this function)
sdptool.c:343: error: `context' undeclared (first use in this function)
sdptool.c:345: error: `indent' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:358: error: syntax error before '*' token
sdptool.c: In function `sdp_data_printf':
sdptool.c:365: error: `context' undeclared (first use in this function)
sdptool.c:370: error: `sdpdata' undeclared (first use in this function)
sdptool.c:371: error: `SDP_DATA_NIL' undeclared (first use in this function)
sdptool.c:372: error: `indent' undeclared (first use in this function)
sdptool.c:374: error: `SDP_BOOL' undeclared (first use in this function)
sdptool.c:375: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:376: error: `SDP_UINT16' undeclared (first use in this function)
sdptool.c:377: error: `SDP_UINT32' undeclared (first use in this function)
sdptool.c:378: error: `SDP_UINT64' undeclared (first use in this function)
sdptool.c:379: error: `SDP_UINT128' undeclared (first use in this function)
sdptool.c:380: error: `SDP_INT8' undeclared (first use in this function)
sdptool.c:381: error: `SDP_INT16' undeclared (first use in this function)
sdptool.c:382: error: `SDP_INT32' undeclared (first use in this function)
sdptool.c:383: error: `SDP_INT64' undeclared (first use in this function)
sdptool.c:384: error: `SDP_INT128' undeclared (first use in this function)
sdptool.c:395: error: `SDP_UUID16' undeclared (first use in this function)
sdptool.c:396: error: `SDP_UUID32' undeclared (first use in this function)
sdptool.c:397: error: `SDP_UUID128' undeclared (first use in this function)
sdptool.c:402: error: `SDP_TEXT_STR8' undeclared (first use in this function)
sdptool.c:403: error: `SDP_TEXT_STR16' undeclared (first use in this function)
sdptool.c:404: error: `SDP_TEXT_STR32' undeclared (first use in this function)
sdptool.c:415: error: `SDP_URL_STR8' undeclared (first use in this function)
sdptool.c:416: error: `SDP_URL_STR16' undeclared (first use in this function)
sdptool.c:417: error: `SDP_URL_STR32' undeclared (first use in this function)
sdptool.c:422: error: `SDP_SEQ8' undeclared (first use in this function)
sdptool.c:423: error: `SDP_SEQ16' undeclared (first use in this function)
sdptool.c:424: error: `SDP_SEQ32' undeclared (first use in this function)
sdptool.c:429: error: `SDP_ALT8' undeclared (first use in this function)
sdptool.c:430: error: `SDP_ALT16' undeclared (first use in this function)
sdptool.c:431: error: `SDP_ALT32' undeclared (first use in this function)
sdptool.c: In function `sdp_attr_printf_func':
sdptool.c:443: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:443: error: `sdpdata' undeclared (first use in this function)
sdptool.c:450: error: syntax error before ')' token
sdptool.c: At top level:
sdptool.c:494: error: syntax error before '*' token
sdptool.c: In function `sdp_printf_service_attr':
sdptool.c:496: error: `rec' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:506: error: syntax error before '*' token
sdptool.c: In function `set_attrib':
sdptool.c:508: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:508: error: `attrid_list' undeclared (first use in this function)
sdptool.c:510: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:510: error: `rec' undeclared (first use in this function)
sdptool.c:514: error: `sess' undeclared (first use in this function)
sdptool.c:514: error: `SDP_ATTR_REQ_RANGE' undeclared (first use in this function)
sdptool.c:522: error: `value' undeclared (first use in this function)
sdptool.c:525: error: `uuid_t' undeclared (first use in this function)
sdptool.c:525: error: syntax error before "value_uuid"
sdptool.c:527: error: `value_uuid' undeclared (first use in this function)
sdptool.c:529: error: `attrib' undeclared (first use in this function)
sdptool.c:531: error: `SDP_UUID16' undeclared (first use in this function)
sdptool.c:539: error: `SDP_UINT32' undeclared (first use in this function)
sdptool.c:546: error: `SDP_TEXT_STR8' undeclared (first use in this function)
sdptool.c: In function `cmd_setattr':
sdptool.c:574: error: `sdp_session_t' undeclared (first use in this function)
sdptool.c:574: error: `sess' undeclared (first use in this function)
sdptool.c:596: error: `BDADDR_ANY' undeclared (first use in this function)
sdptool.c:596: error: `BDADDR_LOCAL' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:608: error: syntax error before '*' token
sdptool.c: In function `set_attribseq':
sdptool.c:610: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:610: error: `attrid_list' undeclared (first use in this function)
sdptool.c:612: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:612: error: `rec' undeclared (first use in this function)
sdptool.c:613: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:613: error: `pSequenceHolder' undeclared (first use in this function)
sdptool.c:617: error: `SDP_UUID16' undeclared (first use in this function)
sdptool.c:618: error: `SDP_UINT32' undeclared (first use in this function)
sdptool.c:619: error: `SDP_TEXT_STR8' undeclared (first use in this function)
sdptool.c:624: error: `session' undeclared (first use in this function)
sdptool.c:624: error: `SDP_ATTR_REQ_RANGE' undeclared (first use in this function)
sdptool.c:632: error: `argc' undeclared (first use in this function)
sdptool.c:639: error: `argv' undeclared (first use in this function)
sdptool.c:642: error: `uuid_t' undeclared (first use in this function)
sdptool.c:642: error: `value_uuid' undeclared (first use in this function)
sdptool.c:642: error: syntax error before ')' token
sdptool.c:672: error: `attrib' undeclared (first use in this function)
sdptool.c: In function `cmd_setseq':
sdptool.c:710: error: `sdp_session_t' undeclared (first use in this function)
sdptool.c:710: error: `sess' undeclared (first use in this function)
sdptool.c:735: error: `BDADDR_ANY' undeclared (first use in this function)
sdptool.c:735: error: `BDADDR_LOCAL' undeclared (first use in this function)
sdptool.c: In function `print_service_class':
sdptool.c:745: error: `MAX_LEN_SERVICECLASS_UUID_STR' undeclared (first use in this function)
sdptool.c:746: error: `uuid_t' undeclared (first use in this function)
sdptool.c:746: error: `uuid' undeclared (first use in this function)
sdptool.c:746: error: syntax error before ')' token
sdptool.c:748: error: `MAX_LEN_UUID_STR' undeclared (first use in this function)
sdptool.c: In function `print_service_desc':
sdptool.c:755: error: `MAX_LEN_PROTOCOL_UUID_STR' undeclared (first use in this function)
sdptool.c:756: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:756: error: `p' undeclared (first use in this function)
sdptool.c:756: error: syntax error before ')' token
sdptool.c:761: error: `SDP_UUID16' undeclared (first use in this function)
sdptool.c:762: error: `SDP_UUID32' undeclared (first use in this function)
sdptool.c:763: error: `SDP_UUID128' undeclared (first use in this function)
sdptool.c:764: error: `MAX_LEN_UUID_STR' undeclared (first use in this function)
sdptool.c:769: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:770: error: `RFCOMM_UUID' undeclared (first use in this function)
sdptool.c:775: error: `SDP_UINT16' undeclared (first use in this function)
sdptool.c:776: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:781: error: `BNEP_UUID' undeclared (first use in this function)
sdptool.c:789: error: `SDP_SEQ16' undeclared (first use in this function)
sdptool.c:791: error: `s' undeclared (first use in this function)
sdptool.c:795: error: `SDP_SEQ8' undeclared (first use in this function)
sdptool.c: In function `print_lang_attr':
sdptool.c:810: error: `sdp_lang_attr_t' undeclared (first use in this function)
sdptool.c:810: error: `lang' undeclared (first use in this function)
sdptool.c:810: error: syntax error before ')' token
sdptool.c: In function `print_access_protos':
sdptool.c:818: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:818: error: `protDescSeq' undeclared (first use in this function)
sdptool.c:818: error: syntax error before ')' token
sdptool.c: In function `print_profile_desc':
sdptool.c:824: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:824: error: `desc' undeclared (first use in this function)
sdptool.c:824: error: syntax error before ')' token
sdptool.c:825: error: `MAX_LEN_PROFILEDESCRIPTOR_UUID_STR' undeclared (first use in this function)
sdptool.c:827: error: `MAX_LEN_UUID_STR' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:838: error: syntax error before '*' token
sdptool.c: In function `print_service_attr':
sdptool.c:840: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:840: error: `list' undeclared (first use in this function)
sdptool.c:840: error: `proto' undeclared (first use in this function)
sdptool.c:842: error: `rec' undeclared (first use in this function)
sdptool.c:854: error: `sdp_free_func_t' undeclared (first use in this function)
sdptool.c:854: error: syntax error before "sdp_data_free"
sdptool.c: At top level:
sdptool.c:881: error: syntax error before '*' token
sdptool.c: In function `add_sp':
sdptool.c:883: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:883: error: `svclass_id' undeclared (first use in this function)
sdptool.c:883: error: `apseq' undeclared (first use in this function)
sdptool.c:883: error: `proto' undeclared (first use in this function)
sdptool.c:883: error: `profiles' undeclared (first use in this function)
sdptool.c:883: error: `root' undeclared (first use in this function)
sdptool.c:883: error: `aproto' undeclared (first use in this function)
sdptool.c:884: error: `uuid_t' undeclared (first use in this function)
sdptool.c:884: error: syntax error before "root_uuid"
sdptool.c:885: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:886: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:887: error: `si' undeclared (first use in this function)
sdptool.c:888: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:888: error: `channel' undeclared (first use in this function)
sdptool.c:891: error: `record' undeclared (first use in this function)
sdptool.c:893: error: `root_uuid' undeclared (first use in this function)
sdptool.c:893: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:898: error: `sp_uuid' undeclared (first use in this function)
sdptool.c:898: error: `SERIAL_PORT_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:903: error: `profile' undeclared (first use in this function)
sdptool.c:903: error: `SERIAL_PORT_PROFILE_ID' undeclared (first use in this function)
sdptool.c:909: error: `l2cap' undeclared (first use in this function)
sdptool.c:909: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:913: error: `rfcomm' undeclared (first use in this function)
sdptool.c:913: error: `RFCOMM_UUID' undeclared (first use in this function)
sdptool.c:915: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:924: error: `session' undeclared (first use in this function)
sdptool.c:924: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:939: error: syntax error before '*' token
sdptool.c: In function `add_dun':
sdptool.c:941: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:941: error: `svclass_id' undeclared (first use in this function)
sdptool.c:941: error: `pfseq' undeclared (first use in this function)
sdptool.c:941: error: `apseq' undeclared (first use in this function)
sdptool.c:941: error: `root' undeclared (first use in this function)
sdptool.c:941: error: `aproto' undeclared (first use in this function)
sdptool.c:942: error: `uuid_t' undeclared (first use in this function)
sdptool.c:942: error: syntax error before "rootu"
sdptool.c:943: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:944: error: `proto' undeclared (first use in this function)
sdptool.c:945: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:945: error: syntax error before "record"
sdptool.c:946: error: `si' undeclared (first use in this function)
sdptool.c:947: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:947: error: `channel' undeclared (first use in this function)
sdptool.c:950: error: `record' undeclared (first use in this function)
sdptool.c:952: error: `rootu' undeclared (first use in this function)
sdptool.c:952: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:956: error: `dun' undeclared (first use in this function)
sdptool.c:956: error: `DIALUP_NET_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:958: error: `gn' undeclared (first use in this function)
sdptool.c:958: error: `GENERIC_NETWORKING_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:962: error: `profile' undeclared (first use in this function)
sdptool.c:962: error: `DIALUP_NET_PROFILE_ID' undeclared (first use in this function)
sdptool.c:967: error: `l2cap' undeclared (first use in this function)
sdptool.c:967: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:971: error: `rfcomm' undeclared (first use in this function)
sdptool.c:971: error: `RFCOMM_UUID' undeclared (first use in this function)
sdptool.c:973: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:982: error: `session' undeclared (first use in this function)
sdptool.c:982: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:997: error: syntax error before '*' token
sdptool.c: In function `add_lan':
sdptool.c:999: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:999: error: `svclass_id' undeclared (first use in this function)
sdptool.c:999: error: `pfseq' undeclared (first use in this function)
sdptool.c:999: error: `apseq' undeclared (first use in this function)
sdptool.c:999: error: `root' undeclared (first use in this function)
sdptool.c:1000: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1000: error: syntax error before "root_uuid"
sdptool.c:1001: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1002: error: `aproto' undeclared (first use in this function)
sdptool.c:1002: error: `proto' undeclared (first use in this function)
sdptool.c:1003: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1003: error: syntax error before "record"
sdptool.c:1004: error: `si' undeclared (first use in this function)
sdptool.c:1005: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1005: error: `channel' undeclared (first use in this function)
sdptool.c:1008: error: `record' undeclared (first use in this function)
sdptool.c:1010: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1010: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1014: error: `svclass_uuid' undeclared (first use in this function)
sdptool.c:1014: error: `LAN_ACCESS_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1018: error: `profile' undeclared (first use in this function)
sdptool.c:1018: error: `LAN_ACCESS_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1023: error: `l2cap_uuid' undeclared (first use in this function)
sdptool.c:1023: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1027: error: `rfcomm_uuid' undeclared (first use in this function)
sdptool.c:1027: error: `RFCOMM_UUID' undeclared (first use in this function)
sdptool.c:1029: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:1038: error: `session' undeclared (first use in this function)
sdptool.c:1038: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1054: error: syntax error before '*' token
sdptool.c: In function `add_headset':
sdptool.c:1056: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1056: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1056: error: `pfseq' undeclared (first use in this function)
sdptool.c:1056: error: `apseq' undeclared (first use in this function)
sdptool.c:1056: error: `root' undeclared (first use in this function)
sdptool.c:1057: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1057: error: syntax error before "root_uuid"
sdptool.c:1058: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1059: error: `aproto' undeclared (first use in this function)
sdptool.c:1059: error: `proto' undeclared (first use in this function)
sdptool.c:1060: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1060: error: syntax error before "record"
sdptool.c:1061: error: `si' undeclared (first use in this function)
sdptool.c:1062: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1062: error: `channel' undeclared (first use in this function)
sdptool.c:1065: error: `record' undeclared (first use in this function)
sdptool.c:1067: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1067: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1071: error: `svclass_uuid' undeclared (first use in this function)
sdptool.c:1071: error: `HEADSET_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1073: error: `ga_svclass_uuid' undeclared (first use in this function)
sdptool.c:1073: error: `GENERIC_AUDIO_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1077: error: `profile' undeclared (first use in this function)
sdptool.c:1077: error: `HEADSET_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1082: error: `l2cap_uuid' undeclared (first use in this function)
sdptool.c:1082: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1086: error: `rfcomm_uuid' undeclared (first use in this function)
sdptool.c:1086: error: `RFCOMM_UUID' undeclared (first use in this function)
sdptool.c:1088: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:1097: error: `session' undeclared (first use in this function)
sdptool.c:1097: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1112: error: syntax error before '*' token
sdptool.c: In function `add_handsfree':
sdptool.c:1114: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1114: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1114: error: `pfseq' undeclared (first use in this function)
sdptool.c:1114: error: `apseq' undeclared (first use in this function)
sdptool.c:1114: error: `root' undeclared (first use in this function)
sdptool.c:1115: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1115: error: syntax error before "root_uuid"
sdptool.c:1116: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1117: error: `aproto' undeclared (first use in this function)
sdptool.c:1117: error: `proto' undeclared (first use in this function)
sdptool.c:1118: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1118: error: syntax error before "record"
sdptool.c:1119: error: `si' undeclared (first use in this function)
sdptool.c:1121: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1121: error: `channel' undeclared (first use in this function)
sdptool.c:1121: error: `features' undeclared (first use in this function)
sdptool.c:1124: error: `record' undeclared (first use in this function)
sdptool.c:1126: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1126: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1130: error: `svclass_uuid' undeclared (first use in this function)
sdptool.c:1130: error: `HANDSFREE_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1132: error: `ga_svclass_uuid' undeclared (first use in this function)
sdptool.c:1132: error: `GENERIC_AUDIO_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1136: error: `profile' undeclared (first use in this function)
sdptool.c:1136: error: `HANDSFREE_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1141: error: `l2cap_uuid' undeclared (first use in this function)
sdptool.c:1141: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1145: error: `rfcomm_uuid' undeclared (first use in this function)
sdptool.c:1145: error: `RFCOMM_UUID' undeclared (first use in this function)
sdptool.c:1147: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:1151: error: `SDP_UINT16' undeclared (first use in this function)
sdptool.c:1152: error: `SDP_SUPPORTED_FEATURES' undeclared (first use in this function)
sdptool.c:1159: error: `session' undeclared (first use in this function)
sdptool.c:1159: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1175: error: syntax error before '*' token
sdptool.c: In function `add_fax':
sdptool.c:1177: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1177: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1177: error: `pfseq' undeclared (first use in this function)
sdptool.c:1177: error: `apseq' undeclared (first use in this function)
sdptool.c:1177: error: `root' undeclared (first use in this function)
sdptool.c:1178: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1178: error: syntax error before "root_uuid"
sdptool.c:1179: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1180: error: `aproto' undeclared (first use in this function)
sdptool.c:1180: error: `proto' undeclared (first use in this function)
sdptool.c:1181: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1181: error: syntax error before "record"
sdptool.c:1182: error: `si' undeclared (first use in this function)
sdptool.c:1183: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1183: error: `channel' undeclared (first use in this function)
sdptool.c:1186: error: `record' undeclared (first use in this function)
sdptool.c:1188: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1188: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1192: error: `fax_uuid' undeclared (first use in this function)
sdptool.c:1192: error: `FAX_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1194: error: `tel_uuid' undeclared (first use in this function)
sdptool.c:1194: error: `GENERIC_TELEPHONY_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1198: error: `profile' undeclared (first use in this function)
sdptool.c:1198: error: `FAX_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1203: error: `l2cap_uuid' undeclared (first use in this function)
sdptool.c:1203: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1207: error: `rfcomm_uuid' undeclared (first use in this function)
sdptool.c:1207: error: `RFCOMM_UUID' undeclared (first use in this function)
sdptool.c:1209: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:1218: error: `session' undeclared (first use in this function)
sdptool.c:1218: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1233: error: syntax error before '*' token
sdptool.c: In function `add_opush':
sdptool.c:1235: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1235: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1235: error: `pfseq' undeclared (first use in this function)
sdptool.c:1235: error: `apseq' undeclared (first use in this function)
sdptool.c:1235: error: `root' undeclared (first use in this function)
sdptool.c:1236: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1236: error: syntax error before "root_uuid"
sdptool.c:1237: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1238: error: `aproto' undeclared (first use in this function)
sdptool.c:1238: error: `proto' undeclared (first use in this function)
sdptool.c:1239: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1239: error: syntax error before "record"
sdptool.c:1240: error: `si' undeclared (first use in this function)
sdptool.c:1241: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1241: error: `channel' undeclared (first use in this function)
sdptool.c:1246: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:1247: error: `sflist' undeclared (first use in this function)
sdptool.c:1250: error: `record' undeclared (first use in this function)
sdptool.c:1252: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1252: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1256: error: `opush_uuid' undeclared (first use in this function)
sdptool.c:1256: error: `OBEX_OBJPUSH_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1260: error: `profile' undeclared (first use in this function)
sdptool.c:1260: error: `OBEX_OBJPUSH_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1265: error: `l2cap_uuid' undeclared (first use in this function)
sdptool.c:1265: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1269: error: `rfcomm_uuid' undeclared (first use in this function)
sdptool.c:1269: error: `RFCOMM_UUID' undeclared (first use in this function)
sdptool.c:1275: error: `obex_uuid' undeclared (first use in this function)
sdptool.c:1275: error: `OBEX_UUID' undeclared (first use in this function)
sdptool.c:1287: error: `SDP_ATTR_SUPPORTED_FORMATS_LIST' undeclared (first use in this function)
sdptool.c:1291: error: `session' undeclared (first use in this function)
sdptool.c:1291: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1307: error: syntax error before '*' token
sdptool.c: In function `add_file_trans':
sdptool.c:1309: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1309: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1309: error: `pfseq' undeclared (first use in this function)
sdptool.c:1309: error: `apseq' undeclared (first use in this function)
sdptool.c:1309: error: `root' undeclared (first use in this function)
sdptool.c:1310: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1310: error: syntax error before "root_uuid"
sdptool.c:1311: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1312: error: `aproto' undeclared (first use in this function)
sdptool.c:1312: error: `proto' undeclared (first use in this function)
sdptool.c:1313: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1313: error: syntax error before "record"
sdptool.c:1314: error: `si' undeclared (first use in this function)
sdptool.c:1315: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1315: error: `channel' undeclared (first use in this function)
sdptool.c:1318: error: `record' undeclared (first use in this function)
sdptool.c:1320: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1320: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1324: error: `ftrn_uuid' undeclared (first use in this function)
sdptool.c:1324: error: `OBEX_FILETRANS_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1328: error: `profile' undeclared (first use in this function)
sdptool.c:1328: error: `OBEX_FILETRANS_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1333: error: `l2cap_uuid' undeclared (first use in this function)
sdptool.c:1333: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1337: error: `rfcomm_uuid' undeclared (first use in this function)
sdptool.c:1337: error: `RFCOMM_UUID' undeclared (first use in this function)
sdptool.c:1339: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:1343: error: `obex_uuid' undeclared (first use in this function)
sdptool.c:1343: error: `OBEX_UUID' undeclared (first use in this function)
sdptool.c:1352: error: `session' undeclared (first use in this function)
sdptool.c:1352: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1368: error: syntax error before '*' token
sdptool.c: In function `add_nap':
sdptool.c:1370: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1370: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1370: error: `pfseq' undeclared (first use in this function)
sdptool.c:1370: error: `apseq' undeclared (first use in this function)
sdptool.c:1370: error: `root' undeclared (first use in this function)
sdptool.c:1371: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1371: error: syntax error before "root_uuid"
sdptool.c:1372: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1373: error: `aproto' undeclared (first use in this function)
sdptool.c:1373: error: `proto' undeclared (first use in this function)
sdptool.c:1374: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1374: error: syntax error before "record"
sdptool.c:1376: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1376: error: `psm' undeclared (first use in this function)
sdptool.c:1376: error: `version' undeclared (first use in this function)
sdptool.c:1379: error: `record' undeclared (first use in this function)
sdptool.c:1381: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1381: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1385: error: `ftrn_uuid' undeclared (first use in this function)
sdptool.c:1385: error: `NAP_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1389: error: `profile' undeclared (first use in this function)
sdptool.c:1389: error: `NAP_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1394: error: `l2cap_uuid' undeclared (first use in this function)
sdptool.c:1394: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1396: error: `SDP_UINT16' undeclared (first use in this function)
sdptool.c:1400: error: `bnep_uuid' undeclared (first use in this function)
sdptool.c:1400: error: `BNEP_UUID' undeclared (first use in this function)
sdptool.c:1407: error: `head' undeclared (first use in this function)
sdptool.c:1407: error: `pseq' undeclared (first use in this function)
sdptool.c:1411: error: `data' undeclared (first use in this function)
sdptool.c:1414: error: `SDP_SEQ16' undeclared (first use in this function)
sdptool.c:1425: error: `session' undeclared (first use in this function)
sdptool.c:1425: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1441: error: syntax error before '*' token
sdptool.c: In function `add_gn':
sdptool.c:1443: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1443: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1443: error: `pfseq' undeclared (first use in this function)
sdptool.c:1443: error: `apseq' undeclared (first use in this function)
sdptool.c:1443: error: `root' undeclared (first use in this function)
sdptool.c:1444: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1444: error: syntax error before "root_uuid"
sdptool.c:1445: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1446: error: `aproto' undeclared (first use in this function)
sdptool.c:1446: error: `proto' undeclared (first use in this function)
sdptool.c:1447: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1447: error: syntax error before "record"
sdptool.c:1449: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1449: error: `psm' undeclared (first use in this function)
sdptool.c:1449: error: `version' undeclared (first use in this function)
sdptool.c:1452: error: `record' undeclared (first use in this function)
sdptool.c:1454: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1454: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1458: error: `ftrn_uuid' undeclared (first use in this function)
sdptool.c:1458: error: `GN_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1462: error: `profile' undeclared (first use in this function)
sdptool.c:1462: error: `GN_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1467: error: `l2cap_uuid' undeclared (first use in this function)
sdptool.c:1467: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1469: error: `SDP_UINT16' undeclared (first use in this function)
sdptool.c:1473: error: `bnep_uuid' undeclared (first use in this function)
sdptool.c:1473: error: `BNEP_UUID' undeclared (first use in this function)
sdptool.c:1484: error: `session' undeclared (first use in this function)
sdptool.c:1484: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1500: error: syntax error before '*' token
sdptool.c:1505: error: syntax error before '*' token
sdptool.c:1510: error: syntax error before '*' token
sdptool.c: In function `add_ctp':
sdptool.c:1512: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1512: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1512: error: `pfseq' undeclared (first use in this function)
sdptool.c:1512: error: `apseq' undeclared (first use in this function)
sdptool.c:1512: error: `root' undeclared (first use in this function)
sdptool.c:1513: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1513: error: syntax error before "root_uuid"
sdptool.c:1514: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1515: error: `aproto' undeclared (first use in this function)
sdptool.c:1515: error: `proto' undeclared (first use in this function)
sdptool.c:1516: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1516: error: syntax error before "record"
sdptool.c:1518: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1518: error: `network' undeclared (first use in this function)
sdptool.c:1518: error: `SDP_UINT8' undeclared (first use in this function)
sdptool.c:1521: error: `record' undeclared (first use in this function)
sdptool.c:1523: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1523: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1527: error: `ctp' undeclared (first use in this function)
sdptool.c:1527: error: `CORDLESS_TELEPHONY_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1531: error: `profile' undeclared (first use in this function)
sdptool.c:1531: error: `CORDLESS_TELEPHONY_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1536: error: `l2cap' undeclared (first use in this function)
sdptool.c:1536: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1540: error: `tcsbin' undeclared (first use in this function)
sdptool.c:1540: error: `TCS_BIN_UUID' undeclared (first use in this function)
sdptool.c:1547: error: `SDP_EXTERNAL_NETWORK' undeclared (first use in this function)
sdptool.c:1551: error: `session' undeclared (first use in this function)
sdptool.c:1551: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1566: error: syntax error before '*' token
sdptool.c: In function `add_audio_source':
sdptool.c:1568: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1568: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1568: error: `pfseq' undeclared (first use in this function)
sdptool.c:1568: error: `apseq' undeclared (first use in this function)
sdptool.c:1568: error: `root' undeclared (first use in this function)
sdptool.c:1569: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1569: error: syntax error before "root_uuid"
sdptool.c:1570: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1571: error: `aproto' undeclared (first use in this function)
sdptool.c:1571: error: `proto' undeclared (first use in this function)
sdptool.c:1572: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1572: error: syntax error before "record"
sdptool.c:1573: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1573: error: `psm' undeclared (first use in this function)
sdptool.c:1573: error: `version' undeclared (first use in this function)
sdptool.c:1577: error: `record' undeclared (first use in this function)
sdptool.c:1579: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1579: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1583: error: `a2src' undeclared (first use in this function)
sdptool.c:1583: error: `AUDIO_SOURCE_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1587: error: `profile' undeclared (first use in this function)
sdptool.c:1587: error: `ADVANCED_AUDIO_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1592: error: `l2cap' undeclared (first use in this function)
sdptool.c:1592: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1594: error: `SDP_UINT16' undeclared (first use in this function)
sdptool.c:1598: error: `avdtp' undeclared (first use in this function)
sdptool.c:1598: error: `AVDTP_UUID' undeclared (first use in this function)
sdptool.c:1609: error: `session' undeclared (first use in this function)
sdptool.c:1609: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1625: error: syntax error before '*' token
sdptool.c: In function `add_audio_sink':
sdptool.c:1627: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1627: error: `svclass_id' undeclared (first use in this function)
sdptool.c:1627: error: `pfseq' undeclared (first use in this function)
sdptool.c:1627: error: `apseq' undeclared (first use in this function)
sdptool.c:1627: error: `root' undeclared (first use in this function)
sdptool.c:1628: error: `uuid_t' undeclared (first use in this function)
sdptool.c:1628: error: syntax error before "root_uuid"
sdptool.c:1629: error: `sdp_profile_desc_t' undeclared (first use in this function)
sdptool.c:1630: error: `aproto' undeclared (first use in this function)
sdptool.c:1630: error: `proto' undeclared (first use in this function)
sdptool.c:1631: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1631: error: syntax error before "record"
sdptool.c:1632: error: `sdp_data_t' undeclared (first use in this function)
sdptool.c:1632: error: `psm' undeclared (first use in this function)
sdptool.c:1632: error: `version' undeclared (first use in this function)
sdptool.c:1636: error: `record' undeclared (first use in this function)
sdptool.c:1638: error: `root_uuid' undeclared (first use in this function)
sdptool.c:1638: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1642: error: `a2snk' undeclared (first use in this function)
sdptool.c:1642: error: `AUDIO_SINK_SVCLASS_ID' undeclared (first use in this function)
sdptool.c:1646: error: `profile' undeclared (first use in this function)
sdptool.c:1646: error: `ADVANCED_AUDIO_PROFILE_ID' undeclared (first use in this function)
sdptool.c:1651: error: `l2cap' undeclared (first use in this function)
sdptool.c:1651: error: `L2CAP_UUID' undeclared (first use in this function)
sdptool.c:1653: error: `SDP_UINT16' undeclared (first use in this function)
sdptool.c:1657: error: `avdtp' undeclared (first use in this function)
sdptool.c:1657: error: `AVDTP_UUID' undeclared (first use in this function)
sdptool.c:1668: error: `session' undeclared (first use in this function)
sdptool.c:1668: error: `SDP_RECORD_PERSIST' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1687: error: syntax error before '*' token
sdptool.c:1689: error: `SERIAL_PORT_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1689: error: initializer element is not constant
sdptool.c:1689: error: (near initialization for `service[0].class')
sdptool.c:1689: error: initializer element is not constant
sdptool.c:1689: error: (near initialization for `service[0]')
sdptool.c:1690: error: `DIALUP_NET_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1690: error: initializer element is not constant
sdptool.c:1690: error: (near initialization for `service[1].class')
sdptool.c:1690: error: initializer element is not constant
sdptool.c:1690: error: (near initialization for `service[1]')
sdptool.c:1691: error: `LAN_ACCESS_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1691: error: initializer element is not constant
sdptool.c:1691: error: (near initialization for `service[2].class')
sdptool.c:1691: error: initializer element is not constant
sdptool.c:1691: error: (near initialization for `service[2]')
sdptool.c:1692: error: `FAX_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1692: error: initializer element is not constant
sdptool.c:1692: error: (near initialization for `service[3].class')
sdptool.c:1692: error: initializer element is not constant
sdptool.c:1692: error: (near initialization for `service[3]')
sdptool.c:1693: error: `OBEX_OBJPUSH_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1693: error: initializer element is not constant
sdptool.c:1693: error: (near initialization for `service[4].class')
sdptool.c:1693: error: initializer element is not constant
sdptool.c:1693: error: (near initialization for `service[4]')
sdptool.c:1694: error: `OBEX_FILETRANS_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1694: error: initializer element is not constant
sdptool.c:1694: error: (near initialization for `service[5].class')
sdptool.c:1694: error: initializer element is not constant
sdptool.c:1694: error: (near initialization for `service[5]')
sdptool.c:1696: error: `HEADSET_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1696: error: initializer element is not constant
sdptool.c:1696: error: (near initialization for `service[6].class')
sdptool.c:1696: error: initializer element is not constant
sdptool.c:1696: error: (near initialization for `service[6]')
sdptool.c:1697: error: `HANDSFREE_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1697: error: initializer element is not constant
sdptool.c:1697: error: (near initialization for `service[7].class')
sdptool.c:1697: error: initializer element is not constant
sdptool.c:1697: error: (near initialization for `service[7]')
sdptool.c:1699: error: `NAP_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1699: error: initializer element is not constant
sdptool.c:1699: error: (near initialization for `service[8].class')
sdptool.c:1699: error: initializer element is not constant
sdptool.c:1699: error: (near initialization for `service[8]')
sdptool.c:1700: error: `GN_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1700: error: initializer element is not constant
sdptool.c:1700: error: (near initialization for `service[9].class')
sdptool.c:1700: error: initializer element is not constant
sdptool.c:1700: error: (near initialization for `service[9]')
sdptool.c:1702: error: `HID_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1702: error: initializer element is not constant
sdptool.c:1702: error: (near initialization for `service[10].class')
sdptool.c:1702: error: initializer element is not constant
sdptool.c:1702: error: (near initialization for `service[10]')
sdptool.c:1703: error: `CIP_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1703: error: initializer element is not constant
sdptool.c:1703: error: (near initialization for `service[11].class')
sdptool.c:1703: error: initializer element is not constant
sdptool.c:1703: error: (near initialization for `service[11]')
sdptool.c:1704: error: `CORDLESS_TELEPHONY_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1704: error: initializer element is not constant
sdptool.c:1704: error: (near initialization for `service[12].class')
sdptool.c:1704: error: initializer element is not constant
sdptool.c:1704: error: (near initialization for `service[12]')
sdptool.c:1706: error: `AUDIO_SOURCE_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1706: error: initializer element is not constant
sdptool.c:1706: error: (near initialization for `service[13].class')
sdptool.c:1706: error: initializer element is not constant
sdptool.c:1706: error: (near initialization for `service[13]')
sdptool.c:1707: error: `AUDIO_SINK_SVCLASS_ID' undeclared here (not in a function)
sdptool.c:1707: error: initializer element is not constant
sdptool.c:1707: error: (near initialization for `service[14].class')
sdptool.c:1707: error: initializer element is not constant
sdptool.c:1707: error: (near initialization for `service[14]')
sdptool.c:1709: error: initializer element is not constant
sdptool.c:1709: error: (near initialization for `service[15]')
sdptool.c:1713: error: syntax error before '*' token
sdptool.c: In function `add_service':
sdptool.c:1716: error: `sdp_session_t' undeclared (first use in this function)
sdptool.c:1716: error: `sess' undeclared (first use in this function)
sdptool.c:1716: error: `BDADDR_LOCAL' undeclared (first use in this function)
sdptool.c:1716: error: `SDP_RETRY_IF_BUSY' undeclared (first use in this function)
sdptool.c:1720: error: `si' undeclared (first use in this function)
sdptool.c: In function `cmd_add':
sdptool.c:1768: warning: assignment makes pointer from integer without a cast
sdptool.c: At top level:
sdptool.c:1773: error: syntax error before '*' token
sdptool.c: In function `del_service':
sdptool.c:1776: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1776: error: `attr' undeclared (first use in this function)
sdptool.c:1777: error: `sdp_session_t' undeclared (first use in this function)
sdptool.c:1777: error: `sess' undeclared (first use in this function)
sdptool.c:1778: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1778: error: `rec' undeclared (first use in this function)
sdptool.c:1780: error: `arg' undeclared (first use in this function)
sdptool.c:1784: error: `BDADDR_LOCAL' undeclared (first use in this function)
sdptool.c:1784: error: `SDP_RETRY_IF_BUSY' undeclared (first use in this function)
sdptool.c:1791: error: `SDP_ATTR_REQ_RANGE' undeclared (first use in this function)
sdptool.c: In function `inquiry':
sdptool.c:1843: error: `inquiry_info' undeclared (first use in this function)
sdptool.c:1843: error: syntax error before "ii"
sdptool.c:1848: error: `ii' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:1859: error: syntax error before '*' token
sdptool.c: In function `do_search':
sdptool.c:1861: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:1861: error: `attrid' undeclared (first use in this function)
sdptool.c:1861: error: `search' undeclared (first use in this function)
sdptool.c:1861: error: `seq' undeclared (first use in this function)
sdptool.c:1861: error: `next' undeclared (first use in this function)
sdptool.c:1864: error: `sdp_session_t' undeclared (first use in this function)
sdptool.c:1864: error: `sess' undeclared (first use in this function)
sdptool.c:1866: error: `bdaddr' undeclared (first use in this function)
sdptool.c:1867: error: `context' undeclared (first use in this function)
sdptool.c:1870: error: `SDP_RETRY_IF_BUSY' undeclared (first use in this function)
sdptool.c:1883: error: `SDP_ATTR_REQ_RANGE' undeclared (first use in this function)
sdptool.c:1892: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:1892: error: `rec' undeclared (first use in this function)
sdptool.c:1892: error: syntax error before ')' token
sdptool.c:1893: error: storage size of `sub_context' isn't known
sdptool.c:1906: error: invalid application of `sizeof' to an incomplete type
sdptool.c: In function `cmd_browse':
sdptool.c:1935: error: storage size of `context' isn't known
sdptool.c:1939: error: invalid application of `sizeof' to an incomplete type
sdptool.c:1941: error: `PUBLIC_BROWSE_GROUP' undeclared (first use in this function)
sdptool.c:1957: error: `bdaddr_t' undeclared (first use in this function)
sdptool.c:1957: error: syntax error before "bdaddr"
sdptool.c:1958: error: `bdaddr' undeclared (first use in this function)
sdptool.c: In function `cmd_search':
sdptool.c:1986: error: storage size of `context' isn't known
sdptool.c:1988: error: `bdaddr_t' undeclared (first use in this function)
sdptool.c:1988: error: syntax error before "bdaddr"
sdptool.c:1994: error: invalid application of `sizeof' to an incomplete type
sdptool.c:1999: error: `bdaddr' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:2052: error: syntax error before '*' token
sdptool.c: In function `get_service':
sdptool.c:2054: error: `sdp_list_t' undeclared (first use in this function)
sdptool.c:2054: error: `attrid' undeclared (first use in this function)
sdptool.c:2056: error: `sdp_record_t' undeclared (first use in this function)
sdptool.c:2056: error: `rec' undeclared (first use in this function)
sdptool.c:2057: error: `sdp_session_t' undeclared (first use in this function)
sdptool.c:2057: error: `session' undeclared (first use in this function)
sdptool.c:2057: error: `bdaddr' undeclared (first use in this function)
sdptool.c:2057: error: `SDP_RETRY_IF_BUSY' undeclared (first use in this function)
sdptool.c:2066: error: `context' undeclared (first use in this function)
sdptool.c:2066: error: `SDP_ATTR_REQ_RANGE' undeclared (first use in this function)
sdptool.c: In function `cmd_get':
sdptool.c:2101: error: storage size of `context' isn't known
sdptool.c:2102: error: `bdaddr_t' undeclared (first use in this function)
sdptool.c:2102: error: syntax error before "bdaddr"
sdptool.c:2107: error: invalid application of `sizeof' to an incomplete type
sdptool.c:2112: error: `bdaddr' undeclared (first use in this function)
sdptool.c:2133: error: `BDADDR_LOCAL' undeclared (first use in this function)
sdptool.c: In function `main':
sdptool.c:2182: error: `BDADDR_ANY' undeclared (first use in this function)
sdptool.c: At top level:
sdptool.c:71: error: storage size of `UUID_str' isn't known
make[2]: *** [sdptool.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: net-wireless/bluez-utils-2.10-r1 failed.
!!! Function src_compile, Line 51, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2004-11-02 00:55:10 UTC
this isn't the same issue:

sdptool.c:43:27: bluetooth/sdp.h: No such file or directory
sdptool.c:44:31: bluetooth/sdp_lib.h: No such file or directory

you don't have the correct bluez-libs installed.
Comment 8 Michael Baierl 2004-11-02 07:50:41 UTC
You are right... I had to re-install bluez-libs.
Now it works.
Comment 9 Alastair Tse (RETIRED) gentoo-dev 2005-01-17 02:54:34 UTC
*** Bug 78212 has been marked as a duplicate of this bug. ***