On Tue, Mar 22, 2005 at 07:50:59PM +0100, Andreas Jochens wrote: > I attached the wrong patch to my bug report, sorry. > > The correct patch is the following one. >
Could you try a gcc-4 compile with this patch please Andreas? thanks. -- Nathan =========================================================================== Index: xfsprogs/db/agf.c =========================================================================== --- a/xfsprogs/db/agf.c 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/agf.c 2005-03-24 12:07:12.000000000 +1100 @@ -31,7 +31,6 @@ */ #include <xfs/libxfs.h> -#include "agf.h" #include "command.h" #include "type.h" #include "faddr.h" @@ -41,6 +40,7 @@ #include "bit.h" #include "output.h" #include "init.h" +#include "agf.h" static int agf_f(int argc, char **argv); static void agf_help(void); =========================================================================== Index: xfsprogs/db/agf.h =========================================================================== --- a/xfsprogs/db/agf.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/agf.h 2005-03-24 12:05:18.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field agf_flds[]; extern const struct field agf_hfld[]; =========================================================================== Index: xfsprogs/db/agfl.c =========================================================================== --- a/xfsprogs/db/agfl.c 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/agfl.c 2005-03-24 12:12:34.000000000 +1100 @@ -31,7 +31,6 @@ */ #include <xfs/libxfs.h> -#include "agfl.h" #include "command.h" #include "type.h" #include "faddr.h" @@ -41,6 +40,7 @@ #include "bit.h" #include "output.h" #include "init.h" +#include "agfl.h" static int agfl_bno_size(void *obj, int startoff); static int agfl_f(int argc, char **argv); =========================================================================== Index: xfsprogs/db/agfl.h =========================================================================== --- a/xfsprogs/db/agfl.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/agfl.h 2005-03-24 12:10:51.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field agfl_flds[]; extern const struct field agfl_hfld[]; =========================================================================== Index: xfsprogs/db/agi.h =========================================================================== --- a/xfsprogs/db/agi.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/agi.h 2005-03-24 12:05:27.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field agi_flds[]; extern const struct field agi_hfld[]; =========================================================================== Index: xfsprogs/db/bmapbt.h =========================================================================== --- a/xfsprogs/db/bmapbt.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/bmapbt.h 2005-03-24 12:10:58.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field bmapbta_flds[]; extern const struct field bmapbta_hfld[]; extern const struct field bmapbta_key_flds[]; =========================================================================== Index: xfsprogs/db/bmroot.h =========================================================================== --- a/xfsprogs/db/bmroot.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/bmroot.h 2005-03-24 12:11:01.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field bmroota_flds[]; extern const struct field bmroota_key_flds[]; extern const struct field bmrootd_flds[]; =========================================================================== Index: xfsprogs/db/bnobt.h =========================================================================== --- a/xfsprogs/db/bnobt.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/bnobt.h 2005-03-24 12:11:04.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field bnobt_flds[]; extern const struct field bnobt_hfld[]; extern const struct field bnobt_key_flds[]; =========================================================================== Index: xfsprogs/db/cntbt.h =========================================================================== --- a/xfsprogs/db/cntbt.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/cntbt.h 2005-03-24 12:11:07.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field cntbt_flds[]; extern const struct field cntbt_hfld[]; extern const struct field cntbt_key_flds[]; =========================================================================== Index: xfsprogs/db/dquot.h =========================================================================== --- a/xfsprogs/db/dquot.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/dquot.h 2005-03-24 12:05:37.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field disk_dquot_flds[]; extern const struct field dqblk_flds[]; extern const struct field dqblk_hfld[]; =========================================================================== Index: xfsprogs/db/inobt.h =========================================================================== --- a/xfsprogs/db/inobt.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/inobt.h 2005-03-24 12:11:14.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field inobt_flds[]; extern const struct field inobt_hfld[]; extern const struct field inobt_key_flds[]; =========================================================================== Index: xfsprogs/db/sb.h =========================================================================== --- a/xfsprogs/db/sb.h 2005-03-24 12:16:36.000000000 +1100 +++ b/xfsprogs/db/sb.h 2005-03-24 12:05:58.000000000 +1100 @@ -30,8 +30,6 @@ * http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/ */ -struct field; - extern const struct field sb_flds[]; extern const struct field sb_hfld[]; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]