Which gcc version do you use? It might need a special flag to make it
compile...
(gcc --version output please)
Thanks,
Anton
On Wed, 21 May 2003, Felix von Leitner wrote:
> ntfsprogs 1.7.1 does not compile for me, so I downloaded the snapshot
> sources and they still don't compile for me. Here is the error:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -D_FILE_OFFSET_BITS=64 -Wall -pipe -Os -c attrib.c -fPIC -DPIC -o .libs/attrib.loIn file included from ../include/unistr.h:27,
> from ../include/attrib.h:30,
> from attrib.c:30:
> ../include/layout.h:295: warning: declaration does not declare anything
> ../include/layout.h:1431: warning: declaration does not declare anything
> ../include/layout.h:1446: warning: declaration does not declare anything
> ../include/layout.h:1695: warning: declaration does not declare anything
> ../include/layout.h:1870: warning: declaration does not declare anything
> ../include/layout.h:2021: warning: declaration does not declare anything
> ../include/layout.h:2033: warning: declaration does not declare anything
> In file included from attrib.c:32:
> ../include/mft.h: In function `ntfs_mft_record_get_data_size':
> ../include/mft.h:98: error: structure has no member named `magic'
> make[2]: *** [attrib.lo] Error 1
> make[2]: Leaving directory `/ftp/incoming/ntfsprogs-200305062306/libntfs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/ftp/incoming/ntfsprogs-200305062306'
> make: *** [all] Error 2
>
> As far as I can see, gcc is right. ;)
>
> Felix
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ObjectStore.
> If flattening out C++ or Java code to make your application fit in a
> relational database is painful, don't do it! Check out ObjectStore.
> Now part of Progress Software. http://www.objectstore.net/sourceforge
> _______________________________________________
> Linux-NTFS-Dev mailing list
> Lin...@li...
> https://lists.sourceforge.net/lists/listinfo/linux-ntfs-dev
>
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|