public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* r128.o unresolved symbol vmalloc_32
@ 2002-06-09 14:38 Duncan Sands
  2002-06-09 15:45 ` Skip Ford
  0 siblings, 1 reply; 2+ messages in thread
From: Duncan Sands @ 2002-06-09 14:38 UTC (permalink / raw)
  To: linux-kernel

linux-2.5.21:

if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /usr/src/linux-2.5.21/debian/tmp-image -r 2.5.21; fi
depmod: *** Unresolved symbols in /usr/src/linux-2.5.21/debian/tmp-image/lib/modules/2.5.21/kernel/drivers/char/drm/r128.o
depmod:         vmalloc_32
make[2]: *** [_modinst_post] Error 1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: r128.o unresolved symbol vmalloc_32
  2002-06-09 14:38 r128.o unresolved symbol vmalloc_32 Duncan Sands
@ 2002-06-09 15:45 ` Skip Ford
  0 siblings, 0 replies; 2+ messages in thread
From: Skip Ford @ 2002-06-09 15:45 UTC (permalink / raw)
  To: Duncan Sands; +Cc: linux-kernel

Duncan Sands wrote:
> linux-2.5.21:
> 
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /usr/src/linux-2.5.21/debian/tmp-image -r 2.5.21; fi
> depmod: *** Unresolved symbols in /usr/src/linux-2.5.21/debian/tmp-image/lib/modules/2.5.21/kernel/drivers/char/drm/r128.o
> depmod:         vmalloc_32
> make[2]: *** [_modinst_post] Error 1

Here's an updated version of the patch I posted earlier.  This one
also exports vmalloc_32 and vmalloc_dma.


diff -ruN lin/mm/Makefile linux/mm/Makefile
--- lin/mm/Makefile	Sun Jun  9 05:53:08 2002
+++ linux/mm/Makefile	Sun Jun  9 05:52:17 2002
@@ -10,7 +10,7 @@
 O_TARGET := mm.o
 
 export-objs := shmem.o filemap.o mempool.o page_alloc.o \
-		page-writeback.o
+		page-writeback.o vmalloc.o
 
 obj-y	 := memory.o mmap.o filemap.o mprotect.o mlock.o mremap.o \
 	    vmalloc.o slab.o bootmem.o swap.o vmscan.o page_io.o \
diff -ruN lin/mm/vmalloc.c linux/mm/vmalloc.c
--- lin/mm/vmalloc.c	Sun Jun  9 05:53:01 2002
+++ linux/mm/vmalloc.c	Sun Jun  9 11:40:01 2002
@@ -8,6 +8,7 @@
 
 #include <linux/config.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <linux/vmalloc.h>
 #include <linux/spinlock.h>
 #include <linux/highmem.h>
@@ -354,3 +355,7 @@
 	read_unlock(&vmlist_lock);
 	return buf - buf_start;
 }
+
+EXPORT_SYMBOL(vmalloc);
+EXPORT_SYMBOL(vmalloc_dma);
+EXPORT_SYMBOL(vmalloc_32);


-- 
Skip

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-09 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-09 14:38 r128.o unresolved symbol vmalloc_32 Duncan Sands
2002-06-09 15:45 ` Skip Ford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox