From - Tue Nov 13 19:08:13 2001
Return-Path: <linux-kernel-owner@vger.kernel.org>
Received: from localhost (localhost [127.0.0.1])
	by nickpc.tyict.vtc.edu.hk (8.11.6/8.11.6) with ESMTP id fAD9c3C01782
	for <nicku@localhost>; Tue, 13 Nov 2001 17:38:03 +0800
Received: from hqmail.vtc.edu.hk [192.168.79.199]
	by localhost with POP3 (fetchmail-5.9.0)
	for nicku@localhost (single-drop); Tue, 13 Nov 2001 17:38:03 +0800 (HKT)
Received: from mimas.vtc.edu.hk ([192.168.50.254]) by
          hqmail.vtc.edu.hk (Netscape Messaging Server 4.15) with ESMTP id
          GMQG7D00.5S1 for <nicku@vtc.edu.hk>; Tue, 13 Nov 2001 17:40:25 +0800 
Received: from vger.kernel.org(199.183.24.194) by mimas.vtc.edu.hk via csmap (V4.1)
	id srcCAAf5ayRG; Tue, 13 Nov 01 17:37:32 +0800
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
	id <S281558AbRKMJek>; Tue, 13 Nov 2001 04:34:40 -0500
Received: (majordomo@vger.kernel.org) by vger.kernel.org
	id <S281560AbRKMJe3>; Tue, 13 Nov 2001 04:34:29 -0500
Received: from galba.tp1.ruhr-uni-bochum.de ([134.147.240.75]:49924 "EHLO
	galba.tp1.ruhr-uni-bochum.de") by vger.kernel.org with ESMTP
	id <S281558AbRKMJeP>; Tue, 13 Nov 2001 04:34:15 -0500
Received: from chaos.tp1.ruhr-uni-bochum.de (IDENT:root@chaos.tp1.ruhr-uni-bochum.de [134.147.240.92])
	by galba.tp1.ruhr-uni-bochum.de (8.11.6/8.11.2) with ESMTP id fAD9cMu01013;
	Tue, 13 Nov 2001 10:38:22 +0100
Received: from localhost (kai@localhost)
	by chaos.tp1.ruhr-uni-bochum.de (8.11.6/8.11.6) with ESMTP id fAD9Y6T31901;
	Tue, 13 Nov 2001 10:34:06 +0100
Date: Tue, 13 Nov 2001 10:34:06 +0100 (CET)
From: Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
To: Keith Owens <kaos@ocs.com.au>
cc: <linux-kernel@vger.kernel.org>, Linus Torvalds <torvalds@transmeta.com>
Subject: Re: 2.4.15-pre4 full build for i386, warnings
In-Reply-To: <13136.1005634661@kao2.melbourne.sgi.com>
Message-ID: <Pine.LNX.4.33.0111131018010.31786-100000@chaos.tp1.ruhr-uni-bochum.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: linux-kernel-owner@vger.kernel.org
Precedence: bulk
X-Mailing-List: linux-kernel@vger.kernel.org

On Tue, 13 Nov 2001, Keith Owens wrote:

> depmod: *** Unresolved symbols in /var/tmp/lib/modules/2.4.15-pre4/kernel/drivers/char/isicom.o
> depmod:		xquad_portio
> depmod: *** Unresolved symbols in /var/tmp/lib/modules/2.4.15-pre4/kernel/drivers/isdn/hysdn/hysdn.o
> depmod:		xquad_portio
> [...]

That's supposedly because xquad_portio (ifdef CONFIG_MULTIQUAD) is not 
exported, thus causing all modules using I/O instructions to fail.

I also see a static definition of xquad_portio in 
arch/i386/boot/compressed/misc.c, for which I don't understand why it's 
needed at all.

Trivial patch appended.

--Kai


diff -ur linux-2.4.15-pre4/arch/i386/kernel/i386_ksyms.c linux-2.4.15-pre4.work/arch/i386/kernel/i386_ksyms.c
--- linux-2.4.15-pre4/arch/i386/kernel/i386_ksyms.c	Tue Nov 13 10:15:23 2001
+++ linux-2.4.15-pre4.work/arch/i386/kernel/i386_ksyms.c	Tue Nov 13 10:28:39 2001
@@ -177,3 +177,7 @@
 
 extern int is_sony_vaio_laptop;
 EXPORT_SYMBOL(is_sony_vaio_laptop);
+
+#ifdef CONFIG_MULTIQUAD
+EXPORT_SYMBOL(xquad_portio);
+#endif
diff -ur linux-2.4.15-pre4/arch/i386/kernel/smpboot.c linux-2.4.15-pre4.work/arch/i386/kernel/smpboot.c
--- linux-2.4.15-pre4/arch/i386/kernel/smpboot.c	Fri Oct  5 03:42:54 2001
+++ linux-2.4.15-pre4.work/arch/i386/kernel/smpboot.c	Tue Nov 13 10:26:50 2001
@@ -969,7 +969,7 @@
 
 static int boot_cpu_logical_apicid;
 /* Where the IO area was mapped on multiquad, always 0 otherwise */
-void *xquad_portio = NULL;
+void *xquad_portio;
 
 void __init smp_boot_cpus(void)
 {

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

