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

RE: [bluetooth-dev] Build error



I think it has been mentioned before, but anyway. There should
be an #ifdef __KERNEL__ around the hci_trig_send() function.
This is fixed in the repository. I have not had time to make a
new "release", though.

//Peter

> -----Original Message-----
> From: Robert Cragie [mailto:rcc@xxxxxxx.com]
> Sent: Thursday, June 14, 2001 19:31
> To: bluetooth-dev@xxxxxxx.com
> Subject: [bluetooth-dev] Build error 
> 
> 
> Newbie to the Axis stack.
> 
> I am getting a build error on the latest version (0.0.4, May 
> 29 2001). Using
> RedHat 6.2, kernel 2.2.16 (updated from original)
> 
> Firstly, I came across the $(BOBJS) problem in the Makefile - sorted.
> 
> Now I get:
> 
> Making all in userstack for
> 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
> 
> Seems to be trying to use kernel stuff in the user mode app...??
> 
> Any help appreciated.
> 
> Robert Cragie
> Design Engineer
> Jennic Ltd.
> Furnival Street
> Sheffield
> S1 4QT
> United Kingdom
> Tel: +44 (0) 114 281 4512
> Fax: +44 (0) 114 281 2951
> mailto:rcc@xxxxxxx.com
> http://www.jennic.com
> 
> -
> 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