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

Re: [bluetooth-dev] Openbt compilation



Title: Message
My version of openbt is updated from CVS recently, but I can´t compile it. There are too much errors.
Could anybody send me btdm application compiled for 2.4.19 or help me to compile it?
 
These are some errors:

[root@bluetoothcito openbt]# make

make -C linux/drivers/char/bluetooth

make[1]: Cambiando a directorio `/home/unai/axis/e100lx_mcm/apps/openbt/linux/drivers/char/bluetooth'

gcc -D__KERNEL__ -DMODULE -I../../../include -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -MD -c -o bluetooth.o bluetooth.c

In file included from /usr/src/linux/include/linux/types.h:5,

from ../../../include/linux/bluetooth/sysdep-2.1.h:41,

from bluetooth.c:44:

/usr/src/linux/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory

In file included from /usr/src/linux/include/linux/prefetch.h:13,

from /usr/src/linux/include/linux/list.h:6,

from /usr/src/linux/include/linux/wait.h:14,

from /usr/src/linux/include/linux/poll.h:8,

from ../../../include/linux/bluetooth/sysdep-2.1.h:68,

from bluetooth.c:44:

/usr/src/linux/include/asm/processor.h:56: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/src/linux/include/asm/processor.h:56: requested alignment is not a constant

In file included from bluetooth.c:49:

/usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.

In file included from /usr/src/linux/include/asm/hardirq.h:6,

from /usr/src/linux/include/linux/interrupt.h:45,

from bluetooth.c:77:

/usr/src/linux/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/src/linux/include/linux/irq.h:65: requested alignment is not a constant

In file included from /usr/src/linux/include/linux/interrupt.h:45,

from bluetooth.c:77:

/usr/src/linux/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/src/linux/include/asm/hardirq.h:16: requested alignment is not a constant

In file included from bluetooth.c:77:

/usr/src/linux/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)

/usr/src/linux/include/linux/interrupt.h:128: requested alignment is not a constant

bluetooth.c: In function `bt_open':

bluetooth.c:425: warning: concatenation of string literals with __FUNCTION__ is deprecated

bluetooth.c: In function `bt_close':

bluetooth.c:443: warning: concatenation of string literals with __FUNCTION__ is deprecated

 
Thanks
 
----- Original Message -----
Sent: Thursday, October 16, 2003 1:29 PM
Subject: RE: [bluetooth-dev] Openbt compilation

Please be aware that release 0.0.8 was created two years ago.
We do not guarantee anything about its operability with current software.
The recommendation is to use the latest code from the CVS which
has received a huge number of updates during these two years.
 
//Peter
-----Original Message-----
From: Unai García [mailto:unai.garcia@xxxxxxx.edu]
Sent: 16 October 2003 11:08
To: Bluetooth-dev
Subject: [bluetooth-dev] Openbt compilation

Hi everybody,
 
My last experience with openbt was with kernel 2.4.14 on devboard_lx and all worked OK.
 
Now I´m working with openbt 0.0.8, kernel 2.4.19 and axis83 and I can´t compile openbt for this kernel.
 
Is it possible to compile openbt 0.0.8 for kernel 2.4.19 without modifying anything or needs any kind of changes?
 
  ____________________________________________      
\                                                                              /
/   Unai García Amaro                                               \
\   Mondragon Unibertsitatea                          ( o_       /
/   unai.garcia@xxxxxxx.edu     / /\        \
\_____________________________________ V / ____/