[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bluetooth-dev] Kernel 2.4.0-11 for axis's bt



haemi wrote:

> <cid:part1.03060506.00080104@xxxxxxx.com>
> 
> Hi
> 
> I use Axis Bluetooth Driver for Linux with a Bluetooth device based on a
> Ericsson & CSR chips.
> I have a little problem with 20010108 bt-module.
> The Bluetooth stack is not compiled in kernel version 2.4.0-11 but It is compiled
> in 2.2.x and executed ppp over rfcomm.
> 
> error message is as followed
> =====================================================
> make -C src
> make[1]: Entering directory `/user1/bluetooth/src'
> cc -D__KERNEL__ -DMODULE -I../include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce    -c -o bluetooth.o bluetooth.c
> bluetooth.c: In function `bt_ioctl':
> bluetooth.c:516: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
> bluetooth.c: In function `bt_connect':
> bluetooth.c:1454: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
> bluetooth.c: In function `bt_init':
> bluetooth.c:1638: warning: implicit declaration of function `proc_register'
> bluetooth.c: In function `bt_connect_cfm':
> bluetooth.c:2163: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> bluetooth.c:2174: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> bluetooth.c: In function `cleanup_module':
> bluetooth.c:2224: warning: implicit declaration of function `proc_unregister'
> cc -D__KERNEL__ -DMODULE -I../include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce    -c -o btdebug.o btdebug.c
> btdebug.c: In function `print_time':
> btdebug.c:61: warning: int format, time_t arg (arg 3)
> btdebug.c:61: warning: int format, suseconds_t arg (arg 4)
> cc -D__KERNEL__ -DMODULE -I../include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce    -c -o btmem.o btmem.c
> cc -D__KERNEL__ -DMODULE -I../include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce    -c -o hci.o hci.c
> hci.c:245: `MUTEX' undeclared here (not in a function)
> hci.c:246: `MUTEX' undeclared here (not in a function)
> hci.c: In function `process_event':
> hci.c:593: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c:660: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c:776: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c: In function `process_return_param':
> hci.c:932: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c:948: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c:964: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c:981: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c:1180: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c:1219: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c:1248: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c: In function `hci_test_connect_req':
> hci.c:2638: warning: passing arg 1 of `interruptible_sleep_on' from incompatible pointer type
> hci.c: In function `send_cmd_queue':
> hci.c:3223: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c: In function `cmd_timeout':
> hci.c:3262: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c: In function `send_cmd_block':
> hci.c:3273: variable `wait' has initializer but incomplete type
> hci.c:3273: warning: excess elements in struct initializer after `wait'
> hci.c:3273: warning: excess elements in struct initializer after `wait'
> hci.c:3273: storage size of `wait' isn't known
> hci.c:3277: warning: passing arg 1 of `add_wait_queue' from incompatible pointer type
> hci.c:3290: warning: passing arg 1 of `remove_wait_queue' from incompatible pointer type
> hci.c:3273: warning: unused variable `wait'
> hci.c: In function `inq_timeout':
> hci.c:3334: warning: passing arg 1 of `__wake_up' from incompatible pointer type
> hci.c: In function `send_inq_cmd_block':
> hci.c:3343: variable `wait' has initializer but incomplete type
> hci.c:3343: warning: excess elements in struct initializer after `wait'
> hci.c:3343: warning: excess elements in struct initializer after `wait'
> hci.c:3343: storage size of `wait' isn't known
> hci.c:3347: warning: passing arg 1 of `add_wait_queue' from incompatible pointer type
> hci.c:3360: warning: passing arg 1 of `remove_wait_queue' from incompatible pointer type
> hci.c:3343: warning: unused variable `wait'
> hci.c: At top level:
> hci.c:2207: warning: `write_inquiryscan_activity' defined but not used
> hci.c:186: warning: `write_authentication_enable' declared `static' but never defined
> hci.c:2338: warning: `write_automatic_flush_timeout' defined but not used
> hci.c:237: warning: `hci_receive_timer' defined but not used
> make[1]: *** [hci.o] Error 1
> make[1]: Leaving directory `/user1/bluetooth/src'
> make: *** [all] Error 2
> =======================================================================================
> 
> Any help would be very much appreciated..  
> Thank You
> 
> haemi
> 
> 
> 
> 
> 
> - To unsubscribe from this list: send the line "unsubscribe 
> bluetooth-dev" in the body of a message to majordomo@xxxxxxx.com 

We've ported the 20010108 Axis stack to 2.4.X.  There were two major 
changes, one
in the wait_queue data structure and the other in setting up /proc file 
system entries.
We'd like to push this back, but the Axis sourceforge project is not up 
yet.  Maybe when
this happens we can push our changes back.

Marcus Smith
RidgeRun Inc.