Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 7 Oct 2002 17:24:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 7 Oct 2002 17:24:21 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:16399 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Mon, 7 Oct 2002 17:24:04 -0400 Date: Mon, 7 Oct 2002 14:28:58 -0700 (PDT) From: Linus Torvalds To: Marcel Holtmann cc: Linux Kernel Mailing List , Maksim Krasnyanskiy Subject: Re: [PATCH] Make it possible to compile in the Bluetooth subsystem In-Reply-To: <1034025872.861.81.camel@pegasus> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 910 Lines: 25 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/