bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot compile grub 0.95


From: Sergey Matveychuk
Subject: Re: Cannot compile grub 0.95
Date: Sat, 19 Jun 2004 02:33:55 +0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421

Dr. Peter Voigt wrote:
After "./configure" and "make" I get the following error when trying to
compile grub 0.95 (no CVS version):

Try this patch please.  Does it work for you?

--
Sem.
--- stage2/ufs2.h.orig  Tue Jun 15 09:22:12 2004
+++ stage2/ufs2.h       Tue Jun 15 09:28:20 2004
@@ -68,12 +68,12 @@
  * __uint* constants already defined in
  * FreeBSD's /usr/include/machine/_types.h
  */
-#ifndef _MACHINE__TYPES_H_
+#if !defined(_MACHINE__TYPES_H_) && !defined(_MACHINE_ANSI_H_)
 typedef uint8_t                __uint8_t;
 typedef uint16_t               __uint16_t;
 typedef uint32_t               __uint32_t;
 typedef uint64_t               __uint64_t;
-#endif /* _MACHINE__TYPES_H_ */
+#endif /* !_MACHINE__TYPES_H_ && !_MACHINE_ANSI_H_ */
 
 #define i_size di_size
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]