On Thu, Mar 24, 2005 at 09:41:56AM +0100, Andreas Jochens wrote:
> On 05-Mar-24 12:13, Nathan Scott wrote:
> > Could you try a gcc-4 compile with this patch please Andreas?
> 
> I applied the patch, but compilation with gcc-4.0 still leads to the
> following error:
> 
> In file included from agi.c:34:
> agi.h:33: error: array type has incomplete element type
> agi.h:34: error: array type has incomplete element type
> make[2]: *** [agi.o] Error 1
> make[1]: *** [default] Error 2
> make[1]: Leaving directory `/srv/dbuild/tmp/xfsprogs-2.6.26'
> make: *** [built] Error 2

OK, this should fix that (on top of the earlier patch).  Any
further failures?

thanks.

-- 
Nathan


===========================================================================
Index: xfsprogs/db/agi.c
===========================================================================

--- a/xfsprogs/db/agi.c 2005-03-29 08:16:54.000000000 +1000
+++ b/xfsprogs/db/agi.c 2005-03-29 08:15:16.000000000 +1000
@@ -31,7 +31,6 @@
  */
 
 #include <xfs/libxfs.h>
-#include "agi.h"
 #include "command.h"
 #include "type.h"
 #include "faddr.h"
@@ -41,6 +40,7 @@
 #include "bit.h"
 #include "output.h"
 #include "init.h"
+#include "agi.h"
 
 static int agi_f(int argc, char **argv);
 static void agi_help(void);


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to