[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [bluetooth-dev] Problems building OpenBT stack
The developer board does not support modules, so
there is no use in trying to build the stack as one.
You need to build it as part of the kernel build.
You need to do at least the following:
* Put the include/linux/bluetooth and
drivers/char/bluetooth directories into the same
locations in your kernel tree.
* Add 'source drivers/char/bluetooth/Config.in' to
the end of drivers/char/Config.in (after the endmenu).
* Add the following to drivers/char/Makefile at some
subdir-$(CONFIG_BLUETOOTH) += bluetooth
obj-$(CONFIG_BLUETOOTH) += bluetooth/bt.o
* Add the following to the end of tty_init() in
(you may need to use bt_init_module() instead of bt_init()).
* Reconfigure the kernel (e.g., make menuconfig), and
configure Bluetooth from the new menu alternative.
* Rebuild the kernel.
Hope that helps.
> -----Original Message-----
> From: Martin Townsend [mailto:firstname.lastname@example.org]
> Sent: 21 May 2001 15:13
> To: email@example.com
> Subject: [bluetooth-dev] Problems building OpenBT stack
> I am trying to build the latest OpenBT stack and applications
> to run on the Axis Developer Board LX running 2.4.3 kernel.
> So using the
> make INCLUDEDIR=/home/emartow/dev/axis/devboard_lx/os/linux/include
> I get the following output
> make -C linux/drivers/char/bluetooth
> make: Entering directory
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/home/emartow/dev/axis/devboard_lx/os/linux/include -Wall
> -Wstrict-prototypes -O2 -fomit-frame-pointer
> -fno-strength-reduce -DMODVERSIONS -include
> ersions.h -MD -c -o bluetooth.o bluetooth.c
> make: Leaving directory
> <command line>:
> ersions.h: No such file or directory
> having looked in the src tree I cannot find the header file it needs.
> What am I doing wrong?? Being very new to linux it's
> probably something obvious :-)
> Thanx in advance.
> Martin Townsend
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to firstname.lastname@example.org