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

[bluetooth-dev] Problems compiling openbt-20011021



Hi everyone

I am trying to install openbt-20011021 but I am having
a lot of problems. I started running:
#source init_env
#make

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
package.
/usr/include/linux/modversions.h:3:2: #error Change
-I/usr/src/linux/include (or  similar) to
/usr/include/linux/modversions.h:4:2: #error
-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:
#make INCLUDEDIR=/usr/src/linux-2.4/include/

Then I got the following error:
In file included from bluetooth.c:49:
/usr/src/linux-2.4/include/linux/malloc.h:4:2: #error
linux/malloc.h is deprecated, use linux/slab.h
instead.

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:
/usr/src/linux-2.4/include/asm/system.h:189: warning:
dereferencing type-punned pointer will break
strict-aliasing rules

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
following warning:
warning: concatenation of string literals with
__FUNCTION__ is deprecated

Can anyone help me?

Many thanks in advance.

Filipa Duarte


		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com