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

Linus Torvalds (torvalds@transmeta.com)
Mon, 7 Oct 2002 14:28:58 -0700 (PDT)


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..

Linus

-
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/