Register FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Tue Jun 18, 2013 07:37



Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next
NTFS-3G Install on mips 
Author Message

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post NTFS-3G Install on mips
hi,i have a problem when installing NTFS-3G.
here is my situation:
build = i686-pc-linux-gnu
host = mips-linux-gnu
target =mips-linux-gnu
my target cpu is a little endian system, so i configured "./configure CC=host=mips-linux-gnu-gcc --host=mips-linux-gnu --target=mips-linux CFLAGS="-EL -mips32" LDFLAGS="-EL" .
but when making, there is a err "compiled for a little endian system and target is big endian"
i think the LDFLAGS did not work out. i want to know how can i specify the LD in the little endian way. since there is no LD paremeters in ./configure .
thans a lot.


Sat Aug 07, 2010 09:48
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi,

Quote:
my target cpu is a little endian system

Are you sure ? On http://en.wikipedia.org/wiki/MIPS_architecture MIPS processors are documented as big endian.

Quote:
when making, there is a err "compiled for a little endian system and target is big endian"

Looks like you compiled for little endian, as you wanted. According to "man gcc" this is the purpose of option EL, so the option has been taken into account. But your target (is it supposed to be same as current environment ?) appears to have been detected as big endian.

Or some MIPS processors may use both endiannesses, and you are compiling on a environment with an endianness different from the target processor ?

Within http://b.andre.pagesperso-orange.fr/tools.zip there is a small program compiler.c for checking whether your compiler is correctly setup for compiling ntfs-3g. maybe this would help.

Regards

Jean-Pierre


Sat Aug 07, 2010 14:06
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
Dear Jean ,
thanks a lot.
[u]
Quote:
Are you sure ? On http://en.wikipedia.org/wiki/MIPS_architecture MIPS processors are documented as big endian

i am sure that. because for a helloworld program, i have to complie like this "mips-linux-gnu-gcc -EL -mips32 -muclibc helloworld.c -o helloworld.o", and the helloworld.o runs ok on my target board.

Quote:
there is a small program compiler.c for checking whether your compiler is correctly setup for compiling ntfs-3g.

i have tried. but i seems that no matter how i confiured, the output is "Using a small endian computer
Wrong data layout, aborting".

PS:
Quote:
my target cpu is a little endian system, so i configured "./configure CC=host=mips-linux-gnu-gcc --host=mips-linux-gnu --target=mips-linux CFLAGS="-EL -mips32" LDFLAGS="-EL" .

if i configured "./configure CC=host=mips-linux-gnu-gcc --host=mips-linux-gnu --target=mips-linux CFLAGS="-mips32" " ,"make" and "make install" are ok. but the generated NTFS-3G cannot run on my target board since my target cpu is small endian.
so i added "-EL" in CFALGS and the mips-linux-gnu-gcc indeed accepted it. but the link (mips-linux-gnu-ld) did not accept the "-EL" in LDFLAGS. i don't know why?
Best Wishes!
Lily


Mon Aug 09, 2010 04:45
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi,

Quote:
i have tried. but i seems that no matter how i confiured, the output is "Using a small endian computer Wrong data layout, aborting".

This could be another issue, and an important one, if your compiler does not generate the correct layout for ntfs data. Do you not have another explanatory message about the size of some type ? Fix that first !
Of course I am assuming you are executing on your target board, which, if I guess correctly (you are not clear about it) has not the same endianness as the machine you are using for compiling.
Quote:
so i added "-EL" in CFALGS and the mips-linux-gnu-gcc indeed accepted it. but the link (mips-linux-gnu-ld) did not accept the "-EL" in LDFLAGS. i don't know why?

Pasting the link command which fails (the one generated by the ntfs-3g make) may help.

You should first try to identify which flags are needed for linking, by splitting compiling and linking in your helloworld test :
Quote:
# compiling
mips-linux-gnu-gcc -EL -mips32 -muclibc -c helloworld.c
# linking
mips-linux-gnu-gcc <link options> -o helloworld helloworld.o
# then execute helloworld on your target board

Then you can manually fix the Makefiles... and give indications to fix the configure.

Regards

Jean-Pierre


Mon Aug 09, 2010 09:05
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
Hi,
thanks again!

i tried just like you showed,
# compiling
mips-linux-gnu-gcc -EL -mips32 -muclibc -c helloworld.c
# linking
mips-linux-gnu-gcc -EL -mips32 -muclibc -o helloworld helloworld.o

then execute helloworld on my target board, and it runs ok.

so i configured again
"./configure CC=mips-linux-gnu-gcc --host=mips-linux-gnu CFLAGS="-EL -mips32 -muclibc" LDFLAGS="-EL -mips32 -muclibc"
but still failed whileing making.

i cannot add the attach, so list my result here:

