Re: [PATCH] Make it possible to compile in the Bluetooth subsystem

From: Marcel Holtmann (marcel@holtmann.org)
Date: Mon Oct 07 2002 - 17:38:44 EST


On Mon, 2002-10-07 at 23:28, Linus Torvalds wrote:
>
> On 7 Oct 2002, Marcel Holtmann wrote:
> >
> > but when I try to compile in the Bluetooth subsystem I got the following
> > error:
> >
> > net/built-in.o: In function `sock_init':
> > net/built-in.o(.text.init+0x5b): undefined reference to `bluez_init'
> > make: *** [.tmp_vmlinux1] Error 1
>
> This is a separate error, apparently because net/socket.c calls
> "blues_init()" if bluetooth is configured in.
>
> That shouldn't be needed at all, since the "init_module()" thing should
> take care of it. Please try just removing the bluez_init references from
> net/socket.c - that should fix the compile, and if all the ordering issues
> are ok, it should also work afterwards..

I started a clean build kernel without this code and it works. Thanks
for the info and a new patch follows.

Regards

Marcel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Oct 07 2002 - 22:01:01 EST