Compiling bluez packages
Hi,
I am get the following errors while compiling bluez-bluefw-1.0
----------------------------8<-----------------------------------
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKA GE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"bluez-bluefw\" -DVERSION= \"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDL IB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES _H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DBT3C_SUPPORT=1 -I. -I. -I/usr/src /linux/include -Wall -g -O2 -c test -f 'bluefw.c' || echo './'bluefw.c
In file included from usblib.h:30,
from bluefw.c:39:
/usr/src/linux/include/linux/usbdevice_fs.h:49: error: variable or field `__u ser' declared void /usr/src/linux/include/linux/usbdevice_fs.h:49: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:49: error: parse error before '*' token /usr/src/linux/include/linux/usbdevice_fs.h:56: error: variable or field `__u ser' declared void /usr/src/linux/include/linux/usbdevice_fs.h:56: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:56: error: parse error before '*' token /usr/src/linux/include/linux/usbdevice_fs.h:66: error: variable or field `__u ser' declared void /usr/src/linux/include/linux/usbdevice_fs.h:66: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:66: error: parse error before '*' token /usr/src/linux/include/linux/usbdevice_fs.h:100: error: variable or field `__ user' declared void /usr/src/linux/include/linux/usbdevice_fs.h:100: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:100: error: parse error before '* ' token /usr/src/linux/include/linux/usbdevice_fs.h:109: error: parse error before '} ' token /usr/src/linux/include/linux/usbdevice_fs.h:116: error: variable or field `__ user' declared void /usr/src/linux/include/linux/usbdevice_fs.h:116: warning: no semicolon at end of struct or union /usr/src/linux/include/linux/usbdevice_fs.h:116: error: parse error before '* ' token In file included from bluefw.c:39:
usblib.h:163: warning: `packed' attribute ignored
make[1]: *** [bluefw.o] Error 1
make[1]: Leaving directory `/home/pmaciver/bluetooth/bluez/bluez-bluefw-1.0'
make: *** [all-recursive] Error 1
----------------------------8<-----------------------------------
....and also this error for bluez-pin-0.23 ----------------------------8<-----------------------------------
[root@reddevils bluez-pin-0.23]# make
cc -O2 -g pkg-config --cflags gtk+-2.0 libglade-2.0 dbus-glib-1 gconf-2.0 -DGTK_DISABLE_DEPRECATED -DDBUS_API_SUBJECT_TO_CHANGE -Wall -Os -fomit-frame-pointer -DPACKAGE=\"bluez-pin\" -DPREFIX=\"/usr/local\"
-DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -c main.c -o main.o
Package dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dbus-glib-1' found
main.c:20:21: gtk/gtk.h: No such file or directory
main.c:22:23: dbus/dbus.h: No such file or directory
main.c:23:28: dbus/dbus-glib.h: No such file or directory
In file included from main.c:25:
pin-ui.h:4: error: parse error before "outgoing"
main.c:35: error: parse error before "bluez_pin_handle_dbus_request"
main.c:35: error: parse error before '*' token
main.c:35: warning: type defaults to int' in declaration of bluez_pin_handle_dbus_request' main.c:35: warning: data definition has no type or storage class
main.c:38: error: parse error before "handler_func"
main.c:38: error: parse error before '*' token
main.c:41: warning: return type defaults to `int'main.c: In function `handler_func':
main.c:42: warning: implicit declaration of function dbus_message_is_method_call' main.c:42: error: message' undeclared (first use in this function)
main.c:42: error: (Each undeclared identifier is reported only once
main.c:42: error: for each function it appears in.)
main.c:43: error: `connection' undeclared (first use in this function)
main.c:48: warning: implicit declaration of function `dbus_message_is_signal'
main.c:49: error: DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL' undeclared (first use in this function) main.c:53: error: DBUS_HANDLER_RESULT_NOT_YET_HANDLED' undeclared (first use in this function) main.c: At top level:
main.c:56: error: parse error before "dbus_vtable"
main.c:56: warning: type defaults to int' in declaration of dbus_vtable'
main.c:57: warning: initialization makes integer from pointer without a cast
main.c:58: warning: excess elements in scalar initializer
main.c:58: warning: (near initialization for `dbus_vtable')
main.c:60: warning: excess elements in scalar initializer
main.c:60: warning: (near initialization for `dbus_vtable')
main.c:60: warning: data definition has no type or storage classmain.c: In function `bluez_pin_dbus_server_run':
main.c:65: error: `DBusConnection' undeclared (first use in this function)
main.c:65: error: `connection' undeclared (first use in this function)
main.c:66: error: `DBusError' undeclared (first use in this function)
main.c:66: error: parse error before "error"
main.c:71: warning: implicit declaration of function `dbus_error_init'
main.c:71: error: `error' undeclared (first use in this function)
main.c:72: warning: implicit declaration of function `dbus_bus_get'
main.c:72: error: `DBUS_BUS_SYSTEM' undeclared (first use in this function)
main.c:77: warning: implicit declaration of function `dbus_error_free'
main.c:81: warning: implicit declaration of function dbus_connection_setup_with_g_main' main.c:83: warning: implicit declaration of function dbus_connection_register_object_path' main.c:86: warning: implicit declaration of function `dbus_bus_acquire_service'
main.c:87: warning: implicit declaration of function `dbus_error_is_set'main.c: At top level:
main.c:107: error: parse error before "gchar"main.c: In function `legacy_pin_result':
main.c:109: error: `result' undeclared (first use in this function)
main.c:114: warning: implicit declaration of function `gtk_main_quit'main.c: At top level:
main.c:118: error: parse error before "outgoing"main.c: In function `legacy_pin_request':
main.c:122: error: `outgoing' undeclared (first use in this function)
main.c:122: error: `address' undeclared (first use in this function)
main.c:122: error: `name' undeclared (first use in this function)
main.c:124: warning: implicit declaration of function `g_signal_connect'
main.c:124: warning: implicit declaration of function `G_OBJECT'
main.c:124: warning: implicit declaration of function `G_CALLBACK'main.c: In function `main':
main.c:139: error: `gboolean' undeclared (first use in this function)
main.c:139: error: parse error before "dbus_mode"
main.c:140: error: `gchar' undeclared (first use in this function)
main.c:140: error: `address' undeclared (first use in this function)
main.c:140: error: `name' undeclared (first use in this function)
main.c:140: warning: left-hand operand of comma expression has no effect
main.c:150: error: `dbus_mode' undeclared (first use in this function)
main.c:150: error: `TRUE' undeclared (first use in this function)
main.c:152: error: `FALSE' undeclared (first use in this function)
main.c:186: warning: implicit declaration of function `gtk_set_locale'
main.c:187: warning: implicit declaration of function `gtk_init'
main.c:193: warning: implicit declaration of function `gtk_main'
main.c:197: error: parse error before "outgoing"
main.c:203: error: `outgoing' undeclared (first use in this function)
main.c:140: warning: statement with no effect
make: *** [main.o] Error 1 ----------------------------8<-----------------------------------
Is anyone able to help on these matters?
Thanks.
Signature · 19 lines
|-----------------------------------------------------------|
Philip MacIver
|-----------------------------------------------------------|
Mobile: +44 (0) 7830 132 176
- Email -
[email protected]
[email protected]
|-----------------------------------------------------------|
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-usersMarcel Holtmann
maintainerHi Philip,
Quoted 22 lines
I am get the following errors while compiling bluez-bluefw-1.0
----------------------------8<-----------------------------------
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKA GE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"bluez-bluefw\" -DVERSION= \"1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDL IB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES _H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DBT3C_SUPPORT=1 -I. -I. -I/usr/src /linux/include -Wall -g -O2 -ctest -f 'bluefw.c' || echo './'bluefw.c
In file included from usblib.h:30,from bluefw.c:39:
/usr/src/linux/include/linux/usbdevice_fs.h:49: error: variable or field `__u ser' declared void/usr/src/linux/include/linux/usbdevice_fs.h:49: warning: no semicolon at end of struct or union/usr/src/linux/include/linux/usbdevice_fs.h:49: error: parse error before '*' token/usr/src/linux/include/linux/usbdevice_fs.h:56: error: variable or field `__u ser' declared void/usr/src/linux/include/linux/usbdevice_fs.h:56: warning: no semicolon at end of struct or union/usr/src/linux/include/linux/usbdevice_fs.h:56: error: parse error before '*' token/usr/src/linux/include/linux/usbdevice_fs.h:66: error: variable or field `__u ser' declared void/usr/src/linux/include/linux/usbdevice_fs.h:66: warning: no semicolon at end of struct or union/usr/src/linux/include/linux/usbdevice_fs.h:66: error: parse error before '*' token/usr/src/linux/include/linux/usbdevice_fs.h:100: error: variable or field `__ user' declared void/usr/src/linux/include/linux/usbdevice_fs.h:100: warning: no semicolon at end of struct or union/usr/src/linux/include/linux/usbdevice_fs.h:100: error: parse error before '* ' token/usr/src/linux/include/linux/usbdevice_fs.h:109: error: parse error before '} ' token
Quoted 8 lines
/usr/src/linux/include/linux/usbdevice_fs.h:116: error: variable or field `__ user' declared void/usr/src/linux/include/linux/usbdevice_fs.h:116: warning: no semicolon at end of struct or union/usr/src/linux/include/linux/usbdevice_fs.h:116: error: parse error before '* ' token In file included from bluefw.c:39:
usblib.h:163: warning: `packed' attribute ignored
make[1]: *** [bluefw.o] Error 1
make[1]: Leaving directory `/home/pmaciver/bluetooth/bluez/bluez-bluefw-1.0'
make: *** [all-recursive] Error 1
I haven't looked at bluefw for a long time. If you use a 2.6.x kernel you can use the bcm203x driver and copy the firmware files to a place where firmware.agent finds them.
Quoted 77 lines
....and also this error for bluez-pin-0.23 ----------------------------8<-----------------------------------
[root@reddevils bluez-pin-0.23]# make
cc -O2 -gpkg-config --cflags gtk+-2.0 libglade-2.0 dbus-glib-1 gconf-2.0-DGTK_DISABLE_DEPRECATED(quoted diff) +0
-2-DDBUS_API_SUBJECT_TO_CHANGE -Wall -Os -fomit-frame-pointer -DPACKAGE=\"bluez-pin\" -DPREFIX=\"/usr/local\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -c main.c -o main.oPackage dbus-glib-1 was not found in the pkg-config search path.
Perhaps you should add the directory containing `dbus-glib-1.pc'
to thePKG_CONFIG_PATHenvironment variable
No package 'dbus-glib-1' found
main.c:20:21:gtk/gtk.h: No such file or directory
main.c:22:23:dbus/dbus.h: No such file or directory
main.c:23:28:dbus/dbus-glib.h: No such file or directory
In file included from main.c:25:
pin-ui.h:4: error: parse error before "outgoing"
main.c:35: error: parse error before "bluez_pin_handle_dbus_request"
main.c:35: error: parse error before '*' token
main.c:35: warning: type defaults toint' in declaration ofbluez_pin_handle_dbus_request' main.c:35: warning: data definition has no type or storage class
main.c:38: error: parse error before "handler_func"
main.c:38: error: parse error before '*' token
main.c:41: warning: return type defaults to `int'main.c: In function `handler_func':
main.c:42: warning: implicit declaration of functiondbus_message_is_method_call' main.c:42: error:message' undeclared (first use in this function)
main.c:42: error: (Each undeclared identifier is reported only once
main.c:42: error: for each function it appears in.)
main.c:43: error:connection' undeclared (first use in this function) main.c:48: warning: implicit declaration of functiondbus_message_is_signal' main.c:49: error:DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL' undeclared (first use in this function) main.c:53: error:DBUS_HANDLER_RESULT_NOT_YET_HANDLED' undeclared (first use in this function)main.c: At top level:
main.c:56: error: parse error before "dbus_vtable"
main.c:56: warning: type defaults toint' in declaration ofdbus_vtable' main.c:57: warning: initialization makes integer from pointer without a cast main.c:58: warning: excess elements in scalar initializer
main.c:58: warning: (near initialization for `dbus_vtable')
main.c:60: warning: excess elements in scalar initializer
main.c:60: warning: (near initialization for `dbus_vtable')
main.c:60: warning: data definition has no type or storage classmain.c: In function `bluez_pin_dbus_server_run':
main.c:65: error:DBusConnection' undeclared (first use in this function) main.c:65: error:connection' undeclared (first use in this function) main.c:66: error: `DBusError' undeclared (first use in this function)
main.c:66: error: parse error before "error"
main.c:71: warning: implicit declaration of functiondbus_error_init' main.c:71: error:error' undeclared (first use in this function)
main.c:72: warning: implicit declaration of function `dbus_bus_get'
main.c:72: error:DBUS_BUS_SYSTEM' undeclared (first use in this function) main.c:77: warning: implicit declaration of functiondbus_error_free' main.c:81: warning: implicit declaration of functiondbus_connection_setup_with_g_main' main.c:83: warning: implicit declaration of functiondbus_connection_register_object_path' main.c:86: warning: implicit declaration of functiondbus_bus_acquire_service' main.c:87: warning: implicit declaration of functiondbus_error_is_set'main.c: At top level:
main.c:107: error: parse error before "gchar"main.c: In function `legacy_pin_result':
main.c:109: error: `result' undeclared (first use in this function)
main.c:114: warning: implicit declaration of function `gtk_main_quit'main.c: At top level:
main.c:118: error: parse error before "outgoing"main.c: In function `legacy_pin_request':
main.c:122: error:outgoing' undeclared (first use in this function) main.c:122: error:address' undeclared (first use in this function)
main.c:122: error: `name' undeclared (first use in this function)
main.c:124: warning: implicit declaration of functiong_signal_connect' main.c:124: warning: implicit declaration of functionG_OBJECT'
main.c:124: warning: implicit declaration of function `G_CALLBACK'main.c: In function `main':
main.c:139: error: `gboolean' undeclared (first use in this function) main.c:139: error: parse error before "dbus_mode"
main.c:140: error: `gchar' undeclared (first use in this function)
main.c:140: error: `address' undeclared (first use in this function)
main.c:140: error: `name' undeclared (first use in this function)
main.c:140: warning: left-hand operand of comma expression has no effect main.c:150: error:dbus_mode' undeclared (first use in this function) main.c:150: error:TRUE' undeclared (first use in this function)
Quoted 8 lines
main.c:152: error:
FALSE' undeclared (first use in this function) main.c:186: warning: implicit declaration of functiongtk_set_locale' main.c:187: warning: implicit declaration of functiongtk_init' main.c:193: warning: implicit declaration of functiongtk_main' main.c:197: error: parse error before "outgoing" main.c:203: error: `outgoing' undeclared (first use in this function) main.c:140: warning: statement with no effect
make: *** [main.o] Error 1
Looks like you have to install the GTK and D-Bus development packages.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Philip,
Quoted 4 lines
Just a question unrelated to bluez then.
I'm also trying to compile libbtctl so that I can use the gnome-bluetooth-subsystem
but i'm getting the following error and I just thought that you may know what the problem is on the off chance.
there is a mailing list for gnome-bluetooth. Post your problem there.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
bluez and qpe-terminal installation in zaurus SL 5500
Hi,
I removed the battery and re-inserted it to solve the Freezing of my zaurus SL 5500 PDA and find my PDA empty.
I want the following installed -
1) bluez-csr-serial version 1.0
2) bluez-zaurus version 2.3-2.4.18d 3) openssh-server version 3.6.1p1 4) qpe-terminal version 1.5.0-3
How to do it ??????
kindly give me some links or steps .
I want the terminal at first on zaurus.kindly give ideas/info & links with respect to these installations in SL 5500 .
Regards,
karthik bala guru
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: [Bluez-users] bluez and qpe-terminal installation in zaurus SL 5500
Hi,
It would be very fine, if you could xplain the way in which qpe-terminal can be installed . The different ways to install qpe-terminal .
I have got a pdf with the CD and it is fine but i have some doubt in it..... with Intellisync for FILE TRANSFER from my PC to PDA.
Here is snapshot of the actual area of my work for getting qpe-terminal in my zaurus ---------------->>>>>>>>&g t;>>>>>>>>>>>> >>>>>>>>>>>> You can transfer Documents files (image files, movie files, text files, etc.) between
the device and your PC.
Preparing for Documents Management
1. With the power turned on, place the device on the Docking Station connected
to your PC.
2. Drag and drop the desired files to the Intellisync Accessfolder shortcut icon.
3. Click the Intellisync icon and then select File Transfer from the Intellisync
menu.
The File Transfer dialog box will be opened with the Documents files of the
device and their directory information automatically listed on the Document file
list box.
?????* HERE I DONT GET THE MENU **************** WHAT COULD BE REASON ?*?????
????????*I GET TERMCMD_ERR_NETWORK_RESOURCE. No response from the Partner *****
The files in the Intellisync Accessfolder will be listed in the PC file list box.
File Transfer Operations
Follow these steps to transfer Documents files between the device
and your PC:
To transfer PC files to your device:
1. Click the desired file in the PC file list box.
• To select all files, click All selection.
• To select several files, shift + click the desired files one by one.
2. Click to transfer the file to your device.
The file will be added to the Document file list box.
To transfer files on the device to your PC:
1. Click the desired file in the Document file list box.
• To select all files, click All selection.
• To select several files, shift + click the desired files one by one.
2. Click to transfer the file to your PC.
The file will be added to the PC file list box.
To add files to the PC file list box:
1. Double-click the Intellisync Accessfolder shortcut icon on your desktop.
The Intellisync Accessfolder will be opened.
2. Drag and drop the desired file to the Intellisync Accessfolder or drag and drop it
to the Intellisync Accessfolder shortcut icon.
**** I HAVE THIS FOLDER IN c:\\ (C directory ) *****************************
3. Close the Intellisync Accessfolder and then open the File Transfer dialog box by
the Intellisync menu. The file will be displayed in the PC file list box.
-------------------->>>>>>>>>>>>>>>>>>>>>>>>>----<<<<<<<<<>>>>>>>>>>>
Kindly give enough info in setting up the qpe-terminal through file-transfer
OR from another zaurus PDA also(as i have one more PDA(sl 5500) with me with
the qpe-terminal,ssh and bluez)
CHeeeeeeeeeeeeeers, Nice Work friend,
regards,
karthik bala guru
karthik bala guru <[email protected]> wrote:
Hi,
I removed the battery and re-inserted it
to solve the Freezing of my zaurus SL 5500 PDA
and find my PDA empty.
I want the following installed -
1) bluez-csr-serial version 1.0
2) bluez-zaurus version 2.3-2.4.18d
3) openssh-server version 3.6.1p1
4) qpe-terminal version 1.5.0-3
How to do it ??????
kindly give me some links or steps .
I want the terminal at first on zaurus.kindly
give ideas/info & links with respect to
these installations in SL 5500 .
Regards,
karthik bala guru
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
---------------------------------
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!