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

[bluetooth-dev] Problems building with Redhat 7.0



I'm new to bluetooth and this stack S/W. Trying to build the stack under Redhat Linux 7.0 (i believe this is 2.2.16 kernel) and get error referencing include files as follows:-
 
make -C src
make[1]: Entering directory `/home/alan/btstack/Software/bluetooth/src'
cc -D__KERNEL__ -DMODULE -I../include -Wall -Wstrict-prototypes -O2 -fomit-frame -pointer -fno-strength-reduce -DMODVERSIONS -include /usr/include/linux/modversions.h   -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/alan/btstack/Software/bluetooth/src'
make: *** [all] Error 2
Can anyone suggest what my problem may be?
 
Alan Michael