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

[bluetooth-dev] Make error



I get this error when I try compiling openbt! 


In file included from bluetooth.c:48:
/usr/include/linux/module.h:337: warning: `EXPORT_NO_SYMBOLS' redefined
../../../include/linux/bluetooth/sysdep-2.1.h:47: warning: this is the location 
of the previous definition
In file included from ../../../include/linux/bluetooth/btcommon.h:51,
                 from ../../../include/linux/bluetooth/bluetooth.h:47,
                 from bluetooth.c:80:
../../../include/linux/bluetooth/btconfig.h:119: unbalanced `#endif'
In file included from ../../../include/linux/bluetooth/btcommon.h:55,
                 from ../../../include/linux/bluetooth/bluetooth.h:47,
                 from bluetooth.c:80:
/usr/include/linux/version.h:2: #error 
"======================================================="
/usr/include/linux/version.h:3: #error "You should not include 
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4: #error "files directly for the compilation of 
kernel modules."
/usr/include/linux/version.h:5: #error ""
/usr/include/linux/version.h:6: #error "glibc now uses kernel header files from a 
well-defined"
/usr/include/linux/version.h:7: #error "working kernel version (as recommended by 
Linus Torvalds)"
/usr/include/linux/version.h:8: #error "These files are glibc internal and may not 
match the"
/usr/include/linux/version.h:9: #error "currently running kernel. They should only 
be"
/usr/include/linux/version.h:10: #error "included via other system header files - 
user space"
/usr/include/linux/version.h:11: #error "programs should not directly include 
<linux/*.h> or"
/usr/include/linux/version.h:12: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13: #error ""
/usr/include/linux/version.h:14: #error "To build kernel modules please do the 
following:"
/usr/include/linux/version.h:15: #error ""
/usr/include/linux/version.h:16: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17: #error ""
/usr/include/linux/version.h:18: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19: #error "   /lib/modules/`uname -r`/build exists 
and points to"
/usr/include/linux/version.h:20: #error "   the matching kernel source directory"
/usr/include/linux/version.h:21: #error ""
/usr/include/linux/version.h:22: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23: #error "   /lib/modules/`uname 
-r`/build/include/linux/version.h"
/usr/include/linux/version.h:24: #error ""
/usr/include/linux/version.h:25: #error " o When compiling, make sure to use the 
following"
/usr/include/linux/version.h:26: #error "   compiler option to use the correct 
include files:"
/usr/include/linux/version.h:27: #error ""
/usr/include/linux/version.h:28: #error "   -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29: #error ""
/usr/include/linux/version.h:30: #error "   instead of"
/usr/include/linux/version.h:31: #error ""
/usr/include/linux/version.h:32: #error "   -I/usr/include/linux"
/usr/include/linux/version.h:33: #error ""
/usr/include/linux/version.h:34: #error "   Please adjust the Makefile 
accordingly."
/usr/include/linux/version.h:35: #error 
"======================================================="
make[1]: *** [bluetooth.o] Error 1
make[1]: Leaving directory `/usr/src/axis/openbt/linux/drivers/char/bluetooth'
make: *** [all] Error 2

Please guide!

Thanks
Tle


______________________________________________________________________
Do you want a free e-mail for life ? Get it at http://www.email.ro/

-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com