knoppix@ttyp0[knoppix]$ cd /ramdisk/ knoppix@ttyp0[ramdisk]$ chmod -R 777 ntfsprogs-1.8.2 knoppix@ttyp0[ramdisk]$ cd ntfsprogs-1.8.2/ knoppix@ttyp0[ntfsprogs-1.8.2]$ ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for ranlib... ranlib checking for pkg-config... /usr/bin/pkg-config checking for glib-2.0 gthread-2.0 gnome-vfs-module-2.0... Package gnome-vfs-module-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gnome-vfs-module-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gnome-vfs-module-2.0' found configure: WARNING: Linux-NTFS Gnome VFS module requires glib-2.0 and gnome-vfs-module-2.0 librares. checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /bin/sed checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... (cached) ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking version of gcc... 3.3, ok checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes mchecking sys/mount.h usability... ayes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking for sys/stat.h... (cached) yes kchecking for sys/types.h... (cached) yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking linux/major.h usability... yes checking linux/major.h presence... yes checking for linux/major.h... yes checking linux/fd.h usability... yes checking linux/fd.h presence... yes checking for linux/fd.h... yes echecking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for working long double with more range or precision than double... yes checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking for struct stat.st_rdev... yes checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking whether utime accepts a null argument... yes checking for vprintf... yes checking for _doprnt... no checking for atexit... yes checking for fdatasync... yes checking for hasmntopt... yes checking for memmove... yes checking for memset... yes checking for regcomp... yes checking for setlocale... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for strtoul... yes checking for utime... yes checking for mbsinit... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating include/Makefile config.status: creating libntfs/Makefile config.status: creating libntfs/libntfs.conf config.status: creating libntfs/libntfs-gnomevfs.8 config.status: creating ntfsprogs/Makefile config.status: creating ntfsprogs/mkntfs.8 config.status: creating ntfsprogs/ntfscat.8 config.status: creating ntfsprogs/ntfsclone.8 config.status: creating ntfsprogs/ntfscluster.8 config.status: creating ntfsprogs/ntfsfix.8 config.status: creating ntfsprogs/ntfsinfo.8 config.status: creating ntfsprogs/ntfslabel.8 config.status: creating ntfsprogs/ntfsls.8 config.status: creating ntfsprogs/ntfsprogs.8 config.status: creating ntfsprogs/ntfsresize.8 config.status: creating ntfsprogs/ntfsundelete.8 config.status: creating ntfsprogs.spec config.status: creating config.h config.status: executing depfiles commands knoppix@ttyp0[ntfsprogs-1.8.2]$ make make all-recursive make[1]: Entering directory `/ramdisk/ntfsprogs-1.8.2' Making all in doc make[2]: Entering directory `/ramdisk/ntfsprogs-1.8.2/doc' make[2]: Für das Ziel »all« ist nichts zu tun. make[2]: Leaving directory `/ramdisk/ntfsprogs-1.8.2/doc' Making all in include make[2]: Entering directory `/ramdisk/ntfsprogs-1.8.2/include' make[2]: Für das Ziel »all« ist nichts zu tun. make[2]: Leaving directory `/ramdisk/ntfsprogs-1.8.2/include' Making all in libntfs make[2]: Entering directory `/ramdisk/ntfsprogs-1.8.2/libntfs' source='attrib.c' object='attrib.lo' libtool=yes \ depfile='.deps/attrib.Plo' tmpdepfile='.deps/attrib.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o attrib.lo `test -f 'attrib.c' || echo './'`attrib.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c attrib.c -MT attrib.lo -MD -MP -MF .deps/attrib.TPlo -fPIC -DPIC -o .libs/attrib.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c attrib.c -MT attrib.lo -MD -MP -MF .deps/attrib.TPlo -o attrib.o >/dev/null 2>&1 mv -f .libs/attrib.lo attrib.lo source='bitmap.c' object='bitmap.lo' libtool=yes \ depfile='.deps/bitmap.Plo' tmpdepfile='.deps/bitmap.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o bitmap.lo `test -f 'bitmap.c' || echo './'`bitmap.c rm -f .libs/bitmap.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c bitmap.c -MT bitmap.lo -MD -MP -MF .deps/bitmap.TPlo -fPIC -DPIC -o .libs/bitmap.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c bitmap.c -MT bitmap.lo -MD -MP -MF .deps/bitmap.TPlo -o bitmap.o >/dev/null 2>&1 mv -f .libs/bitmap.lo bitmap.lo source='bootsect.c' object='bootsect.lo' libtool=yes \ depfile='.deps/bootsect.Plo' tmpdepfile='.deps/bootsect.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o bootsect.lo `test -f 'bootsect.c' || echo './'`bootsect.c rm -f .libs/bootsect.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c bootsect.c -MT bootsect.lo -MD -MP -MF .deps/bootsect.TPlo -fPIC -DPIC -o .libs/bootsect.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c bootsect.c -MT bootsect.lo -MD -MP -MF .deps/bootsect.TPlo -o bootsect.o >/dev/null 2>&1 mv -f .libs/bootsect.lo bootsect.lo source='compat.c' object='compat.lo' libtool=yes \ depfile='.deps/compat.Plo' tmpdepfile='.deps/compat.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o compat.lo `test -f 'compat.c' || echo './'`compat.c rm -f .libs/compat.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c compat.c -MT compat.lo -MD -MP -MF .deps/compat.TPlo -fPIC -DPIC -o .libs/compat.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c compat.c -MT compat.lo -MD -MP -MF .deps/compat.TPlo -o compat.o >/dev/null 2>&1 mv -f .libs/compat.lo compat.lo source='debug.c' object='debug.lo' libtool=yes \ depfile='.deps/debug.Plo' tmpdepfile='.deps/debug.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o debug.lo `test -f 'debug.c' || echo './'`debug.c rm -f .libs/debug.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c debug.c -MT debug.lo -MD -MP -MF .deps/debug.TPlo -fPIC -DPIC -o .libs/debug.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c debug.c -MT debug.lo -MD -MP -MF .deps/debug.TPlo -o debug.o >/dev/null 2>&1 mv -f .libs/debug.lo debug.lo source='device.c' object='device.lo' libtool=yes \ depfile='.deps/device.Plo' tmpdepfile='.deps/device.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o device.lo `test -f 'device.c' || echo './'`device.c rm -f .libs/device.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c device.c -MT device.lo -MD -MP -MF .deps/device.TPlo -fPIC -DPIC -o .libs/device.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c device.c -MT device.lo -MD -MP -MF .deps/device.TPlo -o device.o >/dev/null 2>&1 mv -f .libs/device.lo device.lo source='device_io.c' object='device_io.lo' libtool=yes \ depfile='.deps/device_io.Plo' tmpdepfile='.deps/device_io.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o device_io.lo `test -f 'device_io.c' || echo './'`device_io.c rm -f .libs/device_io.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c device_io.c -MT device_io.lo -MD -MP -MF .deps/device_io.TPlo -fPIC -DPIC -o .libs/device_io.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c device_io.c -MT device_io.lo -MD -MP -MF .deps/device_io.TPlo -o device_io.o >/dev/null 2>&1 mv -f .libs/device_io.lo device_io.lo source='dir.c' object='dir.lo' libtool=yes \ depfile='.deps/dir.Plo' tmpdepfile='.deps/dir.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o dir.lo `test -f 'dir.c' || echo './'`dir.c rm -f .libs/dir.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c dir.c -MT dir.lo -MD -MP -MF .deps/dir.TPlo -fPIC -DPIC -o .libs/dir.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c dir.c -MT dir.lo -MD -MP -MF .deps/dir.TPlo -o dir.o >/dev/null 2>&1 mv -f .libs/dir.lo dir.lo source='inode.c' object='inode.lo' libtool=yes \ depfile='.deps/inode.Plo' tmpdepfile='.deps/inode.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o inode.lo `test -f 'inode.c' || echo './'`inode.c rm -f .libs/inode.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c inode.c -MT inode.lo -MD -MP -MF .deps/inode.TPlo -fPIC -DPIC -o .libs/inode.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c inode.c -MT inode.lo -MD -MP -MF .deps/inode.TPlo -o inode.o >/dev/null 2>&1 mv -f .libs/inode.lo inode.lo source='lcnalloc.c' object='lcnalloc.lo' libtool=yes \ depfile='.deps/lcnalloc.Plo' tmpdepfile='.deps/lcnalloc.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o lcnalloc.lo `test -f 'lcnalloc.c' || echo './'`lcnalloc.c rm -f .libs/lcnalloc.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c lcnalloc.c -MT lcnalloc.lo -MD -MP -MF .deps/lcnalloc.TPlo -fPIC -DPIC -o .libs/lcnalloc.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c lcnalloc.c -MT lcnalloc.lo -MD -MP -MF .deps/lcnalloc.TPlo -o lcnalloc.o >/dev/null 2>&1 mv -f .libs/lcnalloc.lo lcnalloc.lo source='mft.c' object='mft.lo' libtool=yes \ depfile='.deps/mft.Plo' tmpdepfile='.deps/mft.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o mft.lo `test -f 'mft.c' || echo './'`mft.c rm -f .libs/mft.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c mft.c -MT mft.lo -MD -MP -MF .deps/mft.TPlo -fPIC -DPIC -o .libs/mft.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c mft.c -MT mft.lo -MD -MP -MF .deps/mft.TPlo -o mft.o >/dev/null 2>&1 mv -f .libs/mft.lo mft.lo source='mst.c' object='mst.lo' libtool=yes \ depfile='.deps/mst.Plo' tmpdepfile='.deps/mst.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o mst.lo `test -f 'mst.c' || echo './'`mst.c rm -f .libs/mst.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c mst.c -MT mst.lo -MD -MP -MF .deps/mst.TPlo -fPIC -DPIC -o .libs/mst.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c mst.c -MT mst.lo -MD -MP -MF .deps/mst.TPlo -o mst.o >/dev/null 2>&1 mv -f .libs/mst.lo mst.lo source='runlist.c' object='runlist.lo' libtool=yes \ depfile='.deps/runlist.Plo' tmpdepfile='.deps/runlist.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o runlist.lo `test -f 'runlist.c' || echo './'`runlist.c rm -f .libs/runlist.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c runlist.c -MT runlist.lo -MD -MP -MF .deps/runlist.TPlo -fPIC -DPIC -o .libs/runlist.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c runlist.c -MT runlist.lo -MD -MP -MF .deps/runlist.TPlo -o runlist.o >/dev/null 2>&1 mv -f .libs/runlist.lo runlist.lo source='unistr.c' object='unistr.lo' libtool=yes \ depfile='.deps/unistr.Plo' tmpdepfile='.deps/unistr.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o unistr.lo `test -f 'unistr.c' || echo './'`unistr.c rm -f .libs/unistr.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c unistr.c -MT unistr.lo -MD -MP -MF .deps/unistr.TPlo -fPIC -DPIC -o .libs/unistr.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c unistr.c -MT unistr.lo -MD -MP -MF .deps/unistr.TPlo -o unistr.o >/dev/null 2>&1 mv -f .libs/unistr.lo unistr.lo source='volume.c' object='volume.lo' libtool=yes \ depfile='.deps/volume.Plo' tmpdepfile='.deps/volume.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c -o volume.lo `test -f 'volume.c' || echo './'`volume.c rm -f .libs/volume.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c volume.c -MT volume.lo -MD -MP -MF .deps/volume.TPlo -fPIC -DPIC -o .libs/volume.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c volume.c -MT volume.lo -MD -MP -MF .deps/volume.TPlo -o volume.o >/dev/null 2>&1 mv -f .libs/volume.lo volume.lo /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o libntfs.la -rpath /usr/local/lib -version-info 5:0:0 attrib.lo bitmap.lo bootsect.lo compat.lo debug.lo device.lo device_io.lo dir.lo inode.lo lcnalloc.lo mft.lo mst.lo runlist.lo unistr.lo volume.lo rm -fr .libs/libntfs.la .libs/libntfs.* .libs/libntfs.* gcc -shared attrib.lo bitmap.lo bootsect.lo compat.lo debug.lo device.lo device_io.lo dir.lo inode.lo lcnalloc.lo mft.lo mst.lo runlist.lo unistr.lo volume.lo -Wl,-soname -Wl,libntfs.so.5 -o .libs/libntfs.so.5.0.0 (cd .libs && rm -f libntfs.so.5 && ln -s libntfs.so.5.0.0 libntfs.so.5) (cd .libs && rm -f libntfs.so && ln -s libntfs.so.5.0.0 libntfs.so) ar cru .libs/libntfs.a attrib.o bitmap.o bootsect.o compat.o debug.o device.o device_io.o dir.o inode.o lcnalloc.o mft.o mst.o runlist.o unistr.o volume.o ranlib .libs/libntfs.a creating libntfs.la (cd .libs && rm -f libntfs.la && ln -s ../libntfs.la libntfs.la) make[2]: Leaving directory `/ramdisk/ntfsprogs-1.8.2/libntfs' Making all in ntfsprogs make[2]: Entering directory `/ramdisk/ntfsprogs-1.8.2/ntfsprogs' source='ntfsfix.c' object='ntfsfix.o' libtool=no \ depfile='.deps/ntfsfix.Po' tmpdepfile='.deps/ntfsfix.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'ntfsfix.c' || echo './'`ntfsfix.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o ntfsfix ntfsfix.o ../libntfs/libntfs.la mkdir .libs gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/ntfsfix ntfsfix.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating ntfsfix source='ntfsinfo.c' object='ntfsinfo.o' libtool=no \ depfile='.deps/ntfsinfo.Po' tmpdepfile='.deps/ntfsinfo.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'ntfsinfo.c' || echo './'`ntfsinfo.c source='utils.c' object='utils.o' libtool=no \ depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'utils.c' || echo './'`utils.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o ntfsinfo ntfsinfo.o utils.o ../libntfs/libntfs.la gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/ntfsinfo ntfsinfo.o utils.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating ntfsinfo source='ntfscluster.c' object='ntfscluster.o' libtool=no \ depfile='.deps/ntfscluster.Po' tmpdepfile='.deps/ntfscluster.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'ntfscluster.c' || echo './'`ntfscluster.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o ntfscluster ntfscluster.o utils.o ../libntfs/libntfs.la gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/ntfscluster ntfscluster.o utils.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating ntfscluster source='ntfsls.c' object='ntfsls.o' libtool=no \ depfile='.deps/ntfsls.Po' tmpdepfile='.deps/ntfsls.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'ntfsls.c' || echo './'`ntfsls.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o ntfsls ntfsls.o utils.o ../libntfs/libntfs.la gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/ntfsls ntfsls.o utils.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating ntfsls source='ntfscat.c' object='ntfscat.o' libtool=no \ depfile='.deps/ntfscat.Po' tmpdepfile='.deps/ntfscat.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'ntfscat.c' || echo './'`ntfscat.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o ntfscat ntfscat.o utils.o ../libntfs/libntfs.la gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/ntfscat ntfscat.o utils.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating ntfscat source='attrdef.c' object='attrdef.o' libtool=no \ depfile='.deps/attrdef.Po' tmpdepfile='.deps/attrdef.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'attrdef.c' || echo './'`attrdef.c source='upcase.c' object='upcase.o' libtool=no \ depfile='.deps/upcase.Po' tmpdepfile='.deps/upcase.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'upcase.c' || echo './'`upcase.c source='boot.c' object='boot.o' libtool=no \ depfile='.deps/boot.Po' tmpdepfile='.deps/boot.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'boot.c' || echo './'`boot.c source='sd.c' object='sd.o' libtool=no \ depfile='.deps/sd.Po' tmpdepfile='.deps/sd.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'sd.c' || echo './'`sd.c source='mkntfs.c' object='mkntfs.o' libtool=no \ depfile='.deps/mkntfs.Po' tmpdepfile='.deps/mkntfs.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'mkntfs.c' || echo './'`mkntfs.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o mkntfs attrdef.o upcase.o boot.o sd.o mkntfs.o utils.o ../libntfs/libntfs.la gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/mkntfs attrdef.o upcase.o boot.o sd.o mkntfs.o utils.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating mkntfs source='ntfslabel.c' object='ntfslabel.o' libtool=no \ depfile='.deps/ntfslabel.Po' tmpdepfile='.deps/ntfslabel.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'ntfslabel.c' || echo './'`ntfslabel.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o ntfslabel ntfslabel.o utils.o ../libntfs/libntfs.la gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/ntfslabel ntfslabel.o utils.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating ntfslabel source='ntfsundelete.c' object='ntfsundelete.o' libtool=no \ depfile='.deps/ntfsundelete.Po' tmpdepfile='.deps/ntfsundelete.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'ntfsundelete.c' || echo './'`ntfsundelete.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o ntfsundelete ntfsundelete.o utils.o ../libntfs/libntfs.la gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/ntfsundelete ntfsundelete.o utils.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating ntfsundelete source='ntfsresize.c' object='ntfsresize.o' libtool=no \ depfile='.deps/ntfsresize.Po' tmpdepfile='.deps/ntfsresize.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'ntfsresize.c' || echo './'`ntfsresize.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o ntfsresize ntfsresize.o utils.o ../libntfs/libntfs.la gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/ntfsresize ntfsresize.o utils.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating ntfsresize source='ntfsclone.c' object='ntfsclone.o' libtool=no \ depfile='.deps/ntfsclone.Po' tmpdepfile='.deps/ntfsclone.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -c `test -f 'ntfsclone.c' || echo './'`ntfsclone.c /bin/sh ../libtool --mode=link gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o ntfsclone ntfsclone.o utils.o ../libntfs/libntfs.la gcc -g -O2 -D_FILE_OFFSET_BITS=64 -Wall -fms-extensions -o .libs/ntfsclone ntfsclone.o utils.o ../libntfs/.libs/libntfs.so -Wl,--rpath -Wl,/usr/local/lib creating ntfsclone make[2]: Leaving directory `/ramdisk/ntfsprogs-1.8.2/ntfsprogs' make[2]: Entering directory `/ramdisk/ntfsprogs-1.8.2' make[2]: Für das Ziel »all-am« ist nichts zu tun. make[2]: Leaving directory `/ramdisk/ntfsprogs-1.8.2' make[1]: Leaving directory `/ramdisk/ntfsprogs-1.8.2' knoppix@ttyp0[ntfsprogs-1.8.2]$ cd ntfsprogs/ knoppix@ttyp0[ntfsprogs]$ su root@ttyp0[ntfsprogs]# ./ntfsresize --info /dev/hdg5 ntfsresize v1.8.2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 69561159680 bytes (69562 MB) Current device size: 69561160704 bytes (69562 MB) Checking filesystem consistency ... 100.00 percent completed Accounting clusters ... Space in use : 19915 MB (28,6%) Calculating smallest shrunken size supported ... File feature Last used at By inode $MFT : 15415 MB 0 $MFTMirr : 13794 MB 1 Compressed : 24367 MB 75538 Sparse : 1179 MB 25545 Multi-Record : 24368 MB 7879 Ordinary : 24369 MB 66633 You could resize at 24368844800 bytes or 24369 MB (freeing 45193 MB). root@ttyp0[ntfsprogs]# ./ntfsresize -s 69561159680 /dev/hdg5 ntfsresize v1.8.2 ERROR: Device /dev/hdg5 is mounted. You must 'umount' it first. root@ttyp0[ntfsprogs]# umount /dev/hdg5 root@ttyp0[ntfsprogs]# ./ntfsresize -s 69561159680 /dev/hdg5 ntfsresize v1.8.2 NTFS volume version: 3.1 Cluster size : 4096 bytes Current volume size: 69561159680 bytes (69562 MB) Current device size: 69561160704 bytes (69562 MB) New volume size : 69561159680 bytes (69562 MB) Checking filesystem consistency ... 100.00 percent completed Accounting clusters ... Space in use : 19915 MB (28,6%) Needed relocations : 0 (0 MB) WARNING: Every sanity check passed and only the DANGEROUS operations left. Please make sure all your important data had been backed up in case of an unexpected failure! Are you sure you want to proceed (y/[n])? y Schedule chkdsk for NTFS consistency check at Windows boot time ... Resetting $LogFile ... (this might take a while) Updating $BadClust file ... Updating $Bitmap file ... Updating Boot record ... Syncing device ... Successfully resized NTFS on device '/dev/hdg5'. You can go on to shrink the device e.g. with 'fdisk'. IMPORTANT: When recreating the partition, make sure you 1) create it with the same starting disk cylinder 2) create it with the same partition type (usually 7, HPFS/NTFS) 3) do not make it smaller than the new NTFS filesystem size 4) set the bootable flag for the partition if it existed before Otherwise you may lose your data or can't boot your computer from the disk!