[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bluetooth-dev] Problems compiling openbt-20011021
I am trying to install openbt-20011021 but I am having
a lot of problems. I started running:
And the first error was:
In file included from <command line>:7:
/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
rather headers from an appropri ate kernel-source
/usr/include/linux/modversions.h:3:2: #error Change
-I/usr/src/linux/include (or similar) to
-I/lib/modules/$(uname -r)/build/in clude
/usr/include/linux/modversions.h:5:2: #error to build
against the currently-runn ing kernel.
I search your mailing list I found the we should run:
Then I got the following error:
In file included from bluetooth.c:49:
linux/malloc.h is deprecated, use linux/slab.h
I solved this one by going to every *.c file and
change #include <malloc.h> by #include <slab.h>.
After this I got the following warning:
dereferencing type-punned pointer will break
Once again searching the web I discover that on the
gcc command I should use the option -fstrict-aliasing
instead of -Wall.
And now I am stuck! I cannot find a solution for the
warning: concatenation of string literals with
__FUNCTION__ is deprecated
Can anyone help me?
Many thanks in advance.
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to firstname.lastname@example.org