All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] [PATCH?] 2.6.15-rc1 + sf.net patches on x86 needs a patch
@ 2005-11-22 18:20 Antoine Martin
  2005-11-22 18:31 ` [uml-devel] " Antoine Martin
  0 siblings, 1 reply; 4+ messages in thread
From: Antoine Martin @ 2005-11-22 18:20 UTC (permalink / raw)
  To: Jeff Dike, UML devel

[-- Attachment #1: Type: text/plain, Size: 1453 bytes --]

patch attached, I've no idea what I've done really, but it builds ok now.

This time on an x86 box:

wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2
wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.15-rc1.bz2
wget http://user-mode-linux.sourceforge.net/work/current/2.6/2.6.15-rc1/patches.tar
tar -xf patches.tar
tar -jxf linux-2.6.14.tar.bz2
mv linux-2.6.14 linux-2.6.15-rc1-uml
cd linux-2.6.15-rc1-uml
bzcat ../patch-2.6.15-rc1.bz2 | patch -p1
for patch in `cat ../patches/series`; do echo $patch; patch -p1 < ../patches/$patch;  done
find . -type f -size 0 -exec rm {} \;
make ARCH=um defconfig
make ARCH=um vmlinux
  LD      arch/um/drivers/net.o
  LD      arch/um/drivers/mconsole.o
  LD      arch/um/drivers/ubd.o
  CC      arch/um/drivers/null.o
  LD      arch/um/drivers/port.o
  CC      arch/um/drivers/pty.o
  CC      arch/um/drivers/tty.o
  CC      arch/um/drivers/cow_user.o
  CC      arch/um/drivers/random.o
  LD      arch/um/drivers/built-in.o
  CC      arch/um/os-Linux/aio.o
arch/um/os-Linux/aio.c: In function ‘init_aio_26’:
arch/um/os-Linux/aio.c:402: error: ‘finish_aio_26’ undeclared (first use in this function)
arch/um/os-Linux/aio.c:402: error: (Each undeclared identifier is reported only once
arch/um/os-Linux/aio.c:402: error: for each function it appears in.)
make[1]: *** [arch/um/os-Linux/aio.o] Error 1
make: *** [arch/um/os-Linux] Error 2

Antoine

[-- Attachment #2: 2.6.15-rc1-uml-ifdefcompilefix.patch --]
[-- Type: text/x-patch, Size: 482 bytes --]

--- linux-2.6.15-rc1-uml/arch/um/os-Linux/aio.c	2005-11-22 18:14:55.000000000 +0000
+++ linux-2.6.15-rc1-uml-fixed/arch/um/os-Linux/aio.c	2005-11-22 18:09:35.000000000 +0000
@@ -389,8 +389,6 @@
 	goto out;
 }
 
-#else
-#define DEFAULT_24_AIO 1
 static int submit_aio_26(struct aio_context *aio)
 {
         return -ENOSYS;
@@ -402,6 +400,8 @@
 	finish_proc = finish_aio_26;
         return -ENOSYS;
 }
+#else
+#define DEFAULT_24_AIO 1
 #endif
 
 static int aio_24 = DEFAULT_24_AIO;

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

end of thread, other threads:[~2005-11-22 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-22 18:20 [uml-devel] [PATCH?] 2.6.15-rc1 + sf.net patches on x86 needs a patch Antoine Martin
2005-11-22 18:31 ` [uml-devel] " Antoine Martin
2005-11-22 18:38   ` Antoine Martin
2005-11-22 18:52     ` Antoine Martin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.