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

[bluetooth-dev] hci.c compile error (userstack)



Hi.
I'm attempting to build the current OpenBT version in the cvs repository
(20010603) on a Mandrake 8.0 (kernel 2.4.3) system.

The readline-devel and libtermcap-devel packages have been manually
installed.
I get a compilation error in hci.c when making the user stack. The
declaration of queue_task is not found as shown in the listing below.

Can you suggest a change I should make to fix the problem?

Cheers ... Gerard

Making all in userstack for
make[2]: Entering directory
`/home/gerard/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:2274: warning: `role_discovery' defined but not used
hci.c:2529: warning: `write_inquiryscan_activity' defined but not used
hci.c:2672: warning: `write_automatic_flush_timeout' defined but not
used
hci.c:2692: warning: `hci_set_host_controller_flow_control' defined but
not used
hci.c:3899: 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/gerard/openbt/apps/bluetooth/userstack'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory `/home/gerard/openbt/apps/bluetooth'
make: *** [all] Error 2
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com