When I tried to compile GRUB 0.5.96.1 it couldn't find a definition
for O_SYNC. I hope this isn't crucial because I disabled it with the
patch below.

diff -u --recursive grub-0.5.96.1-orig/grub/asmstub.c grub-0.5.96.1-hacked/grub/asmstub.c
--- grub-0.5.96.1-orig/grub/asmstub.c	Thu Oct 19 16:18:09 2000
+++ grub-0.5.96.1-hacked/grub/asmstub.c	Mon Feb 19 00:00:37 2001
@@ -54,6 +54,10 @@
 # endif /* ! BLKFLSBUF */
 #endif /* __linux__ */
 
+#ifndef O_SYNC
+#define O_SYNC 0
+#endif
+
 /* We want to prevent any circularararity in our stubs, as well as
    libc name clashes. */
 #define WITHOUT_LIBC_STUBS 1

-- 

        http://www.penguinpowered.com/~vii

Reply via email to