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

RE: [bluetooth-dev] Error complie openbt20010530



> -----Original Message-----
> From: bbfvictory [mailto:bbfvictory@xxxxxxx.com]
> Sent: 19 June 2001 13:33
> To: bluetooth-dev@xxxxxxx.com
> Subject: [bluetooth-dev] Error complie openbt20010530
> 
> 
> Hi everyone:
>   i got the 20010530 stack but when i complie it error occued (redhat 7.1) the message is that:
> make[2]: Entering directory `/home/rcc/openbt/apps/bluetooth/userstack'
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK   -c hci.c -o hci.o
> hci.c: In function `hci_trig_send':
> hci.c:687: warning: implicit declaration of function `queue_task'
> hci.c:687: `send_data_task' undeclared (first use in this function)
> hci.c:687: (Each undeclared identifier is reported only once
> hci.c:687: for each function it appears in.)
> hci.c:687: `tq_scheduler' undeclared (first use in this function)
> hci.c: At top level:
> hci.c:2269: warning: `role_discovery' defined but not used
> hci.c:2524: warning: `write_inquiryscan_activity' defined but not used
> hci.c:2667: warning: `write_automatic_flush_timeout' defined but not used
> hci.c:2687: warning: `hci_set_host_controller_flow_control' defined but not used
> hci.c:3894: warning: `start_inq_timer' defined but not used
> hci.c:307: warning: `hci_inq_aborted' defined but not used
> make[2]: *** [hci.o] Error 1
> make[2]: Leaving directory `/home/rcc/openbt/apps/bluetooth/userstack'
> make[1]: *** [all-recurse] Error 1
> make[1]: Leaving directory `/home/rcc/openbt/apps/bluetooth'
> make: *** [all] Error 2
> 
>   can anybody got this message?and help me
>   thanks in advance

There should be a check for __KERNEL__ around the
hci_trig_send() function. Add #ifdef __KERNEL__ around
it and you should be fine.

//Peter
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com