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

[bluetooth-dev] Installaing openbt stack



Helo,

            I am trying to install the AXIS Bluetooth Stack. I have no BT hardware available and hence i have defined the HCI_EMULATION flag in the file btconfig.h . Now i/m executing the following commands:

cd openbt

source init_env

make

But it gives me the following error:

[priyank@pc-p31235 openbt]$ source init_env
[priyank@pc-p31235 openbt]$ make
make -C linux/drivers/char/bluetooth
make[1]: Entering directory `/home/priyank/openbt/linux/drivers/char/bluetooth'
gcc -D__KERNEL__ -DMODULE -I../../../include -I/usr/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -DMODVERSIONS -include /usr/include/linux/modversions.h -MD   -c -o bluetooth.o bluetooth.c
In file included from bluetooth.c:0:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate kernel-source
make[1]: *** [bluetooth.o] Error 1
make[1]: Leaving directory `/home/priyank/openbt/linux/drivers/char/bluetooth'
make: *** [all] Error 2
[priyank@pc-p31235 openbt]$

Can anybody please help me with the installation of BT openbt stack.

 

Thanks and regards,

Priyank