All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.5.25 -- Build error -- fs/ntfs/layout.h:299: unnamed fields of type other than struct or union are not allowed
@ 2002-07-08  6:53 Miles Lane
  2002-07-08  7:22 ` Anton Altaparmakov
  0 siblings, 1 reply; 2+ messages in thread
From: Miles Lane @ 2002-07-08  6:53 UTC (permalink / raw)
  To: LKML

  gcc -Wp,-MD,./.aops.o.d -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon  -nostdinc -iwithprefix include -DMODULE -DNTFS_VERSION=\"2.0.14\" -DDEBUG  -DKBUILD_BASENAME=aops   -c -o aops.o aops.c
In file included from inode.h:29,
                 from debug.h:30,
                 from ntfs.h:40,
                 from aops.c:30:
layout.h:299: unnamed fields of type other than struct or union are not allowed
layout.h:1449: unnamed fields of type other than struct or union are not allowed
layout.h:1465: unnamed fields of type other than struct or union are not allowed
layout.h:1714: unnamed fields of type other than struct or union are not allowed
layout.h:1891: unnamed fields of type other than struct or union are not allowed
layout.h:2051: unnamed fields of type other than struct or union are not allowed
layout.h:2063: unnamed fields of type other than struct or union are not allowed
make[2]: *** [aops.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/ntfs'

CONFIG_QUOTA=y
CONFIG_QFMT_V1=m
CONFIG_QFMT_V2=m
CONFIG_QUOTACTL=y
CONFIG_AUTOFS4_FS=y
CONFIG_EXT3_FS=y
CONFIG_FAT_FS=m
CONFIG_VFAT_FS=m
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_NTFS_FS=m
CONFIG_NTFS_DEBUG=y



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.5.25 -- Build error -- fs/ntfs/layout.h:299: unnamed fields of type other than struct or union are not allowed
  2002-07-08  6:53 2.5.25 -- Build error -- fs/ntfs/layout.h:299: unnamed fields of type other than struct or union are not allowed Miles Lane
@ 2002-07-08  7:22 ` Anton Altaparmakov
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Altaparmakov @ 2002-07-08  7:22 UTC (permalink / raw)
  To: Miles Lane; +Cc: LKML

You are using gcc-3.1. Upgrade to a newer / downgrade to an older version 
or enable the work around I have posted before. (edit fs/ntfs/types.h and 
add your compiler version to the #if __GNUC__... line at the top)

Your gcc is broken is the summary.

Best regards,

         Anton

At 07:53 08/07/02, Miles Lane wrote:
>  gcc -Wp,-MD,./.aops.o.d -D__KERNEL__ -I/usr/src/linux/include -Wall 
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer 
> -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 
> -march=athlon  -nostdinc -iwithprefix include -DMODULE 
> -DNTFS_VERSION=\"2.0.14\" -DDEBUG  -DKBUILD_BASENAME=aops   -c -o aops.o aops.c
>In file included from inode.h:29,
>                 from debug.h:30,
>                 from ntfs.h:40,
>                 from aops.c:30:
>layout.h:299: unnamed fields of type other than struct or union are not 
>allowed
>layout.h:1449: unnamed fields of type other than struct or union are not 
>allowed
>layout.h:1465: unnamed fields of type other than struct or union are not 
>allowed
>layout.h:1714: unnamed fields of type other than struct or union are not 
>allowed
>layout.h:1891: unnamed fields of type other than struct or union are not 
>allowed
>layout.h:2051: unnamed fields of type other than struct or union are not 
>allowed
>layout.h:2063: unnamed fields of type other than struct or union are not 
>allowed
>make[2]: *** [aops.o] Error 1
>make[2]: Leaving directory `/usr/src/linux/fs/ntfs'
>
>CONFIG_QUOTA=y
>CONFIG_QFMT_V1=m
>CONFIG_QFMT_V2=m
>CONFIG_QUOTACTL=y
>CONFIG_AUTOFS4_FS=y
>CONFIG_EXT3_FS=y
>CONFIG_FAT_FS=m
>CONFIG_VFAT_FS=m
>CONFIG_ISO9660_FS=m
>CONFIG_JOLIET=y
>CONFIG_NTFS_FS=m
>CONFIG_NTFS_DEBUG=y
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/

-- 
   "I've not lost my mind. It's backed up on tape somewhere." - Unknown
-- 
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS Maintainer / IRC: #ntfs on irc.openprojects.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-08  7:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-08  6:53 2.5.25 -- Build error -- fs/ntfs/layout.h:299: unnamed fields of type other than struct or union are not allowed Miles Lane
2002-07-08  7:22 ` Anton Altaparmakov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.