 |
Compile issues using OpenSolaris 0906
Author |
Message |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi, Quote: Version 2009.11.14 external FUSE 27 Mounted /devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0:r (Read-Write, label "", NTFS 3.1) Cmdline options: debug Mount options: silent,allow_other,nonempty,relatime,fsname=/devices/pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0:r Ownership and permissions disabled Congratulations ! You have passed the compile and install steps. ntfs-3g has mounted the volume (with no permission control, because you have not set options for permission control). Quote: jireland@john-1:~/Downloads/ntfs-3g-2009.11.14# cd /mnt unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 2, error: 0 (Error 0), outsize: 112 unique: 3, opcode: ACCESS (34), nodeid: 1, insize: 48 ACCESS / 01 unique: 3, error: -89 (Operation not applicable), outsize: 16 This smells more like a fuse issue than a ntfs-3g issue. Instead of doing "cd /mnt" can you display the ownership and permissions for mnt, then for its contents : Code: ls -ld /mnt ls -l /mnt Regards Jean-Pierre *edit* And I see : Quote: jireland@john-1:~/Downloads/ntfs-3g-2009.11.14# src/ntfs-3g -odebug /dev/dsk/c7d0p1 /mnt >jgi.output So you have not started ntfs-3g as root, hence you are probably not allowed to access /mnt.
|
Fri Dec 18, 2009 13:35 |
|
 |
jgireland
Joined: Mon Dec 14, 2009 12:42 Posts: 33
|
 Re: Compile issues using OpenSolaris 0906
Jean-Pierre
I've installed the compiled image of ntfs-3g-2009.11.14 into OpenSolaris 0906 (build snv 111b) and it works.
I now need to reboot into the latest build to send you the /mnt information.
Your thoughts that it could be a fuse issue maybe correct. I've lodged an Open Solaris bug report.
You previously commented that you were not an Solaris expert, whilst I'm not a Sun employee their maybe people who would welcome talking with you to resolve any outstanding issues. Could you send me an email address to facilitate the introduction.
John
|
Fri Dec 18, 2009 16:58 |
|
 |
jgireland
Joined: Mon Dec 14, 2009 12:42 Posts: 33
|
 Re: Compile issues using OpenSolaris 0906
