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

RE: [bluetooth-dev] Trouble when compiling OpenBT with PAN profile

> -----Original Message-----
> From: fabrizio.gennari@xxxxxxx.com 
> [mailto:fabrizio.gennari@xxxxxxx.com]
> Sent: 31 January 2002 12:37
> To: bluetooth-dev@xxxxxxx.com
> Subject: [bluetooth-dev] Trouble when compiling OpenBT with 
> PAN profile
> I downloaded the latest version of the OpenBT stack with PAN profile 
> support, but I am having trouble compiling it. It makes 
> various .o files 
> but does not link them to bt.o .
> Here is what I did:
> - downloaded the stack from CVS
> - copied the linux/ subtree to /usr/src/linux, where kernel 
> 2.4.17 sources 
> are
> - added the line 
>   source drivers/char/bluetooth/Config.in
>   to drivers/char/Config.in, so Bluetooth shows in make xconfig
> - added the line
>   subdir-$(CONFIG_BLUETOOTH) += bluetooth
>   to drivers/char/Makefile, so Bluetooth modules would be compiled

Add 'obj-$(CONFIG_BLUETOOTH) += bluetooth/bt.o' too.

> - in make xconfig, answered "M" to "Bluetooth driver", "CSR" 
> to "Bluetooth 
> hardware type", "Y" to "Enable PAN profile" and "N" to everything else

I am not sure whether it works automatically to build is as a
module when building as part of the kernel. It works to make
it built-in this way, and it works to build it as a module when
building outside the kernel tree.

> "make modules" creates the .o files, but does not link them to bt.o . 
> Besides, bnep.o and bnep_proc_status.o are not compiled.
> Am I doing something wrong? I think that the stack was not 
> thought to be included in the main Linux kernel, but to be
> compiled stand-alone.
> Fabrizio Gennari
> Philips Research Monza
> via G.Casati 23, 20052 Monza (MI), Italy
> tel. +39 039 2037816, fax +39 039 2037800

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