xfs
[Top] [All Lists]

make error when xfsprogs-2.6.25 compiled on gcc-4.0

To: linux-xfs@xxxxxxxxxxx
Subject: make error when xfsprogs-2.6.25 compiled on gcc-4.0
From: Syed Shabir Zakiullah <syed.shabir@xxxxxxxxx>
Date: Wed, 27 Apr 2005 21:24:29 +0530
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:reply-to:organization:to:subject:date:user-agent:mime-version:content-disposition:content-type:content-transfer-encoding:message-id; b=qFgEoDQaP8fZp1oVb0szuFT5Of8qc9hDh04A2b8FFxnHGylCEeVM/XFl6ianGIe4H2XFxXCmNBPnfSDLsJ9+uZW/1yqGJPB6KrSEVoHoLVhouXVsaXegBcUcv4U5eFRhXoyN985PQY0i39KkGuL/rVut1oZCbtqMYOUFKuTiEB0=
Organization: C.O.M.O.D.O
Reply-to: syed.shabir@xxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: KMail/1.6.2
Hi,

I faced some problems while compiling xfsprogs-2.6.25, I solved most of them 
by applying patch from fedora,

But after changing db/sb.h with:
extern const struct field *sb_flds;
extern const struct field *sb_hfld;

I am stuck with following error:
field.c:290: error: initializer element is not constant
field.c:290: error: (near initialization for 'ftattrtab[111].fmtstr')
field.c:291: error: initializer element is not constant
field.c:291: error: (near initialization for 'ftattrtab[111].subfld')

can anyone help me in solving this compilation..

Thanks in Advance,
Syed Shabir


<Prev in Thread] Current Thread [Next in Thread>
  • make error when xfsprogs-2.6.25 compiled on gcc-4.0, Syed Shabir Zakiullah <=