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

RE: [bluetooth-dev] Compilation problem with openBT



The standard answer to this question:

Read the Makefile in linux/drivers/char/bluetooth, and follow
the instructions regarding INCLUDEDIR.

//Peter

> -----Original Message-----
> From: nicolas diez [mailto:dieznicolas@xxxxxxx.fr]
> Sent: 07 January 2002 16:23
> To: bluetooth-dev@xxxxxxx.com
> Subject: [bluetooth-dev] Compilation problem with openBT
> 
> 
> Well, I've download openBT. I've all the software
> required in order to compil openBT. I'm under a
> mandrake 8.1 and after having apply init_env, I've the
> following message when I do the make instruction :
> 
> "[root@valium openbt]# source init_env 
> [root@valium openbt]# make
> make -C linux/drivers/char/bluetooth
> make[1]: Entre dans le répertoire
> `/root/openbt/linux/drivers/char/bluetooth'
> gcc -D__KERNEL__ -DMODULE -I../../../include
> -I/usr/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strength-reduce
> -DMODVERSIONS -include
> /usr/include/linux/modversions.h -MD   -c -o
> bluetooth.o bluetooth.c
> In file included from bluetooth.c:1:
> /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
> In file included from bluetooth.c:49:
> /usr/include/linux/malloc.h:3:2: warning: #warning The
> Use of linux/malloc.h is deprecated, use linux/slab.h
> make[1]: *** [bluetooth.o] Erreur 1
> make[1]: Quitte le répertoire
> `/root/openbt/linux/drivers/char/bluetooth'
> make: *** [all] Erreur 2"
> 
> Can anybody help me ???
> Thx if it's the case.
> 
> 
> 
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @xxxxxxx.fr gratuite et en français !
> Yahoo! Courrier : http://courrier.yahoo.fr
> -
> To unsubscribe from this list: send the line "unsubscribe 
> bluetooth-dev" in
> the body of a message to majordomo@xxxxxxx.com
> 
-
To unsubscribe from this list: send the line "unsubscribe bluetooth-dev" in
the body of a message to majordomo@xxxxxxx.com