Jean-Pierre
the command /src/ntfs-3g /dev/dsk/c7d0p1 /mnt was run as root (# rather than $ for normal users is the give away.)
the output as requested from ls -ld /mnt is:
ls -ld /mnt unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 2, error: 0 (Error 0), outsize: 112 unique: 3, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 3, error: 0 (Error 0), outsize: 112 unique: 4, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 4, error: 0 (Error 0), outsize: 112 unique: 5, opcode: GETATTR (3), nodeid: 1, insize: 40 unique: 5, error: 0 (Error 0), outsize: 112 drwxrwxrwx 1 root root 8192 Dec 18 11:50 /mnt
Regards John
PS I'm running the two commands separately as doing ls -l normally instigates the shutdown/panic. J
|
Fri Dec 18, 2009 17:12 |
|
 |
jgireland
Joined: Mon Dec 14, 2009 12:42 Posts: 33
|
 Re: Compile issues using OpenSolaris 0906
As expected ls -l /mnt caused the machine to shutdown.
John
|
Fri Dec 18, 2009 17:19 |
|
 |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi, Quote: drwxrwxrwx 1 root root 8192 Dec 18 11:50 /mnt You've done it ! Quote: As expected ls -l /mnt caused the machine to shutdown. This might be because you use /mnt as a mountpoint. usually /mnt contains mountpoint, and you have disturbed access to other devices. Please create a subdirectory in /mnt (say disk), and mount to /mnt/disk Code: as root : mkdir /mnt/disk <path>/src/ntfs-3g -odebug /dev/dsk/c7d0p1 /mnt/disk Regards Jean-Pierre
|
Fri Dec 18, 2009 17:26 |
|
 |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi, Can you try the attached patch to src/secaudit.c ? Note : you should still get the following warning, which should not harm. Code: secaudit.c:264:2: warning: #warning "The extended attribute package is not available" Regards Jean-Pierre
|
Sat Dec 19, 2009 12:34 |
|
 |
jgireland
Joined: Mon Dec 14, 2009 12:42 Posts: 33
|
 Re: Compile issues using OpenSolaris 0906
Jean-Pierre
Patch applied and ntfs-3g recompiled.
Sorry to advice, the mount point suggestion you described didn't work neither with yesterdays compiled version nor the one with the patch applied. In both cases immediately shutsdown the system.
I've logged a bug with OpenSolaris who are suggesting that fuse needs to be recompiled from source and reinstalled . Would this affect the ntfs-3g?
John
|
Sat Dec 19, 2009 14:52 |
|
 |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi, Quote: Patch applied and ntfs-3g recompiled Very good. And thank you very much for your contribution in porting ntfs-3g to opensolaris. All the needed patches will be integrated in next version. Quote: In both cases immediately shutsdown the system. Just to be sure, can you display the contents of /mnt before trying to mount ntfs-3g ? Quote: I've logged a bug with OpenSolaris who are suggesting that fuse needs to be recompiled from source and reinstalled . Would this affect the ntfs-3g? I agree with the suggestion. The traces you got made me think of some version mismatch between the two parts of fuse. When you recompile, be sure to compile and install both fuse parts (the kernel one and the library one). This should not affect ntfs-3g. I would however recompile it for safety. Regards Jean-Pierre
|
Sat Dec 19, 2009 15:18 |
|
 |
jgireland
Joined: Mon Dec 14, 2009 12:42 Posts: 33
|
 Re: Compile issues using OpenSolaris 0906
Jean-Pierre
I have removed, recompiled and reinstall fuse into the OpenSolaris kernel. The latest build of ntfs-3g-2009.11.14 now works!
It appears that fuse uses features that are incompatible with the development builds of OpenSolaris.
Thank you for your patience in working with me to get the latest update working.
To assist, when you release the next version can the various patches be incorporated?
To you, your colleagues and family I offer Best Wishes for Christmas and enjoy the New Year.
John
|
Sat Dec 19, 2009 16:08 |
|
 |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi again, Quote: Thank you for your patience in working with me to get the latest update working. My pleasure, thank you. Quote: To assist, when you release the next version can the various patches be incorporated? I have released a few days ago a release candidate version with the opensolaris patches I knew at the time (but not all you need). No new release is planned until January. Quote: To you, your colleagues and family I offer Best Wishes for Christmas and enjoy the New Year. Thank you, a merry Christmas and a happy New Year to you also. Regards Jean-Pierre
|
Sat Dec 19, 2009 17:35 |
|
 |
fuzzf
Joined: Wed Dec 16, 2009 08:46 Posts: 5
|
 Re: Compile issues using OpenSolaris 0906
@ jgireland : Thanks for continuing down the trail. I'm away from my OpenSolaris box and can't test any of the new stuff you guys tried.
What's your final experience now that it compiles? It looks like you're still having trouble. All i need is read access to NTFS volumes, does that work?
@ jpa : Thanks for all your technical support help. What's up with OpenSolaris, why is it such a headache? Is it that the FUSE port isn't as mature?? Do you know what's coming down the pike in terms of OpenSolaris NTFS support?
Thanks again.
|
Sun Dec 20, 2009 22:00 |
|
 |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi, Quote: Thanks for all your technical support help. My pleasure to get help to make ntfs-3g available in more situations. Quote: What's up with OpenSolaris, why is it such a headache? Is it that the FUSE port isn't as mature?? Not a real headache, but I was not aware of a few things specific to opensolaris, the major one being the lack of extended attributes (or maybe, just differences in the way to handle them). As a consequence features described in http://www.tuxera.com/community/ntfs-3g ... ttributes/will not be available on opensolaris until somebody makes the necessary adaptations to fuse and ntfs-3g. Regards Jean-Pierre
|
Mon Dec 21, 2009 19:46 |
|
 |
djotanov
Joined: Tue Jan 19, 2010 14:37 Posts: 2
|
 Re: Compile issues using OpenSolaris 0906
Hi, I tried to install the last version of ntfs-3g (2010.1.16) but there are still some rpoblems. I am able to compile without rpoblems but install fails.
This is the output of "make install":
djotanov@disk:~/prg/ntfs-3g-2010.1.16# make install Making install in include Making install in ntfs-3g test -z "/usr/local/include/ntfs-3g" || ../.././install-sh -c -d "/usr/local/include/ntfs-3g" /opt/onbld/bin/i386/install -c -m 644 'acls.h' '/usr/local/include/ntfs-3g/acls.h' /opt/onbld/bin/i386/install: illegal option -- c usage: install [-sd][-m mode][-g group][-u owner] -f dir file ... *** Error code 1 The following command caused the error: list='acls.h attrib.h attrlist.h bitmap.h bootsect.h collate.h compat.h compress.h debug.h device.h device_io.h dir.h efs.h endians.h index.h inode.h layout.h lcnalloc.h logfile.h logging.h mft.h misc.h mst.h ntfstime.h reparse.h runlist.h security.h support.h types.h unistr.h volume.h'; for p in $list; do \ if test -f "$p"; then d=; else d="./"; fi; \ f=`echo $p | sed -e 's|^.*/||'`; \ echo " /opt/onbld/bin/i386/install -c -m 644 '$d$p' '/usr/local/include/ntfs-3g/$f'"; \ /opt/onbld/bin/i386/install -c -m 644 "$d$p" "/usr/local/include/ntfs-3g/$f"; \ done make: Fatal error: Command failed for target `install-ntfs3gincludeHEADERS' Current working directory /export/home/maxim/prg/ntfs-3g-2010.1.16/include/ntfs-3g *** Error code 1 The following command caused the error: make install-exec-am install-data-am make: Fatal error: Command failed for target `install-am' Current working directory /export/home/maxim/prg/ntfs-3g-2010.1.16/include/ntfs-3g *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo install-recursive | sed s/-recursive//`; \ list='ntfs-3g fuse-lite'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `install-recursive' Current working directory /export/home/maxim/prg/ntfs-3g-2010.1.16/include *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo install-recursive | sed s/-recursive//`; \ list='include libfuse-lite libntfs-3g src'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `install-recursive'
Before this, I ran "./configure --prefix=/usr" and "make", as regular user. "make install" was run as root. What could be the problem here?
|
Tue Jan 19, 2010 14:42 |
|
 |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi, Quote: test -z "/usr/local/include/ntfs-3g" || ../.././install-sh -c -d "/usr/local/include/ntfs-3g" /opt/onbld/bin/i386/install -c -m 644 'acls.h' '/usr/local/include/ntfs-3g/acls.h' /opt/onbld/bin/i386/install: illegal option -- c usage: install [-sd][-m mode][-g group][-u owner] -f dir file ... There seems to be something wrong when installing the source headers. Did you make an update of your building environment recently ? in the install manual for Linux, the option -c is mentioned as ignored, it may be different on OpenSolaris. I see on http://marcofalchi.blogspot.com/2010/01 ... laris.html an example of successful compilation and install on OpenSolaris (with a probable old version kept in the shell cache, causing an old version to be called when the full directory is not indicated). Please check the compilation went through : Code: # as root : cd ~/prg/ntfs-3g-2010.1.16 ls -l src/.libs src/ntfs-3g --help If so, try to regenerate the configure : Code: # as a plain user mv configure configure.std ./autogen.sh And retry ./configure, etc. Regards Jean-Pierre
|
Tue Jan 19, 2010 20:23 |
|
 |
djotanov
Joined: Tue Jan 19, 2010 14:37 Posts: 2
|
 Re: Compile issues using OpenSolaris 0906
Thanks, it works now. Thank you for your effort in bringing us the best ntfs driver to opensolaris platform.
|
Thu Jan 21, 2010 12:44 |
|
 |
jgireland
Joined: Mon Dec 14, 2009 12:42 Posts: 33
|
 Re: Compile issues using OpenSolaris 0906
Dear JPA
Thank you for the updated version. I've just recompiled it under OpenSolaris B134 and it works perfectly transferring 65000 files amounting to 6.9 GB.
My only comments are:
1. the documentation does not refer to the need to load and compile pkg-config-0.23 2. the need to recompile fuse 3. gcc complains with a number of warnings - this is the compiler not fuse but ....
These comments are only made to make the adoption of ntfs-3g a simple if a little time consuming matter (it took about 1.5 hours to finally get the whole lot working - not too long for a geek but to long for a company exec. - I fall into both camps.)
Keep up the good work and thanks John
|
Wed Mar 17, 2010 21:13 |
|
 |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi John, Quote: Thank you for the updated version. I've just recompiled it under OpenSolaris B134 and it works perfectly transferring 65000 files amounting to 6.9 GB. Good to hear. Quote: the documentation does not refer to the need to load and compile pkg-config-0.23 ... and it will not, at least until I know what this is about. Quote: the need to recompile fuse This is strange. I am not aware of any change since ntfs-3g-2009.11.14 leading to such requirement. Support for selective time stamp updating requires a fuse update, but this was meant to be checked as a condition for providing the support (or are you just meaning that the fuse version bundled with OpenSolaris is not appropriate, which your reported earlier ?) Quote: gcc complains with a number of warnings - this is the compiler not fuse but ... Do you mean warnings while compiling fuse, or while compiling ntfs-3g ? In this latter situation, can you gzip the warnings and attach them ? Quote: These comments are only made to make the adoption of ntfs-3g a simple if a little time consuming matter I agree this should be the case, but releasing code for not-owned platforms is not an easy task, and I need precise items on which I can act. If you can write a few lines about procedures specific to OpenSolaris, I can include them in the readme file. There had been a release candidate for four weeks. Its main purpose was to collect problem reports before the real release, but I got none related to OpenSolaris. Regards Jean-Pierre
|
Wed Mar 17, 2010 22:44 |
|
 |
jgireland
Joined: Mon Dec 14, 2009 12:42 Posts: 33
|
 Re: Compile issues using OpenSolaris 0906
Jean-Pierre Sorry for the delay in responding and I will send the requested information. All my comments related to ntfs-3g not fusefs There is another issue related to USB attached drives - I'm getting the following error. jireland@john-1:~/Downloads/NTFS-3G/fusefs$ pfexec format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c4d0 <DEFAULT cyl 12826 alt 2 hd 255 sec 63> /pci@0,0/pci-ide@1f,1/ide@0/cmdk@0,0 1. c5t0d0 <drive type unknown> /pci@0,0/pci8086,2448@1e/pci1179,1@6,2/storage@2/disk@0,0 Specify disk (enter its number): ^C jireland@john-1:~/Downloads/NTFS-3G/fusefs$ ntfs-3g /dev/dsk/c5t0d0p1 /C Error opening '/devices/pci@0,0/pci8086,2448@1e/pci1179,1@6,2/storage@2/disk@0,0:r': Permission denied Failed to mount '/devices/pci@0,0/pci8086,2448@1e/pci1179,1@6,2/storage@2/disk@0,0:r': Permission denied Please check '/devices/pci@0,0/pci8086,2448@1e/pci1179,1@6,2/storage@2/disk@0,0:r' and the ntfs-3g binary permissions, and the mounting user ID. More explanation is provided at http://ntfs-3g.org/support.html#unprivilegedjireland@john-1:~/Downloads/NTFS-3G/fusefs$ pfexec ntfs-3g /dev/dsk/c5t0d0p1 /C Error opening '/devices/pci@0,0/pci8086,2448@1e/pci1179,1@6,2/storage@2/disk@0,0:r': I/O error Failed to mount '/devices/pci@0,0/pci8086,2448@1e/pci1179,1@6,2/storage@2/disk@0,0:r': I/O error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details. jireland@john-1:~/Downloads/NTFS-3G/fusefs$ Any ideas? John
|
Fri Mar 26, 2010 18:18 |
|
 |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi John, Quote: All my comments related to ntfs-3g not fusefs So, if you have a bunch of warnings, it might be useful if I have details. Quote: jireland@john-1:~/Downloads/NTFS-3G/fusefs$ pfexec format I guess this is just your method for identifying the physical address.... Quote: jireland@john-1:~/Downloads/NTFS-3G/fusefs$ ntfs-3g /dev/dsk/c5t0d0p1 /C You apparently are not mounting as root, and the first condition mentioned in http://ntfs-3g.org/support.html#unprivileged for mounting as a plain user is probably not met in your situation (as far as I remember, using the internal fuse is not possible on OpenSolaris), so you have no other option. Maybe you have a "sudo" which can be set up to allow mounting/unmounting through a simple command. Regards Jean-Pierre
|
Fri Mar 26, 2010 18:51 |
|
 |
jgireland
Joined: Mon Dec 14, 2009 12:42 Posts: 33
|
 Re: Compile issues using OpenSolaris 0906
Jean Pierre
The command was run with su privileges using the opensolairs equivalent 'pfexec'.
I've reinstalled fusefs, libfuse and ntfs-3g without success as you can see below.
jireland@john-1:~$ pfexec ntfs-3g /dev/dsk/c5t0d0p1 /mnt Error opening '/devices/pci@0,0/pci8086,2448@1e/pci1179,1@6,2/storage@2/disk@0,0:r': I/O error Failed to mount '/devices/pci@0,0/pci8086,2448@1e/pci1179,1@6,2/storage@2/disk@0,0:r': I/O error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details. jireland@john-1:~$
I've rebooted into windows and run chkdsk /f without errors being reported. I can load the XP partition on the main system drive without any difficulty!
The configure and make outputs and compiler warning are given below - there were no for fusefs or libfuse.
jireland@john-1:~/Downloads/NTFS-3G/ntfs-3g-2010.3.6$ pfexec ./configure checking build system type... i386-pc-solaris2.11 checking host system type... i386-pc-solaris2.11 checking target system type... i386-pc-solaris2.11 checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d 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 file name... 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 ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking whether gcc and cc understand -c and -o together... yes checking for a sed that does not truncate output... /usr/bin/gsed checking for grep that handles long lines and -e... /usr/bin/ggrep checking for egrep... /usr/bin/ggrep -E checking for ld used by gcc... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... 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 g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for g77... g77 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... 786240 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... solaris2.11 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no 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 g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.11 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/ccs/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... solaris2.11 ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking for mv... /usr/bin/mv checking for rm... /usr/bin/rm checking for sed... /usr/bin/gsed checking for ldconfig... true checking Windows OS... no checking fuse compatibility... external checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for FUSE_MODULE... 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... 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... no checking mntent.h presence... no checking for mntent.h... no 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... no checking features.h presence... no checking for features.h... no checking endian.h usability... no checking endian.h presence... no checking for endian.h... no checking byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking sys/byteorder.h usability... yes checking sys/byteorder.h presence... yes checking for sys/byteorder.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 checking sys/mkdev.h usability... yes checking sys/mkdev.h presence... yes checking for sys/mkdev.h... yes 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... no checking linux/major.h presence... no checking for linux/major.h... no checking linux/fd.h usability... no checking linux/fd.h presence... no checking for linux/fd.h... no checking linux/hdreg.h usability... no checking linux/hdreg.h presence... no checking for linux/hdreg.h... no 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... yes checking for struct stat.st_atimespec... no checking for library containing getmntent... none required checking whether mbrtowc and mbstate_t are properly declared... yes checking for working memcmp... 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 for utime.h... (cached) yes checking whether utime accepts a null argument... yes checking for vprintf... yes checking for _doprnt... yes 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... yes checking for memmove... yes checking for memset... yes checking for realpath... yes checking for regcomp... yes checking for setlocale... yes checking for setxattr... no 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... yes 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: config.h is unchanged config.status: executing depfiles commands **************************************************************************** * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING * * The FUSE user space binaries were NOT installed with root directory * * executable prefix. This means that automounting NTFS volumes during boot * * could fail. This can be fixed the below way by reinstalling FUSE using * * the right 'configure' option during FUSE compilation: * * ./configure --exec-prefix=/ * * make && sudo make install * * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING * **************************************************************************** You can type now 'make' to build ntfs-3g.
jireland@john-1:~/Downloads/NTFS-3G/ntfs-3g-2010.3.6$ pfexec make make all-recursive Making all in include Making all in ntfs-3g Making all in fuse-lite Making all in libfuse-lite Making all in libntfs-3g Making all in src gcc -DHAVE_CONFIG_H -I. -I.. -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I../include/ntfs-3g -g -O2 -Wall -MT ntfs_3g-ntfs-3g.o -MD -MP -MF .deps/ntfs_3g-ntfs-3g.Tpo -c -o ntfs_3g-ntfs-3g.o `test -f 'ntfs-3g.c' || echo './'`ntfs-3g.c ntfs-3g.c: In function `main': ntfs-3g.c:4214: warning: unused variable `fstype' ntfs-3g.c: At top level: ntfs-3g.c:244: warning: 'restore_privs' defined but not used mv -f .deps/ntfs_3g-ntfs-3g.Tpo .deps/ntfs_3g-ntfs-3g.Po /bin/sh ../libtool --tag=CC --mode=link gcc -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I../include/ntfs-3g -g -O2 -Wall -o ntfs-3g ntfs_3g-ntfs-3g.o -lfuse -lxnet ../libntfs-3g/libntfs-3g.la gcc -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I../include/ntfs-3g -g -O2 -Wall -o .libs/ntfs-3g ntfs_3g-ntfs-3g.o -lfuse -lxnet ../libntfs-3g/.libs/libntfs-3g.so -R/usr/local/lib creating ntfs-3g jireland@john-1:~/Downloads/NTFS-3G/ntfs-3g-2010.3.6$ pfexec make install Making install in include Making install in ntfs-3g test -z "/usr/local/include/ntfs-3g" || ../.././install-sh -c -d "/usr/local/include/ntfs-3g" /usr/bin/ginstall -c -m 644 'acls.h' '/usr/local/include/ntfs-3g/acls.h' /usr/bin/ginstall -c -m 644 'attrib.h' '/usr/local/include/ntfs-3g/attrib.h' /usr/bin/ginstall -c -m 644 'attrlist.h' '/usr/local/include/ntfs-3g/attrlist.h' /usr/bin/ginstall -c -m 644 'bitmap.h' '/usr/local/include/ntfs-3g/bitmap.h' /usr/bin/ginstall -c -m 644 'bootsect.h' '/usr/local/include/ntfs-3g/bootsect.h' /usr/bin/ginstall -c -m 644 'cache.h' '/usr/local/include/ntfs-3g/cache.h' /usr/bin/ginstall -c -m 644 'collate.h' '/usr/local/include/ntfs-3g/collate.h' /usr/bin/ginstall -c -m 644 'compat.h' '/usr/local/include/ntfs-3g/compat.h' /usr/bin/ginstall -c -m 644 'compress.h' '/usr/local/include/ntfs-3g/compress.h' /usr/bin/ginstall -c -m 644 'debug.h' '/usr/local/include/ntfs-3g/debug.h' /usr/bin/ginstall -c -m 644 'device.h' '/usr/local/include/ntfs-3g/device.h' /usr/bin/ginstall -c -m 644 'device_io.h' '/usr/local/include/ntfs-3g/device_io.h' /usr/bin/ginstall -c -m 644 'dir.h' '/usr/local/include/ntfs-3g/dir.h' /usr/bin/ginstall -c -m 644 'efs.h' '/usr/local/include/ntfs-3g/efs.h' /usr/bin/ginstall -c -m 644 'endians.h' '/usr/local/include/ntfs-3g/endians.h' /usr/bin/ginstall -c -m 644 'index.h' '/usr/local/include/ntfs-3g/index.h' /usr/bin/ginstall -c -m 644 'inode.h' '/usr/local/include/ntfs-3g/inode.h' /usr/bin/ginstall -c -m 644 'layout.h' '/usr/local/include/ntfs-3g/layout.h' /usr/bin/ginstall -c -m 644 'lcnalloc.h' '/usr/local/include/ntfs-3g/lcnalloc.h' /usr/bin/ginstall -c -m 644 'logfile.h' '/usr/local/include/ntfs-3g/logfile.h' /usr/bin/ginstall -c -m 644 'logging.h' '/usr/local/include/ntfs-3g/logging.h' /usr/bin/ginstall -c -m 644 'mft.h' '/usr/local/include/ntfs-3g/mft.h' /usr/bin/ginstall -c -m 644 'misc.h' '/usr/local/include/ntfs-3g/misc.h' /usr/bin/ginstall -c -m 644 'mst.h' '/usr/local/include/ntfs-3g/mst.h' /usr/bin/ginstall -c -m 644 'ntfstime.h' '/usr/local/include/ntfs-3g/ntfstime.h' /usr/bin/ginstall -c -m 644 'object_id.h' '/usr/local/include/ntfs-3g/object_id.h' /usr/bin/ginstall -c -m 644 'param.h' '/usr/local/include/ntfs-3g/param.h' /usr/bin/ginstall -c -m 644 'reparse.h' '/usr/local/include/ntfs-3g/reparse.h' /usr/bin/ginstall -c -m 644 'runlist.h' '/usr/local/include/ntfs-3g/runlist.h' /usr/bin/ginstall -c -m 644 'security.h' '/usr/local/include/ntfs-3g/security.h' /usr/bin/ginstall -c -m 644 'support.h' '/usr/local/include/ntfs-3g/support.h' /usr/bin/ginstall -c -m 644 'types.h' '/usr/local/include/ntfs-3g/types.h' /usr/bin/ginstall -c -m 644 'unistr.h' '/usr/local/include/ntfs-3g/unistr.h' /usr/bin/ginstall -c -m 644 'volume.h' '/usr/local/include/ntfs-3g/volume.h' Making install in fuse-lite Making install in libfuse-lite Making install in libntfs-3g test -z "/usr/local/lib" || .././install-sh -c -d "/usr/local/lib" /bin/sh ../libtool --mode=install /usr/bin/ginstall -c 'libntfs-3g.la' '/usr/local/lib/libntfs-3g.la' /usr/bin/ginstall -c .libs/libntfs-3g.so.75.0.0 /usr/local/lib/libntfs-3g.so.75.0.0 (cd /usr/local/lib && { ln -s -f libntfs-3g.so.75.0.0 libntfs-3g.so.75 || { rm -f libntfs-3g.so.75 && ln -s libntfs-3g.so.75.0.0 libntfs-3g.so.75; }; }) (cd /usr/local/lib && { ln -s -f libntfs-3g.so.75.0.0 libntfs-3g.so || { rm -f libntfs-3g.so && ln -s libntfs-3g.so.75.0.0 libntfs-3g.so; }; }) chmod +x /usr/local/lib/libntfs-3g.so.75.0.0 /usr/bin/ginstall -c .libs/libntfs-3g.lai /usr/local/lib/libntfs-3g.la /usr/bin/ginstall -c .libs/libntfs-3g.a /usr/local/lib/libntfs-3g.a chmod 644 /usr/local/lib/libntfs-3g.a ranlib /usr/local/lib/libntfs-3g.a ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - use the `-RLIBDIR' linker flag
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make install-exec-hook test -z "/lib" || .././install-sh -c -d "/lib" if [ ! "/lib" -ef "/usr/local/lib" ]; then \ /usr/bin/mv -f "//usr/local/lib"/libntfs-3g.so* "//lib"; \ fi if [ ! "/lib" -ef "/usr/local/lib" ]; then \ ln -s "/lib/libntfs-3g.so" "//usr/local/lib/libntfs-3g.so"; \ fi test -z "/usr/local/lib/pkgconfig" || .././install-sh -c -d "/usr/local/lib/pkgconfig" /usr/bin/ginstall -c -m 644 'libntfs-3g.pc' '/usr/local/lib/pkgconfig/libntfs-3g.pc' test -z "/lib" || .././install-sh -c -d "/lib" Making install in src test -z "/usr/local/bin" || .././install-sh -c -d "/usr/local/bin" /bin/sh ../libtool --mode=install /usr/bin/ginstall -c 'ntfs-3g.probe' '/usr/local/bin/ntfs-3g.probe' /usr/bin/ginstall -c .libs/ntfs-3g.probe /usr/local/bin/ntfs-3g.probe /bin/sh ../libtool --mode=install /usr/bin/ginstall -c 'ntfs-3g.usermap' '/usr/local/bin/ntfs-3g.usermap' /usr/bin/ginstall -c .libs/ntfs-3g.usermap /usr/local/bin/ntfs-3g.usermap /bin/sh ../libtool --mode=install /usr/bin/ginstall -c 'ntfs-3g.secaudit' '/usr/local/bin/ntfs-3g.secaudit' /usr/bin/ginstall -c .libs/ntfs-3g.secaudit /usr/local/bin/ntfs-3g.secaudit make install-exec-hook true test -z "/usr/local/share/man/man8" || .././install-sh -c -d "/usr/local/share/man/man8" /usr/bin/ginstall -c -m 644 './ntfs-3g.8' '/usr/local/share/man/man8/ntfs-3g.8' /usr/bin/ginstall -c -m 644 './ntfs-3g.probe.8' '/usr/local/share/man/man8/ntfs-3g.probe.8' /usr/bin/ginstall -c -m 644 './ntfs-3g.usermap.8' '/usr/local/share/man/man8/ntfs-3g.usermap.8' /usr/bin/ginstall -c -m 644 './ntfs-3g.secaudit.8' '/usr/local/share/man/man8/ntfs-3g.secaudit.8' ln -s -f ntfs-3g.8 "/usr/local/share/man/man8/mount.ntfs-3g.8" test -z "/bin" || .././install-sh -c -d "/bin" /bin/sh ../libtool --mode=install /usr/bin/ginstall -c 'ntfs-3g' '/bin/ntfs-3g' /usr/bin/ginstall -c .libs/ntfs-3g /bin/ntfs-3g test -z "/sbin" || .././install-sh -c -d "/sbin" test -z "/usr/local/share/doc/ntfs-3g" || ./install-sh -c -d "/usr/local/share/doc/ntfs-3g" /usr/bin/ginstall -c -m 644 'README' '/usr/local/share/doc/ntfs-3g/README' jireland@john-1:~/Downloads/NTFS-3G/ntfs-3g-2010.3.6$
|
Fri Mar 26, 2010 19:34 |
|
 |
jpa
NTFS-3G Lead Developer
Joined: Tue Sep 04, 2007 17:22 Posts: 1286
|
 Re: Compile issues using OpenSolaris 0906
Hi John, Quote: jireland@john-1:~$ pfexec ntfs-3g /dev/dsk/c5t0d0p1 /mnt Error opening '/devices/pci@0,0/pci8086,2448@1e/pci1179,1@6,2/storage@2/disk@0,0:r': I/O error This looks like an error in the low-level io. Are you able to read FAT-formatted devices ? Can you extract the ntfs boot sector : Code: (may have to be adapted) pfexec dd if=/dev/dsk/c5t0d0p1 of=<somefile> bs=512 count=1 Quote: The configure and make outputs and compiler warning are given below - there were no for fusefs or libfuse. Thanks. These are minor warnings, I will try to avoid them. Regards Jean-Pierre
|
Sat Mar 27, 2010 10:36 |
|
 |
jgireland
Joined: Mon Dec 14, 2009 12:42 Posts: 33
|
 Re: Compile issues using OpenSolaris 0906
Dear Jean-Pierre
Thank you for the advice - I agree that it looks like a low level io issue. The dd command confirms this suggested diagnosis and a bug report will be lodged with OpenSolaris.
John
|
Sat Mar 27, 2010 21:17 |
|
|
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
|
|
 |