[yangli@srv-szmicro-sw ~/linux/LSDK/sdk/ntfs-3g-2010.5.22]$
./configure CC=mips-linux-gnu-gcc --host=mips-linux-gnu CFLAGS="-EL -mips32 -muclibc" LDFLAGS="-EL -mips32 -muclibc"
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... mips-unknown-linux-gnu
checking target system type... mips-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mips-linux-gnu-strip... mips-linux-gnu-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for mips-linux-gnu-gcc... mips-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mips-linux-gnu-gcc accepts -g... yes
checking for mips-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of mips-linux-gnu-gcc... gcc3
checking whether ln -s works... yes
checking whether mips-linux-gnu-gcc and cc understand -c and -o together... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by mips-linux-gnu-gcc...
/usr/local/CodeSourcery/Sourcery_G++/mips-linux-gnu/bin/ld
checking if the linker (/usr/local/CodeSourcery/Sourcery_G++/mips-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/local/CodeSourcery/Sourcery_G++/mips-linux-gnu/bin/ld
option to reload object files... -r
checking for BSD-compatible nm...
/usr/local/CodeSourcery/Sourcery_G++/bin/mips-linux-gnu-nm -B
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... mips-linux-gnu-gcc -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 mips-linux-gnu-g++... mips-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether mips-linux-gnu-g++ accepts -g... yes
checking dependency style of mips-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... mips-linux-gnu-g++ -E
checking for mips-linux-gnu-g77... no
checking for mips-linux-gnu-xlf... no
checking for mips-linux-gnu-f77... no
checking for mips-linux-gnu-frt... no
checking for mips-linux-gnu-pgf77... no
checking for mips-linux-gnu-cf77... no
checking for mips-linux-gnu-fort77... no
checking for mips-linux-gnu-fl32... no
checking for mips-linux-gnu-af77... no
checking for mips-linux-gnu-xlf90... no
checking for mips-linux-gnu-f90... no
checking for mips-linux-gnu-pgf90... no
checking for mips-linux-gnu-pghpf... no
checking for mips-linux-gnu-epcf90... no
checking for mips-linux-gnu-gfortran... no
checking for mips-linux-gnu-g95... no
checking for mips-linux-gnu-xlf95... no
checking for mips-linux-gnu-f95... no
checking for mips-linux-gnu-fort... no
checking for mips-linux-gnu-ifort... no
checking for mips-linux-gnu-ifc... no
checking for mips-linux-gnu-efc... no
checking for mips-linux-gnu-pgf95... no
checking for mips-linux-gnu-lf95... no
checking for mips-linux-gnu-ftn... no
checking for g77... g77
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf@gnu.org.
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/local/CodeSourcery/Sourcery_G++/bin/mips-linux-gnu-nm -B output from mips-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for mips-linux-gnu-ar... mips-linux-gnu-ar
checking for mips-linux-gnu-ranlib... mips-linux-gnu-ranlib
checking for mips-linux-gnu-strip... (cached) mips-linux-gnu-strip
checking if mips-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for mips-linux-gnu-gcc option to produce PIC... -fPIC
checking if mips-linux-gnu-gcc PIC flag -fPIC works... yes
checking if mips-linux-gnu-gcc static flag -static works... yes
checking if mips-linux-gnu-gcc supports -c -o file.o... yes
checking whether the mips-linux-gnu-gcc linker
(/usr/local/CodeSourcery/Sourcery_G++/mips-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by mips-linux-gnu-g++...
/usr/local/CodeSourcery/Sourcery_G++/mips-linux-gnu/bin/ld
checking if the linker (/usr/local/CodeSourcery/Sourcery_G++/mips-linux-gnu/bin/ld) is GNU ld...
yes
checking whether the mips-linux-gnu-g++ linker
(/usr/local/CodeSourcery/Sourcery_G++/mips-linux-gnu/bin/ld) supports shared libraries... yes
checking for mips-linux-gnu-g++ option to produce PIC... -fPIC
checking if mips-linux-gnu-g++ PIC flag -fPIC works... yes
checking if mips-linux-gnu-g++ static flag -static works... yes
checking if mips-linux-gnu-g++ supports -c -o file.o... yes
checking whether the mips-linux-gnu-g++ linker (/usr/local/CodeSourcery/Sourcery_G++/mips-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... no
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/local/CodeSourcery/Sourcery_G++/mips-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for sed... /bin/sed
checking for ldconfig... /sbin/ldconfig
checking Windows OS... no
checking fuse compatibility... internal
checking for pthread_create in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking libintl.h usability... no
checking libintl.h presence... yes
configure: WARNING: libintl.h: present but cannot be compiled
configure: WARNING: libintl.h: check for missing prerequisite headers?
configure: WARNING: libintl.h: see the Autoconf documentation
configure: WARNING: libintl.h: section "Present But Cannot Be Compiled"
configure: WARNING: libintl.h: proceeding with the preprocessor's result
configure: WARNING: libintl.h: in the future, the compiler will take precedence
configure: WARNING: ## ----------------------------------------- ##
configure: WARNING: ## Report this to ntfs-3g-devel@lists.sf.net ##
configure: WARNING: ## ----------------------------------------- ##
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... no
checking wchar.h presence... yes
configure: WARNING: wchar.h: present but cannot be compiled
configure: WARNING: wchar.h: check for missing prerequisite headers?
configure: WARNING: wchar.h: see the Autoconf documentation
configure: WARNING: wchar.h: section "Present But Cannot Be Compiled"
configure: WARNING: wchar.h: proceeding with the preprocessor's result
configure: WARNING: wchar.h: in the future, the compiler will take precedence
configure: WARNING: ## ----------------------------------------- ##
configure: WARNING: ## Report this to ntfs-3g-devel@lists.sf.net ##
configure: WARNING: ## ----------------------------------------- ##
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/byteorder.h usability... no
checking sys/byteorder.h presence... no
checking for sys/byteorder.h... no
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
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking for sys/stat.h... (cached) yes
checking 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 sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.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
checking linux/hdreg.h usability... yes
checking linux/hdreg.h presence... yes
checking for linux/hdreg.h... yes
checking machine/endian.h usability... no
checking machine/endian.h presence... no
checking for machine/endian.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
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 struct stat.st_atim... no
checking for struct stat.st_atimespec... no
checking for struct stat.st_atimensec... yes
checking for library containing getmntent... none required
checking whether mbrtowc and mbstate_t are properly declared... no
checking for working memcmp... no
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... yes
checking for strftime... yes
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... no
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for basename... yes
checking for daemon... yes
checking for dup2... yes
checking for fdatasync... yes
checking for ffs... yes
checking for getopt_long... yes
checking for hasmntopt... yes
checking for mbsinit... no
checking for memmove... yes
checking for memset... yes
checking for realpath... yes
checking for regcomp... yes
checking for setlocale... yes
checking for setxattr... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strnlen... yes
checking for strsep... yes
checking for strtol... yes
checking for strtoul... yes
checking for sysconf... yes
checking for utime... yes
checking for utimensat... no
checking for gettimeofday... yes
checking for clock_gettime... yes
checking for fork... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating include/fuse-lite/Makefile
config.status: creating include/ntfs-3g/Makefile
config.status: creating libfuse-lite/Makefile
config.status: creating libntfs-3g/Makefile
config.status: creating libntfs-3g/libntfs-3g.pc
config.status: creating libntfs-3g/libntfs-3g.script.so
config.status: creating src/Makefile
config.status: creating src/ntfs-3g.8
config.status: creating src/ntfs-3g.probe.8
config.status: creating src/ntfs-3g.usermap.8
config.status: creating src/ntfs-3g.secaudit.8
config.status: creating config.h
config.status: executing depfiles commands
You can type now 'make' to build ntfs-3g.

[yangli@srv-szmicro-sw ~/linux/LSDK/sdk/ntfs-3g-2010.5.22]$make
make all-recursive
make[1]: Entering directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22'
Making all in include
make[2]: Entering directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/include'
Making all in ntfs-3g
make[3]: Entering directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/include/ntfs-3g'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/include/ntfs-3g'
Making all in fuse-lite
make[3]: Entering directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/include/fuse-lite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/include/fuse-lite'
make[3]: Entering directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/include'
make[2]: Leaving directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/include'
Making all in libfuse-lite
make[2]: Entering directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/libfuse-lite'
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse.lo -MD -MP -MF .deps/libfuse_lite_la-fuse.Tpo -c -o libfuse_lite_la-fuse.lo `test -f 'fuse.c' || echo './'`fuse.c
mkdir .libs

mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse.lo -MD -MP -MF .deps/libfuse_lite_la-fuse.Tpo -c fuse.c -fPIC -DPIC -o .libs/libfuse_lite_la-fuse.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse.lo -MD -MP -MF .deps/libfuse_lite_la-fuse.Tpo -c fuse.c -o libfuse_lite_la-fuse.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-fuse.Tpo .deps/libfuse_lite_la-fuse.Plo

/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_kern_chan.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_kern_chan.Tpo -c -o libfuse_lite_la-fuse_kern_chan.lo `test -f 'fuse_kern_chan.c' || echo './'`fuse_kern_chan.c

mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_kern_chan.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_kern_chan.Tpo -c fuse_kern_chan.c -fPIC -DPIC -o .libs/libfuse_lite_la-fuse_kern_chan.o

mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_kern_chan.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_kern_chan.Tpo -c fuse_kern_chan.c -o libfuse_lite_la-fuse_kern_chan.o >/dev/null 2>&1

mv -f .deps/libfuse_lite_la-fuse_kern_chan.Tpo .deps/libfuse_lite_la-fuse_kern_chan.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_loop.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_loop.Tpo -c -o libfuse_lite_la-fuse_loop.lo `test -f 'fuse_loop.c' || echo './'`fuse_loop.c

mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_loop.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_loop.Tpo -c fuse_loop.c -fPIC -DPIC -o .libs/libfuse_lite_la-fuse_loop.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_loop.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_loop.Tpo -c fuse_loop.c -o libfuse_lite_la-fuse_loop.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-fuse_loop.Tpo .deps/libfuse_lite_la-fuse_loop.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_lowlevel.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_lowlevel.Tpo -c -o libfuse_lite_la-fuse_lowlevel.lo `test -f 'fuse_lowlevel.c' || echo './'`fuse_lowlevel.c

mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_lowlevel.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_lowlevel.Tpo -c fuse_lowlevel.c -fPIC -DPIC -o .libs/libfuse_lite_la-fuse_lowlevel.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_lowlevel.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_lowlevel.Tpo -c fuse_lowlevel.c -o libfuse_lite_la-fuse_lowlevel.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-fuse_lowlevel.Tpo .deps/libfuse_lite_la-fuse_lowlevel.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_opt.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_opt.Tpo -c -o libfuse_lite_la-fuse_opt.lo `test -f 'fuse_opt.c' || echo './'`fuse_opt.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_opt.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_opt.Tpo -c fuse_opt.c -fPIC -DPIC -o .libs/libfuse_lite_la-fuse_opt.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_opt.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_opt.Tpo -c fuse_opt.c -o libfuse_lite_la-fuse_opt.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-fuse_opt.Tpo .deps/libfuse_lite_la-fuse_opt.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_session.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_session.Tpo -c -o libfuse_lite_la-fuse_session.lo `test -f 'fuse_session.c' || echo './'`fuse_session.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_session.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_session.Tpo -c fuse_session.c -fPIC -DPIC -o .libs/libfuse_lite_la-fuse_session.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_session.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_session.Tpo -c fuse_session.c -o libfuse_lite_la-fuse_session.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-fuse_session.Tpo .deps/libfuse_lite_la-fuse_session.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_signals.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_signals.Tpo -c -o libfuse_lite_la-fuse_signals.lo `test -f 'fuse_signals.c' || echo './'`fuse_signals.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_signals.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_signals.Tpo -c fuse_signals.c -fPIC -DPIC -o .libs/libfuse_lite_la-fuse_signals.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fuse_signals.lo -MD -MP -MF .deps/libfuse_lite_la-fuse_signals.Tpo -c fuse_signals.c -o libfuse_lite_la-fuse_signals.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-fuse_signals.Tpo .deps/libfuse_lite_la-fuse_signals.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fusermount.lo -MD -MP -MF .deps/libfuse_lite_la-fusermount.Tpo -c -o libfuse_lite_la-fusermount.lo `test -f 'fusermount.c' || echo './'`fusermount.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fusermount.lo -MD -MP -MF .deps/libfuse_lite_la-fusermount.Tpo -c fusermount.c -fPIC -DPIC -o .libs/libfuse_lite_la-fusermount.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-fusermount.lo -MD -MP -MF .deps/libfuse_lite_la-fusermount.Tpo -c fusermount.c -o libfuse_lite_la-fusermount.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-fusermount.Tpo .deps/libfuse_lite_la-fusermount.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-helper.lo -MD -MP -MF .deps/libfuse_lite_la-helper.Tpo -c -o libfuse_lite_la-helper.lo `test -f 'helper.c' || echo './'`helper.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-helper.lo -MD -MP -MF .deps/libfuse_lite_la-helper.Tpo -c helper.c -fPIC -DPIC -o .libs/libfuse_lite_la-helper.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-helper.lo -MD -MP -MF .deps/libfuse_lite_la-helper.Tpo -c helper.c -o libfuse_lite_la-helper.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-helper.Tpo .deps/libfuse_lite_la-helper.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-mount.lo -MD -MP -MF .deps/libfuse_lite_la-mount.Tpo -c -o libfuse_lite_la-mount.lo `test -f 'mount.c' || echo './'`mount.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-mount.lo -MD -MP -MF .deps/libfuse_lite_la-mount.Tpo -c mount.c -fPIC -DPIC -o .libs/libfuse_lite_la-mount.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-mount.lo -MD -MP -MF .deps/libfuse_lite_la-mount.Tpo -c mount.c -o libfuse_lite_la-mount.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-mount.Tpo .deps/libfuse_lite_la-mount.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-mount_util.lo -MD -MP -MF .deps/libfuse_lite_la-mount_util.Tpo -c -o libfuse_lite_la-mount_util.lo `test -f 'mount_util.c' || echo './'`mount_util.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-mount_util.lo -MD -MP -MF .deps/libfuse_lite_la-mount_util.Tpo -c mount_util.c -fPIC -DPIC -o .libs/libfuse_lite_la-mount_util.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/fuse-lite -EL -mips32 -muclibc -Wall -MT libfuse_lite_la-mount_util.lo -MD -MP -MF .deps/libfuse_lite_la-mount_util.Tpo -c mount_util.c -o libfuse_lite_la-mount_util.o >/dev/null 2>&1
mv -f .deps/libfuse_lite_la-mount_util.Tpo .deps/libfuse_lite_la-mount_util.Plo
/bin/sh ../libtool --tag=CC --mode=link mips-linux-gnu-gcc -I../include/fuse-lite -EL -mips32 -muclibc -Wall -EL -mips32 -muclibc -o libfuse-lite.la libfuse_lite_la-fuse.lo libfuse_lite_la-fuse_kern_chan.lo libfuse_lite_la-fuse_loop.lo libfuse_lite_la-fuse_lowlevel.lo libfuse_lite_la-fuse_opt.lo libfuse_lite_la-fuse_session.lo libfuse_lite_la-fuse_signals.lo libfuse_lite_la-fusermount.lo libfuse_lite_la-helper.lo libfuse_lite_la-mount.lo libfuse_lite_la-mount_util.lo -lpthread
mips-linux-gnu-ar cru .libs/libfuse-lite.a .libs/libfuse_lite_la-fuse.o .libs/libfuse_lite_la-fuse_kern_chan.o .libs/libfuse_lite_la-fuse_loop.o .libs/libfuse_lite_la-fuse_lowlevel.o .libs/libfuse_lite_la-fuse_opt.o .libs/libfuse_lite_la-fuse_session.o .libs/libfuse_lite_la-fuse_signals.o .libs/libfuse_lite_la-fusermount.o .libs/libfuse_lite_la-helper.o .libs/libfuse_lite_la-mount.o .libs/libfuse_lite_la-mount_util.o
mips-linux-gnu-ranlib .libs/libfuse-lite.a
creating libfuse-lite.la
(cd .libs && rm -f libfuse-lite.la && ln -s ../libfuse-lite.la libfuse-lite.la)
make[2]: Leaving directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/libfuse-lite'
Making all in libntfs-3g
make[2]: Entering directory `/RD/yangli/linux/LSDK/sdk/ntfs-3g-2010.5.22/libntfs-3g'
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-acls.lo -MD -MP -MF .deps/libntfs_3g_la-acls.Tpo -c -o libntfs_3g_la-acls.lo `test -f 'acls.c' || echo './'`acls.c
mkdir .libs
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-acls.lo -MD -MP -MF .deps/libntfs_3g_la-acls.Tpo -c acls.c -fPIC -DPIC -o .libs/libntfs_3g_la-acls.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-acls.lo -MD -MP -MF .deps/libntfs_3g_la-acls.Tpo -c acls.c -o libntfs_3g_la-acls.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-acls.Tpo .deps/libntfs_3g_la-acls.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-attrib.lo -MD -MP -MF .deps/libntfs_3g_la-attrib.Tpo -c -o libntfs_3g_la-attrib.lo `test -f 'attrib.c' || echo './'`attrib.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-attrib.lo -MD -MP -MF .deps/libntfs_3g_la-attrib.Tpo -c attrib.c -fPIC -DPIC -o .libs/libntfs_3g_la-attrib.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-attrib.lo -MD -MP -MF .deps/libntfs_3g_la-attrib.Tpo -c attrib.c -o libntfs_3g_la-attrib.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-attrib.Tpo .deps/libntfs_3g_la-attrib.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-attrlist.lo -MD -MP -MF .deps/libntfs_3g_la-attrlist.Tpo -c -o libntfs_3g_la-attrlist.lo `test -f 'attrlist.c' || echo './'`attrlist.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-attrlist.lo -MD -MP -MF .deps/libntfs_3g_la-attrlist.Tpo -c attrlist.c -fPIC -DPIC -o .libs/libntfs_3g_la-attrlist.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-attrlist.lo -MD -MP -MF .deps/libntfs_3g_la-attrlist.Tpo -c attrlist.c -o libntfs_3g_la-attrlist.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-attrlist.Tpo .deps/libntfs_3g_la-attrlist.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-bitmap.lo -MD -MP -MF .deps/libntfs_3g_la-bitmap.Tpo -c -o libntfs_3g_la-bitmap.lo `test -f 'bitmap.c' || echo './'`bitmap.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-bitmap.lo -MD -MP -MF .deps/libntfs_3g_la-bitmap.Tpo -c bitmap.c -fPIC -DPIC -o .libs/libntfs_3g_la-bitmap.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-bitmap.lo -MD -MP -MF .deps/libntfs_3g_la-bitmap.Tpo -c bitmap.c -o libntfs_3g_la-bitmap.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-bitmap.Tpo .deps/libntfs_3g_la-bitmap.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-bootsect.lo -MD -MP -MF .deps/libntfs_3g_la-bootsect.Tpo -c -o libntfs_3g_la-bootsect.lo `test -f 'bootsect.c' || echo './'`bootsect.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-bootsect.lo -MD -MP -MF .deps/libntfs_3g_la-bootsect.Tpo -c bootsect.c -fPIC -DPIC -o .libs/libntfs_3g_la-bootsect.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-bootsect.lo -MD -MP -MF .deps/libntfs_3g_la-bootsect.Tpo -c bootsect.c -o libntfs_3g_la-bootsect.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-bootsect.Tpo .deps/libntfs_3g_la-bootsect.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-cache.lo -MD -MP -MF .deps/libntfs_3g_la-cache.Tpo -c -o libntfs_3g_la-cache.lo `test -f 'cache.c' || echo './'`cache.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-cache.lo -MD -MP -MF .deps/libntfs_3g_la-cache.Tpo -c cache.c -fPIC -DPIC -o .libs/libntfs_3g_la-cache.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-cache.lo -MD -MP -MF .deps/libntfs_3g_la-cache.Tpo -c cache.c -o libntfs_3g_la-cache.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-cache.Tpo .deps/libntfs_3g_la-cache.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-collate.lo -MD -MP -MF .deps/libntfs_3g_la-collate.Tpo -c -o libntfs_3g_la-collate.lo `test -f 'collate.c' || echo './'`collate.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-collate.lo -MD -MP -MF .deps/libntfs_3g_la-collate.Tpo -c collate.c -fPIC -DPIC -o .libs/libntfs_3g_la-collate.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-collate.lo -MD -MP -MF .deps/libntfs_3g_la-collate.Tpo -c collate.c -o libntfs_3g_la-collate.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-collate.Tpo .deps/libntfs_3g_la-collate.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-compat.lo -MD -MP -MF .deps/libntfs_3g_la-compat.Tpo -c -o libntfs_3g_la-compat.lo `test -f 'compat.c' || echo './'`compat.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-compat.lo -MD -MP -MF .deps/libntfs_3g_la-compat.Tpo -c compat.c -fPIC -DPIC -o .libs/libntfs_3g_la-compat.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-compat.lo -MD -MP -MF .deps/libntfs_3g_la-compat.Tpo -c compat.c -o libntfs_3g_la-compat.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-compat.Tpo .deps/libntfs_3g_la-compat.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-compress.lo -MD -MP -MF .deps/libntfs_3g_la-compress.Tpo -c -o libntfs_3g_la-compress.lo `test -f 'compress.c' || echo './'`compress.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-compress.lo -MD -MP -MF .deps/libntfs_3g_la-compress.Tpo -c compress.c -fPIC -DPIC -o .libs/libntfs_3g_la-compress.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-compress.lo -MD -MP -MF .deps/libntfs_3g_la-compress.Tpo -c compress.c -o libntfs_3g_la-compress.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-compress.Tpo .deps/libntfs_3g_la-compress.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-debug.lo -MD -MP -MF .deps/libntfs_3g_la-debug.Tpo -c -o libntfs_3g_la-debug.lo `test -f 'debug.c' || echo './'`debug.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-debug.lo -MD -MP -MF .deps/libntfs_3g_la-debug.Tpo -c debug.c -fPIC -DPIC -o .libs/libntfs_3g_la-debug.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-debug.lo -MD -MP -MF .deps/libntfs_3g_la-debug.Tpo -c debug.c -o libntfs_3g_la-debug.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-debug.Tpo .deps/libntfs_3g_la-debug.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-device.lo -MD -MP -MF .deps/libntfs_3g_la-device.Tpo -c -o libntfs_3g_la-device.lo `test -f 'device.c' || echo './'`device.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-device.lo -MD -MP -MF .deps/libntfs_3g_la-device.Tpo -c device.c -fPIC -DPIC -o .libs/libntfs_3g_la-device.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-device.lo -MD -MP -MF .deps/libntfs_3g_la-device.Tpo -c device.c -o libntfs_3g_la-device.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-device.Tpo .deps/libntfs_3g_la-device.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-dir.lo -MD -MP -MF .deps/libntfs_3g_la-dir.Tpo -c -o libntfs_3g_la-dir.lo `test -f 'dir.c' || echo './'`dir.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-dir.lo -MD -MP -MF .deps/libntfs_3g_la-dir.Tpo -c dir.c -fPIC -DPIC -o .libs/libntfs_3g_la-dir.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-dir.lo -MD -MP -MF .deps/libntfs_3g_la-dir.Tpo -c dir.c -o libntfs_3g_la-dir.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-dir.Tpo .deps/libntfs_3g_la-dir.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-efs.lo -MD -MP -MF .deps/libntfs_3g_la-efs.Tpo -c -o libntfs_3g_la-efs.lo `test -f 'efs.c' || echo './'`efs.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-efs.lo -MD -MP -MF .deps/libntfs_3g_la-efs.Tpo -c efs.c -fPIC -DPIC -o .libs/libntfs_3g_la-efs.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-efs.lo -MD -MP -MF .deps/libntfs_3g_la-efs.Tpo -c efs.c -o libntfs_3g_la-efs.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-efs.Tpo .deps/libntfs_3g_la-efs.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-index.lo -MD -MP -MF .deps/libntfs_3g_la-index.Tpo -c -o libntfs_3g_la-index.lo `test -f 'index.c' || echo './'`index.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-index.lo -MD -MP -MF .deps/libntfs_3g_la-index.Tpo -c index.c -fPIC -DPIC -o .libs/libntfs_3g_la-index.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-index.lo -MD -MP -MF .deps/libntfs_3g_la-index.Tpo -c index.c -o libntfs_3g_la-index.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-index.Tpo .deps/libntfs_3g_la-index.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-inode.lo -MD -MP -MF .deps/libntfs_3g_la-inode.Tpo -c -o libntfs_3g_la-inode.lo `test -f 'inode.c' || echo './'`inode.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-inode.lo -MD -MP -MF .deps/libntfs_3g_la-inode.Tpo -c inode.c -fPIC -DPIC -o .libs/libntfs_3g_la-inode.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-inode.lo -MD -MP -MF .deps/libntfs_3g_la-inode.Tpo -c inode.c -o libntfs_3g_la-inode.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-inode.Tpo .deps/libntfs_3g_la-inode.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-lcnalloc.lo -MD -MP -MF .deps/libntfs_3g_la-lcnalloc.Tpo -c -o libntfs_3g_la-lcnalloc.lo `test -f 'lcnalloc.c' || echo './'`lcnalloc.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-lcnalloc.lo -MD -MP -MF .deps/libntfs_3g_la-lcnalloc.Tpo -c lcnalloc.c -fPIC -DPIC -o .libs/libntfs_3g_la-lcnalloc.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-lcnalloc.lo -MD -MP -MF .deps/libntfs_3g_la-lcnalloc.Tpo -c lcnalloc.c -o libntfs_3g_la-lcnalloc.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-lcnalloc.Tpo .deps/libntfs_3g_la-lcnalloc.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-logfile.lo -MD -MP -MF .deps/libntfs_3g_la-logfile.Tpo -c -o libntfs_3g_la-logfile.lo `test -f 'logfile.c' || echo './'`logfile.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-logfile.lo -MD -MP -MF .deps/libntfs_3g_la-logfile.Tpo -c logfile.c -fPIC -DPIC -o .libs/libntfs_3g_la-logfile.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-logfile.lo -MD -MP -MF .deps/libntfs_3g_la-logfile.Tpo -c logfile.c -o libntfs_3g_la-logfile.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-logfile.Tpo .deps/libntfs_3g_la-logfile.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-logging.lo -MD -MP -MF .deps/libntfs_3g_la-logging.Tpo -c -o libntfs_3g_la-logging.lo `test -f 'logging.c' || echo './'`logging.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-logging.lo -MD -MP -MF .deps/libntfs_3g_la-logging.Tpo -c logging.c -fPIC -DPIC -o .libs/libntfs_3g_la-logging.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-logging.lo -MD -MP -MF .deps/libntfs_3g_la-logging.Tpo -c logging.c -o libntfs_3g_la-logging.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-logging.Tpo .deps/libntfs_3g_la-logging.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-mft.lo -MD -MP -MF .deps/libntfs_3g_la-mft.Tpo -c -o libntfs_3g_la-mft.lo `test -f 'mft.c' || echo './'`mft.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-mft.lo -MD -MP -MF .deps/libntfs_3g_la-mft.Tpo -c mft.c -fPIC -DPIC -o .libs/libntfs_3g_la-mft.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-mft.lo -MD -MP -MF .deps/libntfs_3g_la-mft.Tpo -c mft.c -o libntfs_3g_la-mft.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-mft.Tpo .deps/libntfs_3g_la-mft.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-misc.lo -MD -MP -MF .deps/libntfs_3g_la-misc.Tpo -c -o libntfs_3g_la-misc.lo `test -f 'misc.c' || echo './'`misc.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-misc.lo -MD -MP -MF .deps/libntfs_3g_la-misc.Tpo -c misc.c -fPIC -DPIC -o .libs/libntfs_3g_la-misc.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-misc.lo -MD -MP -MF .deps/libntfs_3g_la-misc.Tpo -c misc.c -o libntfs_3g_la-misc.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-misc.Tpo .deps/libntfs_3g_la-misc.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-mst.lo -MD -MP -MF .deps/libntfs_3g_la-mst.Tpo -c -o libntfs_3g_la-mst.lo `test -f 'mst.c' || echo './'`mst.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-mst.lo -MD -MP -MF .deps/libntfs_3g_la-mst.Tpo -c mst.c -fPIC -DPIC -o .libs/libntfs_3g_la-mst.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-mst.lo -MD -MP -MF .deps/libntfs_3g_la-mst.Tpo -c mst.c -o libntfs_3g_la-mst.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-mst.Tpo .deps/libntfs_3g_la-mst.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-object_id.lo -MD -MP -MF .deps/libntfs_3g_la-object_id.Tpo -c -o libntfs_3g_la-object_id.lo `test -f 'object_id.c' || echo './'`object_id.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-object_id.lo -MD -MP -MF .deps/libntfs_3g_la-object_id.Tpo -c object_id.c -fPIC -DPIC -o .libs/libntfs_3g_la-object_id.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-object_id.lo -MD -MP -MF .deps/libntfs_3g_la-object_id.Tpo -c object_id.c -o libntfs_3g_la-object_id.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-object_id.Tpo .deps/libntfs_3g_la-object_id.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-reparse.lo -MD -MP -MF .deps/libntfs_3g_la-reparse.Tpo -c -o libntfs_3g_la-reparse.lo `test -f 'reparse.c' || echo './'`reparse.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-reparse.lo -MD -MP -MF .deps/libntfs_3g_la-reparse.Tpo -c reparse.c -fPIC -DPIC -o .libs/libntfs_3g_la-reparse.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-reparse.lo -MD -MP -MF .deps/libntfs_3g_la-reparse.Tpo -c reparse.c -o libntfs_3g_la-reparse.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-reparse.Tpo .deps/libntfs_3g_la-reparse.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-runlist.lo -MD -MP -MF .deps/libntfs_3g_la-runlist.Tpo -c -o libntfs_3g_la-runlist.lo `test -f 'runlist.c' || echo './'`runlist.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-runlist.lo -MD -MP -MF .deps/libntfs_3g_la-runlist.Tpo -c runlist.c -fPIC -DPIC -o .libs/libntfs_3g_la-runlist.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-runlist.lo -MD -MP -MF .deps/libntfs_3g_la-runlist.Tpo -c runlist.c -o libntfs_3g_la-runlist.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-runlist.Tpo .deps/libntfs_3g_la-runlist.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-security.lo -MD -MP -MF .deps/libntfs_3g_la-security.Tpo -c -o libntfs_3g_la-security.lo `test -f 'security.c' || echo './'`security.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-security.lo -MD -MP -MF .deps/libntfs_3g_la-security.Tpo -c security.c -fPIC -DPIC -o .libs/libntfs_3g_la-security.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-security.lo -MD -MP -MF .deps/libntfs_3g_la-security.Tpo -c security.c -o libntfs_3g_la-security.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-security.Tpo .deps/libntfs_3g_la-security.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-unistr.lo -MD -MP -MF .deps/libntfs_3g_la-unistr.Tpo -c -o libntfs_3g_la-unistr.lo `test -f 'unistr.c' || echo './'`unistr.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-unistr.lo -MD -MP -MF .deps/libntfs_3g_la-unistr.Tpo -c unistr.c -fPIC -DPIC -o .libs/libntfs_3g_la-unistr.o
unistr.c: In function 'ntfs_ucstombs':
unistr.c:909: warning: control reaches end of non-void function
unistr.c: In function 'ntfs_mbstoucs':
unistr.c:1048: warning: control reaches end of non-void function
unistr.c: At top level:
unistr.c:499: warning: 'ntfs_utf16_to_utf8' defined but not used
unistr.c:721: warning: 'ntfs_utf8_to_utf16' defined but not used
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-unistr.lo -MD -MP -MF .deps/libntfs_3g_la-unistr.Tpo -c unistr.c -o libntfs_3g_la-unistr.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-unistr.Tpo .deps/libntfs_3g_la-unistr.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-volume.lo -MD -MP -MF .deps/libntfs_3g_la-volume.Tpo -c -o libntfs_3g_la-volume.lo `test -f 'volume.c' || echo './'`volume.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-volume.lo -MD -MP -MF .deps/libntfs_3g_la-volume.Tpo -c volume.c -fPIC -DPIC -o .libs/libntfs_3g_la-volume.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-volume.lo -MD -MP -MF .deps/libntfs_3g_la-volume.Tpo -c volume.c -o libntfs_3g_la-volume.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-volume.Tpo .deps/libntfs_3g_la-volume.Plo
/bin/sh ../libtool --tag=CC --mode=compile mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-unix_io.lo -MD -MP -MF .deps/libntfs_3g_la-unix_io.Tpo -c -o libntfs_3g_la-unix_io.lo `test -f 'unix_io.c' || echo './'`unix_io.c
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-unix_io.lo -MD -MP -MF .deps/libntfs_3g_la-unix_io.Tpo -c unix_io.c -fPIC -DPIC -o .libs/libntfs_3g_la-unix_io.o
mips-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -MT libntfs_3g_la-unix_io.lo -MD -MP -MF .deps/libntfs_3g_la-unix_io.Tpo -c unix_io.c -o libntfs_3g_la-unix_io.o >/dev/null 2>&1
mv -f .deps/libntfs_3g_la-unix_io.Tpo .deps/libntfs_3g_la-unix_io.Plo
/bin/sh ../libtool --tag=CC --mode=link mips-linux-gnu-gcc -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -version-info 76 -no-undefined -EL -mips32 -muclibc -o libntfs-3g.la -rpath /usr/local/lib libntfs_3g_la-acls.lo libntfs_3g_la-attrib.lo libntfs_3g_la-attrlist.lo libntfs_3g_la-bitmap.lo libntfs_3g_la-bootsect.lo libntfs_3g_la-cache.lo libntfs_3g_la-collate.lo libntfs_3g_la-compat.lo libntfs_3g_la-compress.lo libntfs_3g_la-debug.lo libntfs_3g_la-device.lo libntfs_3g_la-dir.lo libntfs_3g_la-efs.lo libntfs_3g_la-index.lo libntfs_3g_la-inode.lo libntfs_3g_la-lcnalloc.lo libntfs_3g_la-logfile.lo libntfs_3g_la-logging.lo libntfs_3g_la-mft.lo libntfs_3g_la-misc.lo libntfs_3g_la-mst.lo libntfs_3g_la-object_id.lo libntfs_3g_la-reparse.lo libntfs_3g_la-runlist.lo libntfs_3g_la-security.lo libntfs_3g_la-unistr.lo libntfs_3g_la-volume.lo libntfs_3g_la-unix_io.lo ../libfuse-lite/libfuse-lite.la
mips-linux-gnu-gcc -shared .libs/libntfs_3g_la-acls.o .libs/libntfs_3g_la-attrib.o .libs/libntfs_3g_la-attrlist.o .libs/libntfs_3g_la-bitmap.o .libs/libntfs_3g_la-bootsect.o .libs/libntfs_3g_la-cache.o .libs/libntfs_3g_la-collate.o .libs/libntfs_3g_la-compat.o .libs/libntfs_3g_la-compress.o .libs/libntfs_3g_la-debug.o .libs/libntfs_3g_la-device.o .libs/libntfs_3g_la-dir.o .libs/libntfs_3g_la-efs.o .libs/libntfs_3g_la-index.o .libs/libntfs_3g_la-inode.o .libs/libntfs_3g_la-lcnalloc.o .libs/libntfs_3g_la-logfile.o .libs/libntfs_3g_la-logging.o .libs/libntfs_3g_la-mft.o .libs/libntfs_3g_la-misc.o .libs/libntfs_3g_la-mst.o .libs/libntfs_3g_la-object_id.o .libs/libntfs_3g_la-reparse.o .libs/libntfs_3g_la-runlist.o .libs/libntfs_3g_la-security.o .libs/libntfs_3g_la-unistr.o .libs/libntfs_3g_la-volume.o .libs/libntfs_3g_la-unix_io.o -Wl,--whole-archive ../libfuse-lite/.libs/libfuse-lite.a -Wl,--no-whole-archive -lpthread -mips32 -muclibc -mips32 -muclibc -Wl,-soname -Wl,libntfs-3g.so.76 -o .libs/libntfs-3g.so.76.0.0

/* err begins here ........*/
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-acls.o: compiled for a little endian system and target is big endian
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-acls.o: endianness incompatible with that of the selected emulation
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: failed to merge target specific data of file .libs/libntfs_3g_la-acls.o
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-attrib.o: compiled for a little endian system and target is big endian
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-attrib.o: endianness incompatible with that of the selected emulation
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: failed to merge target specific data of file .libs/libntfs_3g_la-attrib.o
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-attrlist.o: compiled for a little endian system and target is big endian
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-attrlist.o: endianness incompatible with that of the selected emulation
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: failed to merge target specific data of file .libs/libntfs_3g_la-attrlist.o
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-bitmap.o: compiled for a little endian system and target is big endian
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-bitmap.o: endianness incompatible with that of the selected emulation
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: failed to merge target specific data of file .libs/libntfs_3g_la-bitmap.o
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-bootsect.o: compiled for a little endian system and target is big endian
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: .libs/libntfs_3g_la-bootsect.o: endianness incompatible with that of the selected emulation
/usr/local/CodeSourcery/Sourcery_G++/bin/../lib/gcc/mips-linux-gnu/4.3.3/../../../../mips-linux-gnu/bin/ld: failed to merge target specific data of file .libs/libntfs_3g_la-bootsect.o




Best Wishes
Lily


Mon Aug 09, 2010 12:32
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi Lily,

Quote:
Quote:
i have tried. but i seems that no matter how i confiured, the output is "Using a small endian computer Wrong data layout, aborting".

This could be another issue, and an important one, if your compiler does not generate the correct layout for ntfs data. Do you not have another explanatory message about the size of some type ? Fix that first !

Sorry for insisting, you really should fix that, you will corrupt your ntfs partitions if the layout is not correct.

Quote:
mips-linux-gnu-gcc -EL -mips32 -muclibc -o helloworld helloworld.o
then execute helloworld on my target board, and it runs ok.

Fine. Then you really need the -EL option for linking.
Quote:
i cannot add the attach,

On this forum you can only attach compressed files (.zip, .gz etc.)

Quote:
/bin/sh ../libtool --tag=CC --mode=link mips-linux-gnu-gcc -I../include/ntfs-3g -EL -mips32 -muclibc -Wall -version-info 76 -no-undefined -EL -mips32 -muclibc -o libntfs-3g.la -rpath /usr/local/lib libntfs_3g_la-acls.lo libntfs_3g_la-attrib.lo libntfs_3g_la-attrlist.lo libntfs_3g_la-bitmap.lo libntfs_3g_la-bootsect.lo libntfs_3g_la-cache.lo libntfs_3g_la-collate.lo libntfs_3g_la-compat.lo libntfs_3g_la-compress.lo libntfs_3g_la-debug.lo libntfs_3g_la-device.lo libntfs_3g_la-dir.lo libntfs_3g_la-efs.lo libntfs_3g_la-index.lo libntfs_3g_la-inode.lo libntfs_3g_la-lcnalloc.lo libntfs_3g_la-logfile.lo libntfs_3g_la-logging.lo libntfs_3g_la-mft.lo libntfs_3g_la-misc.lo libntfs_3g_la-mst.lo libntfs_3g_la-object_id.lo libntfs_3g_la-reparse.lo libntfs_3g_la-runlist.lo libntfs_3g_la-security.lo libntfs_3g_la-unistr.lo libntfs_3g_la-volume.lo libntfs_3g_la-unix_io.lo ../libfuse-lite/libfuse-lite.la

So the -EL option was passed to libtool, and ./configure was correct.

Quote:
mips-linux-gnu-gcc -shared .libs/libntfs_3g_la-acls.o .libs/libntfs_3g_la-attrib.o .libs/libntfs_3g_la-attrlist.o .libs/libntfs_3g_la-bitmap.o .libs/libntfs_3g_la-bootsect.o .libs/libntfs_3g_la-cache.o .libs/libntfs_3g_la-collate.o .libs/libntfs_3g_la-compat.o .libs/libntfs_3g_la-compress.o .libs/libntfs_3g_la-debug.o .libs/libntfs_3g_la-device.o .libs/libntfs_3g_la-dir.o .libs/libntfs_3g_la-efs.o .libs/libntfs_3g_la-index.o .libs/libntfs_3g_la-inode.o .libs/libntfs_3g_la-lcnalloc.o .libs/libntfs_3g_la-logfile.o .libs/libntfs_3g_la-logging.o .libs/libntfs_3g_la-mft.o .libs/libntfs_3g_la-misc.o .libs/libntfs_3g_la-mst.o .libs/libntfs_3g_la-object_id.o .libs/libntfs_3g_la-reparse.o .libs/libntfs_3g_la-runlist.o .libs/libntfs_3g_la-security.o .libs/libntfs_3g_la-unistr.o .libs/libntfs_3g_la-volume.o .libs/libntfs_3g_la-unix_io.o -Wl,--whole-archive ../libfuse-lite/.libs/libfuse-lite.a -Wl,--no-whole-archive -lpthread -mips32 -muclibc -mips32 -muclibc -Wl,-soname -Wl,libntfs-3g.so.76 -o .libs/libntfs-3g.so.76.0.0

... but libtool removed it. Sorry, I cannot fix that.

I suggest you do this linking manually : After the make has failed, cd to the library and link with the -EL option added. Then make again (no make clean !). This make will probably fail again later, but you should be getting nearer to the result :
Code:
# from the main ntfs-3g directory (the one which contains ./configure)
cd libntfs-3g
# link the library
mips-linux-gnu-gcc [color=#FF0000]-EL[/color] -shared .libs/libntfs_3g_la-acls.o .libs/libntfs_3g_la-attrib.o .libs/libntfs_3g_la-attrlist.o .libs/libntfs_3g_la-bitmap.o .libs/libntfs_3g_la-bootsect.o .libs/libntfs_3g_la-cache.o .libs/libntfs_3g_la-collate.o .libs/libntfs_3g_la-compat.o .libs/libntfs_3g_la-compress.o .libs/libntfs_3g_la-debug.o .libs/libntfs_3g_la-device.o .libs/libntfs_3g_la-dir.o .libs/libntfs_3g_la-efs.o .libs/libntfs_3g_la-index.o .libs/libntfs_3g_la-inode.o .libs/libntfs_3g_la-lcnalloc.o .libs/libntfs_3g_la-logfile.o .libs/libntfs_3g_la-logging.o .libs/libntfs_3g_la-mft.o .libs/libntfs_3g_la-misc.o .libs/libntfs_3g_la-mst.o .libs/libntfs_3g_la-object_id.o .libs/libntfs_3g_la-reparse.o .libs/libntfs_3g_la-runlist.o .libs/libntfs_3g_la-security.o .libs/libntfs_3g_la-unistr.o .libs/libntfs_3g_la-volume.o .libs/libntfs_3g_la-unix_io.o -Wl,--whole-archive ../libfuse-lite/.libs/libfuse-lite.a -Wl,--no-whole-archive -lpthread -mips32 -muclibc -mips32 -muclibc -Wl,-soname -Wl,libntfs-3g.so.76 -o .libs/libntfs-3g.so.76.0.0
# proceed with the make
make

Quote:
Best Wishes!

My wishes to you.

Jean-Pierre


Mon Aug 09, 2010 13:13
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
HI,
thanks a lot.
i finally solved the making problem by configuring
" ./configure --host=mipsel-linux CC=”mips-linux-gnu-gcc -EL -mips32 -muclibc –msoft-float"

Quote:
This could be another issue, and an important one, if your compiler does not generate the correct layout for ntfs data. Do you not have another explanatory message about the size of some type ? Fix that first !

and i am still not clear about your suggestion ,my computer is i686-pc (liitle endian) ,my target board is mips32(little endian). it is a cross complier, isn't it?

now, making and making install are ok. then i downed the ntfs-3g and lib to my target board .
#find the NTFS device
fdisk -l | grep NTFS
--SD Capactiy:0xed8000,7600MB
--/dev/sd_card_block1 2 3522 7778304 7 HPFS/NTFS

#mount the device
ntfs-3g dev/sd_card_block1 /mnt/card/
--fuse init (API version 7.9)
--Failed to mount '/dev/sd_card_block1': Invalid argument
--The device '/dev/sd_card_block1' doesn't seem to have a valid NTFS.
--Maybe the wrong device is used? Or the whole disk instead of a
--partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?


Does the err have relation to your suggestion? please fix for me ,thans in advance.

Best Wishes
Lily


Tue Aug 10, 2010 05:46
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi Lily,

Quote:
i finally solved the making problem by configuring
" ./configure --host=mipsel-linux CC=”mips-linux-gnu-gcc -EL -mips32 -muclibc –msoft-float"

Good news !
Quote:
and i am still not clear about your suggestion ,my computer is i686-pc (liitle endian) ,my target board is mips32(little endian). it is a cross complier, isn't it?

But the test program diagnosed a layout error in some structure (this is not an endianness error). Generally it is an alignment problem. Normally the test program indicates which structure has a wrong layout, but you did not tell so, so I do not know whether you are hiding it, or if there is a bug in the test program. You must obviously execute the test program on your target board.
Quote:
ntfs-3g dev/sd_card_block1 /mnt/card/
--fuse init (API version 7.9)
--Failed to mount '/dev/sd_card_block1': Invalid argument
--The device '/dev/sd_card_block1' doesn't seem to have a valid NTFS.
[...]
Does the err have relation to your suggestion? please fix for me ,thans in advance.

This is likely. The boot sector has several fields which are not aligned on an even address, and some compilers may have difficulties.

Regards

Jean-Pierrre


Tue Aug 10, 2010 08:34
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
HI,
last time, i mentioned the err:
Quote:
ntfs-3g dev/sd_card_block1 /mnt/card/
--fuse init (API version 7.9)
--Failed to mount '/dev/sd_card_block1': Invalid argument
--The device '/dev/sd_card_block1' doesn't seem to have a valid NTFS.
[...]

today, i added "-enable-debug" when configuring.
here comes a mention "Couldn't find file 'hiberfil.sys'." , and i don't know why?

oh , i remembered that i used to modify ntfs-3g-2010.5.22/libntfs-3g/unistr.c because a making err:
unistr.c: In function 'ntfs_ucstombs':
unistr.c:842: error: 'MB_CUR_MAX' undeclared (first use in this function)
unistr.c:842: error: (Each undeclared identifier is reported only once
unistr.c:842: error: for each function it appears in.)
unistr.c:850: warning: implicit declaration of function 'wctomb'
unistr.c: In function 'ntfs_mbstoucs':
unistr.c:970: warning: implicit declaration of function 'mbstowcs'
unistr.c:994: warning: implicit declaration of function 'mbtowc'


DOes it matter?
i have attached the debug info and the modified unistr.c
thanks a lot.
best wishes
Lily


Attachments:
debug $ unistr.rar [11.55 KiB]
Downloaded 126 times
Wed Aug 11, 2010 15:33
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi Lily,

Quote:
oh , i remembered that i used to modify ntfs-3g-2010.5.22/libntfs-3g/unistr.c because a making err:
[...]
DOes it matter?
i have attached the debug info and the modified unistr.c

It does really matter : you have canceled the file names translations, and as a consequence ntfs-3g fails when translating the first file known by name, though this file (hiberfile.sys) does not matter at all. However good news : most metadata files appear to have been processed successfully.

Now, you have to fix the original error which led you to make the change :
Quote:
unistr.c:842: error: 'MB_CUR_MAX' undeclared (first use in this function)
or
unistr.c:850: warning: implicit declaration of function 'wctomb'
[...]

You get these errors because you do not have the standard translation routines installed. But this does not matter at all, as we had to rewrite them, ... You only have to relocate your #if 0 so as to keep the calls to the rewritten functions.

Attached is an UNTESTED proposal, which will probably lead to a few compiler warnings or errors. You may have to fix things and improve

Regards

Jean-Pierre


Attachments:
unistr.c.gz [10.14 KiB]
Downloaded 131 times
Wed Aug 11, 2010 16:53
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
Hi Jean,
thanks very much. i can now mount and read NTFS device with your help.
but i found that mounting is very slow(takes more the 5mins).
here is my testing result. Is it normal?

FS------------------------mount time-------------max read speed -------------max write speed
fat32----------------------------- <1 sec ------------------- 5316 KB/S ------------------------------520KB/S
NTFS-3g--------------------------- >5 mins -------------------3092 KB/S------------------------------ 320KB/S
NTFS(in kernel 2.6.27.29)-----------<2 sec -------------------1060KB/S----------------------------- didnot test


i used the same 4GB sd card and wondered why ntfs-3g mounting took so long time. And is there some suggestion to speed up the ntfs-3g read/write ? Dose ntfs-3g support the direct-io?
thanks for your help.
Best wishes!
Lily


Thu Aug 12, 2010 05:36
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
Hi,
ps: my mount infomation
/ # ntfs-3g /dev/sd_card_block /mnt/card/
The disk contains an unclean file system (0, 1).
The file system wasn't safely closed on Windows. Fixing.
Using default user mapping
/#

thanks again.
Best wishes !
Lily


Thu Aug 12, 2010 06:00
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi Lily,

Quote:
thanks very much. i can now mount and read NTFS device with your help.

Good news !
Quote:
but i found that mounting is very slow(takes more the 5mins).
here is my testing result. Is it normal?

Speed depends on the hardware, and the mount time includes checking the state of all clusters for measuring available space. However getting 2 seconds with the kernel driver and 5 minutes with ntfs-3g definitely shows something is wrong.
Quote:
some suggestion to speed up the ntfs-3g read/write ?

You compiled with the debug option set. Did you recompile without the debug option ? The debug option generates a lot of output information, and causes performance degradation.
Quote:
Dose ntfs-3g support the direct-io?

ntfs-3g should be transparent to direct-io, but this is probably not supported in all fuse versions. Anyway it will not have much impact on mount time.
Quote:
Using default user mapping

This is a bad consequence of having an ACL set on the root of your ntfs volume. As a consequence, you may have permission problems when accessing your files from a user account. This has be redesigned and you should migrate to the latest ntfs-3g-2010.8.8 where this has been fixed. You may also reformat your device with a different formatting tool.

Note : I will not be reading this forum for a couple of days.

Regards

Jean-Pierre


Thu Aug 12, 2010 09:06
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
Hi, Jean:
thanks very much!
Quote:
You compiled with the debug option set. Did you recompile without the debug option ? The debug option generates a lot of output information, and causes performance degradation.

of course , i removed the debug option.

Quote:
but i found that mounting is very slow(takes more the 5mins).

i find a weird thing.
/# ntfs-3g /dev/sd_block /mnt/card [the first time]
..................(a long time)............
i cannot wait, so stopp it by "ctrl +C".
and mount again.

/# ntfs-3g /dev/sd_block /mnt/card [the second time]
.... a miracle happed: mounting is ok in less than 2 seconds.
then i can read and write normally.


In a word, the first mounting takes more than 5mins, if you stop it and mount again , it will mount successfully in less than 3 mins.
i looked up the ntfs-3g code and still don't know why .
i have attached the debug information , thanks for help.

ps: i doubted some other progress is takeing the CPU at first, but i typed "top" command and found that the ntfs-3g mounting has taken more than 70% CPU.

and for your suggetion, i have tried the NTFS-3G.2.10.8.8, but failed (the configuration is the same with ntfs-3g.2010.5.22) ,here is the err:
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.



Best Wishes!
Lily


Attachments:
mount.rar [30.35 KiB]
Downloaded 129 times
Fri Aug 13, 2010 09:00
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
Hi,
quote] In a word, the first mounting takes more than 5mins, if you stop it and mount again , it will mount successfully in less than 3 mins.[[/quote]
i find the reason. because before mounting, there are several progresses in running( in manager.app). after cancled the manager.app, mounting and reading are more quick than before.
but in my situation the manager.app is needed, i wonder if i set the mount progress in higher priority , other progresses won't inpact my mount progress.
Best wishes!
Llily


Fri Aug 13, 2010 12:20
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi Lily,

Quote:
/# ntfs-3g /dev/sd_block /mnt/card [the first time]
..................(a long time)............
i cannot wait, so stopp it by "ctrl +C".
and mount again.
/# ntfs-3g /dev/sd_block /mnt/card [the second time]
.... a miracle happed: mounting is ok in less than 2 seconds.
then i can read and write normally.

Two seconds, or two minutes ?
Apparently, by typing "ctrl +C" you interrupted some process which was conflicting with ntfs-3g. Some resource must be locked and prevents from mounting.
Quote:
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.

This is a likely cause : your device was already mounted before you tried to mount with ntfs-3g. The check for already mounted device was not present in ntfs-3g-2010.5.22, but this is a dangerous situation.
You can get the list of mounted devices by displaying /etc/mtab before you try to mount with ntfs-3g.
Quote:
i find the reason. because before mounting, there are several progresses in running( in manager.app). after cancled the manager.app, mounting and reading are more quick than before.
but in my situation the manager.app is needed, i wonder if i set the mount progress in higher priority , other progresses won't inpact my mount progress.

This does not look like a priority issue, it looks more like a locking issue. Does the manager.app open the device in some way ? Does it mount the device ?

About your former errors in unistr.c, I have appended a patch, assuming the errors were caused by a missing <stdlib.h> in your configuration. Can you test the patch ? If successful, I will insert it in future releases.

Regards

Jean-Pierre


Attachments:
unistr.c.patch03.gz [616 Bytes]
Downloaded 132 times
Sat Aug 14, 2010 10:02
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
Hi,Jean
Quote:
Two seconds, or two minutes ?
Apparently, by typing "ctrl +C" you interrupted some process which was conflicting with ntfs-3g. Some resource must be locked and prevents from mounting.

it's two seconds. i have solved the mount problem. now the mounting time is less than 2 seconds.thanks for your tip.

Quote:
This is a likely cause : your device was already mounted before you tried to mount with ntfs-3g. The check for already mounted device was not present in ntfs-3g-2010.5.22, but this is a dangerous situation.

so is it the reason to the following appearance? the ntfs-3g-2010.5.22 can mount but ntfs-3g-2010.8.8 cannot mount.
/ # ntfs-3g-2010.8.8 /dev/sd_card_block /mnt/card/
Mount is denied because the NTFS volume is already exclusively opened.
The volume may be already mounted, or another software may use it which
could be identified for example by the help of the 'fuser' command.

/ # ntfs-3g-2010.5.22 /dev/sd_card_block /mnt/card/
fuse init (API version 7.9)
Using default user mapping


Quote:
About your former errors in unistr.c, I have appended a patch, assuming the errors were caused by a missing <stdlib.h> in your configuration

i have patched the unistr.c with unistr.c.patch03, but unfortunately it didnot work . and in my case there is <stdlib.h>, so i guess the former errors werenot caused by that.

thanks again.
Best wishes!
Lily.


Mon Aug 16, 2010 07:42
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
HI,Jean.
i made a test: i canceled the manager.app before mount, but the ntfs-3g-2010.8.8 still cannot mount. i have patched the result . thanks a lot.
best wishes
Lily


Attachments:
2010.8.8 mount.rar [742 Bytes]
Downloaded 121 times
Mon Aug 16, 2010 08:14
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi Lily,

Quote:
i made a test: i canceled the manager.app before mount, but the ntfs-3g-2010.8.8 still cannot mount.

I cannot draw any conclusion from your post. Can you display the process list and mount information before you try to mount :
Code:
ps -eaf
cat /etc/mtab

Then try to mount, doing a ctrl-C if needed, then display the process list and mount information again.
Do the same with both versions (even if mount fails).

Quote:
i have patched the result

Not clear to me. I asked you to try a patch to unistr.c This was not intended to improve mounting, but to get a clean error-free make. What is useful to know (for you, and users having a similar configuration, in the future), is whether this was really error-free.

Regards

Jean-Pierre


Mon Aug 16, 2010 09:20
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
Hi,

Quote:
Not clear to me. I asked you to try a patch to unistr.c This was not intended to improve mounting, but to get a clean error-free make. What is useful to know (for you, and users having a similar configuration, in the future), is whether this was really error-free.


Mon Aug 16, 2010 13:44
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
sorry for the wrong opertation.

yes, i have pathed the unistr.c ,but the err still comes
unistr.c: In function 'ntfs_ucstombs':
unistr.c:842: error: 'MB_CUR_MAX' undeclared (first use in this function)
unistr.c:842: error: (Each undeclared identifier is reported only once
unistr.c:842: error: for each function it appears in.)
unistr.c:850: warning: implicit declaration of function 'wctomb'
unistr.c: In function 'ntfs_mbstoucs':
unistr.c:970: warning: implicit declaration of function 'mbstowcs'
unistr.c:994: warning: implicit declaration of function 'mbtowc'

it seems that my former err wasnot caused by the <stdlib.h>.
best wishes!


Mon Aug 16, 2010 13:48
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi,

Quote:
yes, i have pathed the unistr.c ,but the err still comes
unistr.c:842: error: 'MB_CUR_MAX' undeclared (first use in this function)
[...]
it seems that my former err wasnot caused by the <stdlib.h>.

Too bad !
The missing declaration were indeed expected from <stdlib.h>, but either you have a specific one, or some define causes the needed declarations to be skipped. Attached is another try to evade the error.

(still waiting for information on mounted devices and running processes before and after you try to mount).

Regards

Jean-Pierre


Attachments:
unistr.c.patch03b.gz [609 Bytes]
Downloaded 136 times
Mon Aug 16, 2010 14:17
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
HI,Jean
Good news, your attached unistr.c.patch03b.gz is ok. thanks a lot.

Quote:
still waiting for information on mounted devices and running processes before and after you try to mount).

i have attatched it . please check!

And I have tested the read/write speeds of a sd card via ntfs-3g and FAT32. It seems that the read/write speeds of ntfs-3g are slower than the kernel fs ( eg. FAT32) . Dose it have relation to the Fuse? Can i improve the ntfs-3g read/write speed? and how?
thanks for your help for these days.
Best wishes!
Lily


Attachments:
mount.rar [7.27 KiB]
Downloaded 126 times
Tue Aug 17, 2010 06:34
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1013
Post Re: NTFS-3G Install on mips
Hi Lily,

Quote:
Good news, your attached unistr.c.patch03b.gz is ok. thanks a lot.

Fine.
Quote:
i have attatched it . please check!

Ok. It did not show what I expected, but I saw that you have no /etc/mtab. This triggered a bug which prevented mounting with ntfs-3g-2010.8.8, and led me to search the cause in a wrong direction.
Attached are a couple of patches fixing that, they are only meaningful with ntfs-3g-2010.8.8 and they will probably not fix the original issue.

The aborted mount displays a message about an unclean file system, which is not shown at the second try :
Quote:
The disk contains an unclean file system (0, 1).
The file system wasn't safely closed on Windows. Fixing.

Can you somehow clean the file system by mounting the device on another system, even doing a chkdsk on Windows, or giving enough time for the transaction log cleaning to complete with ntfs-3g. If you get the same warning at a subsequent mount, there is something wrong there.

Quote:
And I have tested the read/write speeds of a sd card via ntfs-3g and FAT32. It seems that the read/write speeds of ntfs-3g are slower than the kernel fs ( eg. FAT32) . Dose it have relation to the Fuse?

Yes. ntfs-3g is a user-space file system, this means that all requests have to go through interprocess communications. However in most cases this is not apparent because throughput is generally limited by the physical IO speed.
Quote:
Can i improve the ntfs-3g read/write speed? and how?

First of all, what are the order of magnitude you get when reading or writing 10MB with ntfs-3g and with a kernel file system ? It is probably not yet time for optimizing.

Regards

Jean-Pierre


Attachments:
lowntfs-3g.c.patch04.gz [279 Bytes]
Downloaded 128 times
ntfs-3g.c.patch04.gz [274 Bytes]
Downloaded 133 times
Tue Aug 17, 2010 10:14
Profile

Joined: Sat Aug 07, 2010 09:34
Posts: 17
Post Re: NTFS-3G Install on mips
Hi, Jean
*_* Good news !
Quote:
Attached are a couple of patches fixing that, they are only meaningful with ntfs-3g-2010.8.8 and they will probably not fix the original issue.

the ntfs-3g-2010.8.8 is ok in my target board. there is no "Using default user mapping" info.

-_- Bad news......
Quote:
Can you somehow clean the file system by mounting the device on another system, even doing a chkdsk on Windows, or giving enough time for the transaction log cleaning to complete with ntfs-3g.

I used a chkdsk on windows and it turns out my ntfs device is ok. I also find a interesting thing : the first mounting is very fast after formating (in windows ),but next mounting becomes very slow. I think maybe there is a bug in ntfs-3g.

---------first ,formatted th device in windows------------------
/# ntfs-3g /dev/sd_block_card /mnt/card (the first time--very fast)
/# fuse init (API version 7.9)
/#
---------reboot the linux system------------------
/# ntfs-3g /dev/sd_block_card /mnt/card (the first time--very slow again)
/# fuse init (API version 7.9)
/#The disk contains an unclean file system (0, 1).
/#The file system wasn't safely closed on Windows. Fixing.
......a long time.....
.......Ctrl+C......
/# ntfs-3g /dev/sd_block_card /mnt/card (the second time--very fast)

PS: i have tested three different sd cards and the results are the same.

Quote:
what are the order of magnitude you get when reading or writing 10MB with ntfs-3g and with a kernel file system ? It is probably not yet time for optimizing.

when reading a 10MB file, FAT32 (kernel fs) read speed is up to 5M/S but ntfs-3g read speed is about only 3M/S, FAT32 (kernel fs) write speed is up to 500KB/S but ntfs-3g write speed is about only 300KB/S.

And does only the commercial ntfs-3g support the direct io ? ( my Fuse support the direct io).
The speed is my first consideration, do you have some suggestion for speed improving?
Thanks a lot.
Best Wishes!
Lily.


Tue Aug 17, 2010 14:53
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 29 posts ]  Go to page 1, 2  Next


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.