lkml.org 
[lkml]   [2001]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.4.15-pre4 full build for i386, warnings
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/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.039 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site