Forgot to add: gcc-2.95 is not compatible with ntfsprogs at all. You need
at least 2.96 or later. gcc-2.95 and older do not support unnamed structs
and unions so they have never been able to compile ntfsprogs and never
will...
Best regards,
Anton
On Fri, 10 Oct 2003, Joachim Schmitz wrote:
> Hi,
>
> I downloaded ntfsprogs-1.7.1.tar.gz did without errors:
> ./configure --prefix=/usr --enable-real-static
> did make and got:
>
> make all-recursive
> make[1]: Entering directory `/usr/local/ntfsprogs-1.7.1'
> Making all in doc
> make[2]: Entering directory `/usr/local/ntfsprogs-1.7.1/doc'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/ntfsprogs-1.7.1/doc'
> Making all in include
> make[2]: Entering directory `/usr/local/ntfsprogs-1.7.1/include'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/local/ntfsprogs-1.7.1/include'
> Making all in libntfs
> make[2]: Entering directory `/usr/local/ntfsprogs-1.7.1/libntfs'
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I../include -D_FILE_OFFSET_BITS=64 -Wall -g -O2 -c attrib.c
> mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -D_FILE_OFFSET_BITS=64
> -Wall -g -O2 -c attrib.c -fPIC -DPIC -o .libs/attrib.lo
> In 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 `/usr/local/ntfsprogs-1.7.1/libntfs'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/ntfsprogs-1.7.1'
> make: *** [all-recursive-am] Error 2
>
> this is with gcc-3.3, but 2.95 makes no difference.
>
>
> j
>
>
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/
|