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

RE: [bluetooth-dev] Compiling latest openbt...



This was answered here on the list the other day by Stuart
Eichert, and the fix is to put an #ifdef __KERNEL__ around
the code in hci_trig_send().

I have fixed it in the CVS repository now.

//Peter

> -----Original Message-----
> From: Wijnhoven, R.G.J. [mailto:R.G.J.Wijnhoven@xxxxxxx.nl]
> Sent: 05 June 2001 11:03
> To: 'bluetooth-dev@xxxxxxx.com'
> Subject: [bluetooth-dev] Compiling latest openbt...
> 
> 
> Hi,
> 
> I tried installing the lastest Openbt (05-30-01) and get the 
> followingg
> errors during the 'make' procedure. Something goes wrong 
> creating hci.o. 
> Perhaps this does say more to you then to me ;)
> 
> 
> 
> Making all in userstack for
> make[2]: Entering directory 
> `/home/rob/openbt/apps/bluetooth/userstack'
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK   -c 
> -o btd.o btd.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK   -c 
> -o btdebug.o
> btdebug.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK   -c 
> -o btmem.o
> btmem.c
> cc -Wall -O0 -g -DHAVE_READLINE_READLINE -DBTD_USERSTACK   -c 
> -o hci.o hci.c
> 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/rob/openbt/apps/bluetooth/userstack'
> make[1]: *** [all-recurse] Error 1
> make[1]: Leaving directory `/home/rob/openbt/apps/bluetooth'
> make: *** [all] Error 2
> 
> 
> Thnx,
> 
> Rob Wijnhoven
> Student
> Electrotechnical Engineering
> Technical Univerity Eindhoven
> The Netherlands
> -
> To unsubscribe from this list: send the line "unsubscribe 
> bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
> 
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com