FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sun Nov 29, 2020 00:41



Post new topic Reply to topic  [ 47 posts ]  Go to page 1, 2  Next
Compile issues using OpenSolaris 0906 
Author Message

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Compile issues using OpenSolaris 0906
Sorry to advise 3 issues whilst attempting to compile ntfs-3g on Open Solaris x86 version 0906

1. Doesn't recognise existence of Sun Studio compiler suite (minor)
2. pkg-config is installed in /usr/local not /usr/gnu - this causes configure to fall over (minor niggle to resolve).
3. make falls over with the following error messages (even when run as su!).

Advice please.
John

****************************************************************************
You can type now 'make' to build ntfs-3g.
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$ make
make all-recursive
make[1]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
Making all in include
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in ntfs-3g
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
Making all in fuse-lite
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in libfuse-lite
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
Making all in libntfs-3g
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
acls.c: In function `buildacls':
acls.c:2249: error: `S_IXUSR' undeclared (first use in this function)
acls.c:2249: error: (Each undeclared identifier is reported only once
acls.c:2249: error: for each function it appears in.)
acls.c:2251: error: `S_IWUSR' undeclared (first use in this function)
acls.c:2253: error: `S_IRUSR' undeclared (first use in this function)
acls.c:2275: error: `S_IXGRP' undeclared (first use in this function)
acls.c:2275: error: `S_IXOTH' undeclared (first use in this function)
acls.c:2277: error: `S_IWGRP' undeclared (first use in this function)
acls.c:2277: error: `S_IWOTH' undeclared (first use in this function)
acls.c:2279: error: `S_IRGRP' undeclared (first use in this function)
acls.c:2279: error: `S_IROTH' undeclared (first use in this function)
acls.c:2486: error: `S_ISVTX' undeclared (first use in this function)
acls.c:2486: error: `S_ISGID' undeclared (first use in this function)
acls.c:2486: error: `S_ISUID' undeclared (first use in this function)
acls.c: In function `merge_permissions':
acls.c:2717: error: `S_IXUSR' undeclared (first use in this function)
acls.c:2720: error: `S_IWUSR' undeclared (first use in this function)
acls.c:2723: error: `S_IRUSR' undeclared (first use in this function)
acls.c:2741: error: `S_IXGRP' undeclared (first use in this function)
acls.c:2744: error: `S_IWGRP' undeclared (first use in this function)
acls.c:2747: error: `S_IRGRP' undeclared (first use in this function)
acls.c:2765: error: `S_IXOTH' undeclared (first use in this function)
acls.c:2768: error: `S_IWOTH' undeclared (first use in this function)
acls.c:2771: error: `S_IROTH' undeclared (first use in this function)
acls.c:2787: error: `S_ISUID' undeclared (first use in this function)
acls.c:2789: error: `S_ISGID' undeclared (first use in this function)
acls.c:2791: error: `S_ISVTX' undeclared (first use in this function)
acls.c: At top level:
acls.c:200: fatal error: opening dependency file .deps/libntfs_3g_la-acls.Tpo: Permission denied
compilation terminated.
make[2]: *** [libntfs_3g_la-acls.lo] Error 1
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
make: *** [all] Error 2
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$ pfexec make
make all-recursive
make[1]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
Making all in include
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in ntfs-3g
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
Making all in fuse-lite
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in libfuse-lite
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
Making all in libntfs-3g
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
acls.c: In function `buildacls':
acls.c:2249: error: `S_IXUSR' undeclared (first use in this function)
acls.c:2249: error: (Each undeclared identifier is reported only once
acls.c:2249: error: for each function it appears in.)
acls.c:2251: error: `S_IWUSR' undeclared (first use in this function)
acls.c:2253: error: `S_IRUSR' undeclared (first use in this function)
acls.c:2275: error: `S_IXGRP' undeclared (first use in this function)
acls.c:2275: error: `S_IXOTH' undeclared (first use in this function)
acls.c:2277: error: `S_IWGRP' undeclared (first use in this function)
acls.c:2277: error: `S_IWOTH' undeclared (first use in this function)
acls.c:2279: error: `S_IRGRP' undeclared (first use in this function)
acls.c:2279: error: `S_IROTH' undeclared (first use in this function)
acls.c:2486: error: `S_ISVTX' undeclared (first use in this function)
acls.c:2486: error: `S_ISGID' undeclared (first use in this function)
acls.c:2486: error: `S_ISUID' undeclared (first use in this function)
acls.c: In function `merge_permissions':
acls.c:2717: error: `S_IXUSR' undeclared (first use in this function)
acls.c:2720: error: `S_IWUSR' undeclared (first use in this function)
acls.c:2723: error: `S_IRUSR' undeclared (first use in this function)
acls.c:2741: error: `S_IXGRP' undeclared (first use in this function)
acls.c:2744: error: `S_IWGRP' undeclared (first use in this function)
acls.c:2747: error: `S_IRGRP' undeclared (first use in this function)
acls.c:2765: error: `S_IXOTH' undeclared (first use in this function)
acls.c:2768: error: `S_IWOTH' undeclared (first use in this function)
acls.c:2771: error: `S_IROTH' undeclared (first use in this function)
acls.c:2787: error: `S_ISUID' undeclared (first use in this function)
acls.c:2789: error: `S_ISGID' undeclared (first use in this function)
acls.c:2791: error: `S_ISVTX' undeclared (first use in this function)
make[2]: *** [libntfs_3g_la-acls.lo] Error 1
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
make: *** [all] Error 2
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$


Mon Dec 14, 2009 12:54
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Compile issues using OpenSolaris 0906
Hi,

Quote:
1. Doesn't recognise existence of Sun Studio compiler suite (minor)

I think it has been reported before that compiling with some Solaris compiler fails, but, to my knowledge, this has not been solved.
In http://pagesperso-orange.fr/b.andre/tools.zip
there is a small program "compiler.c" which make a few checks on the compiler behavior. It might give indications about what is wrong with your compiler. If so please report.
Quote:
2. pkg-config is installed in /usr/local not /usr/gnu - this causes configure to fall over (minor niggle to resolve).

If you know how to fix that, please post.
Quote:
3. make falls over with the following error messages (even when run as su!).

Please try the attached patch.

Regards

Jean-Pierre


Attachments:
acls.patch.gz [206 Bytes]
Downloaded 1185 times
Mon Dec 14, 2009 18:35
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Jean-Pierre,

To which file do I apply the patch?

John


Tue Dec 15, 2009 17:29
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Compile issues using OpenSolaris 0906
Hi,

Quote:
To which file do I apply the patch?

To libntfs-3g/acls.c (with libntfs-3g in the same directory as configure).

Regards

Jean-Pierre


Tue Dec 15, 2009 18:35
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Jean-Pierre,

Thanks.

Using the gnu compiler to rebuild pkg-config and ntfs-3g the following error messages result. As you will see I've run make as both a normal user and as su.

John



You can type now 'make' to build ntfs-3g.
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$ make
make all-recursive
make[1]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
Making all in include
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in ntfs-3g
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
Making all in fuse-lite
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in libfuse-lite
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
Making all in libntfs-3g
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
acls.c: In function `ntfs_build_permissions':
acls.c:2970: warning: 'offace' might be used uninitialized in this function
acls.c:3056: warning: 'offace' might be used uninitialized in this function
acls.c:3240: warning: 'offace' might be used uninitialized in this function
acls.c: At top level:
acls.c:4100: fatal error: opening dependency file .deps/libntfs_3g_la-acls.Tpo: Permission denied
compilation terminated.
make[2]: *** [libntfs_3g_la-acls.lo] Error 1
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
make: *** [all] Error 2
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$ su
Password:
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14# 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
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
acls.c: In function `ntfs_build_permissions':
acls.c:2970: warning: 'offace' might be used uninitialized in this function
acls.c:3056: warning: 'offace' might be used uninitialized in this function
acls.c:3240: warning: 'offace' might be used uninitialized in this function
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
attrib.c: In function `ntfs_attr_make_non_resident':
attrib.c:4207: error: `INT_MAX' undeclared (first use in this function)
attrib.c:4207: error: (Each undeclared identifier is reported only once
attrib.c:4207: error: for each function it appears in.)
attrib.c: In function `ntfs_attr_update_mapping_pairs_i':
attrib.c:5058: error: `INT_MAX' undeclared (first use in this function)
*** Error code 1
make: Fatal error: Command failed for target `libntfs_3g_la-attrib.lo'
Current working directory /export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-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 all-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 `all-recursive'
Current working directory /export/home/jireland/Downloads/ntfs-3g-2009.11.14
*** Error code 1
make: Fatal error: Command failed for target `all'


Tue Dec 15, 2009 19:12
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Compile issues using OpenSolaris 0906
Hi again,

Quote:
I've run make as both a normal user and as su.

You should run make as a normal user only. Running as root creates files owned by root which prevent from doing a subsequent make as a normal user (you have however to install as root).

Quote:
acls.c:2970: warning: 'offace' might be used uninitialized in this function
acls.c:3056: warning: 'offace' might be used uninitialized in this function
acls.c:3240: warning: 'offace' might be used uninitialized in this function

Actually this is not possible due to other conditions. I will fix this for later versions. For now, just ignore this (does my gcc analyze deeper in order to not display unneeded warnings ?)

Quote:
acls.c:4100: fatal error: opening dependency file .deps/libntfs_3g_la-acls.Tpo: Permission denied

I suspect this is caused by a previous make as root. Confirmed by your subsequent success as root. Try a "make clean" as root to go back to an initial valid state.
Quote:
attrib.c:4207: error: `INT_MAX' undeclared (first use in this function)

Ok. Can you apply the attached patch (to libntfs-3g/attrib.c) ?

*edit*

I have also attached a similar patch for libntfs-3g/mft.c

Regards

Jean-Pierre


Attachments:
mft.patch.gz [206 Bytes]
Downloaded 1147 times
attrib.patch.gz [210 Bytes]
Downloaded 1106 times
Tue Dec 15, 2009 19:57
Profile

Joined: Wed Dec 16, 2009 08:46
Posts: 5
Post Re: Compile issues using OpenSolaris 0906
Hi there,

I was having the exact same problem as the original poster and your patches fixed them, but I'm now running into another undeclared symbol

Code:
efs.c: In function `ntfs_set_efs_info':
efs.c:162: error: `XATTR_REPLACE' undeclared (first use in this function)
efs.c:162: error: (Each undeclared identifier is reported only once
efs.c:162: error: for each function it appears in.)
make[2]: *** [libntfs_3g_la-efs.lo] Error 1

To the original poster:

I was also having the Permission Denied problem on .deps/libntfs-3g_la-acls.Tpo but found that a "make clean" as root or normal user wasn't enough.

I deleted the source, re-extracted the tarball, applied the above patches, and then ran ./configure and make as normal user.

for the record, I'm running OpenSolaris 2009.06 and am trying to compile ntfs-3g-2009-11-14


Wed Dec 16, 2009 09:01
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Jean-Pierre,

Good Morning, applied the supplied patches but sorry to report make failed. make clean was run before attempting the build. Patches only added to the libntfs-3g files. Error report given below.

John

You can type now 'make' to build ntfs-3g.
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$ make
make all-recursive
make[1]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
Making all in include
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in ntfs-3g
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
Making all in fuse-lite
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in libfuse-lite
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
Making all in libntfs-3g
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
acls.c: In function `ntfs_build_permissions':
acls.c:2970: warning: 'offace' might be used uninitialized in this function
acls.c:3056: warning: 'offace' might be used uninitialized in this function
acls.c:3240: warning: 'offace' might be used uninitialized in this function
acls.c: At top level:
acls.c:4100: fatal error: opening dependency file .deps/libntfs_3g_la-acls.Tpo: Permission denied
compilation terminated.
make[2]: *** [libntfs_3g_la-acls.lo] Error 1
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
make: *** [all] Error 2
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$


Wed Dec 16, 2009 13:35
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Compile issues using OpenSolaris 0906
Hi,

Quote:
acls.c:4100: fatal error: opening dependency file .deps/libntfs_3g_la-acls.Tpo: Permission denied
compilation terminated.


Did you "make clean" as root ?
.deps/libntfs_3g_la-acls.Tpo is a file created in the make process. It must have been made while doing a plain "make" as root.

Regards

Jean-Pierre


Wed Dec 16, 2009 14:13
Profile

Joined: Wed Dec 16, 2009 08:46
Posts: 5
Post Re: Compile issues using OpenSolaris 0906
Hi There,

@JPA: I was having the same issues as the original poster and the patches you posted helped, but I now have another 'undeclared symbol' problem.

efs.c: In function `ntfs_set_efs_info':
efs.c:162: error: `XATTR_REPLACE' undeclared (first use in this function)
efs.c:162: error: (Each undeclared identifier is reported only once
efs.c:162: error: for each function it appears in.)

Got any more patches up your sleeve? :)

@jgireland: I had the same "Permission Denied" problem on the same file. Doing "make clean" as root and normal user did not solve the problem. I deleted the entire folder and started fresh from the tarball, reapplied the patches, and then rebuilt as normal user as suggested and that fixed it.

Hope that helps you.


Wed Dec 16, 2009 21:20
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Compile issues using OpenSolaris 0906
Hi,

Quote:
efs.c: In function `ntfs_set_efs_info':
efs.c:162: error: `XATTR_REPLACE' undeclared (first use in this function)
efs.c:162: error: (Each undeclared identifier is reported only once
efs.c:162: error: for each function it appears in.)

Got any more patches up your sleeve? :)


This could be an unpleasant one. Solaris is known to use extended attributes, but apparently using a different interface. What with opensolaris ? And is the Solaris interface for extended attributes supported by fuse ?

This could well mean that the only quick patch I can provide is to skip all the extended attributes related features, unless somebody can provide information on opensolaris implementation... and contribute to the development and tests.

I will provide patches for skipping these features later.

Regards

Jean-Pierre


Wed Dec 16, 2009 22:47
Profile

Joined: Wed Dec 16, 2009 08:46
Posts: 5
Post Re: Compile issues using OpenSolaris 0906
Well, we appreciate the work you've done so far, and of course anything you could do would be awesome, but I'm afraid the questions you asked are way out of my league.

I'm brand new to OpenSolaris and know nothing about it's internals or FUSE.

What are the consequences of removing extended attribute support? Others online have ntfs-3g compiling at working, how did they do it? Has something big changed in the latest release??

I hope the Sun OpenSolaris team provides good support to the ntfs-3g team.
I know OpSol is not Linux, but robust NTFS support comes standard in most Linux distributions these days, and it's a shame OpenSolaris lags in this regard.

I'm transferring 100's of gigs of NTFS backups to ZFS by connecting the drive to a Windows box as an USB-HD and sending the data to a CIFS share (via lan). It is painfully slow (7MB/s), and I would really like to mount the NTFS disk in my OpSol box and transfer it to a ZFS volume directly.


Wed Dec 16, 2009 23:24
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Compile issues using OpenSolaris 0906
Hi,

Quote:
What are the consequences of removing extended attribute support? Others online have ntfs-3g compiling at working, how did they do it? Has something big changed in the latest release??

Roughly speaking, with no extended attribute support, you will just be deprived of the features described on
http://www.tuxera.com/community/ntfs-3g ... ttributes/

But I am not resigning yet. I found that the extended attribute functions are mentioned on http://72.5.123.5/jive/thread.jspa?thre ... tstart=165 which seems to relate to opensolaris.

Does the following display something ?
Code:
grep getxattr -r /usr/include


Quote:
I'm transferring 100's of gigs of NTFS backups to ZFS by connecting the drive to a Windows box as an USB-HD and sending the data to a CIFS share (via lan). It is painfully slow (7MB/s), and I would really like to mount the NTFS disk in my OpSol box and transfer it to a ZFS volume directly.

There is no need of extended attributes for that, and skipping them may be the only thing I can do with limited help.

Regards

Jean-Pierre


Wed Dec 16, 2009 23:40
Profile

Joined: Wed Dec 16, 2009 08:46
Posts: 5
Post Re: Compile issues using OpenSolaris 0906
Well thanks again for the effort.

here's the output for the command "grep getxattr -r /usr/include"

Code:
/usr/include/nfs/nfs_acl.h:extern void acl2_getxattrdir(GETXATTRDIR2args *, GETXATTRDIR2res *,
/usr/include/nfs/nfs_acl.h:extern void *acl2_getxattrdir_getfh(GETXATTRDIR2args *);
/usr/include/nfs/nfs_acl.h:extern void acl3_getxattrdir(GETXATTRDIR3args *, GETXATTRDIR3res *,
/usr/include/nfs/nfs_acl.h:extern void *acl3_getxattrdir_getfh(GETXATTRDIR3args *);
/usr/include/nfs/nfs_acl.h:extern int acl_getxattrdir2(vnode_t *, vnode_t **, bool_t, cred_t *, int);
/usr/include/nfs/nfs_acl.h:extern int acl_getxattrdir3(vnode_t *, vnode_t **, bool_t, cred_t *, int);
grep: warning: /usr/include/gphoto2/gphoto2: recursive directory loop

/usr/include/rpcsvc/nfs_acl.h:extern  GETXATTRDIR2res * aclproc2_getxattrdir_2(GETXATTRDIR2args *, CLIENT *);
/usr/include/rpcsvc/nfs_acl.h:extern  GETXATTRDIR2res * aclproc2_getxattrdir_2_svc(GETXATTRDIR2args *, struct svc_req *);
/usr/include/rpcsvc/nfs_acl.h:extern  GETXATTRDIR2res * aclproc2_getxattrdir_2();
/usr/include/rpcsvc/nfs_acl.h:extern  GETXATTRDIR2res * aclproc2_getxattrdir_2_svc();
/usr/include/rpcsvc/nfs_acl.h:extern  GETXATTRDIR3res * aclproc3_getxattrdir_3(GETXATTRDIR3args *, CLIENT *);
/usr/include/rpcsvc/nfs_acl.h:extern  GETXATTRDIR3res * aclproc3_getxattrdir_3_svc(GETXATTRDIR3args *, struct svc_req *);
/usr/include/rpcsvc/nfs_acl.h:extern  GETXATTRDIR3res * aclproc3_getxattrdir_3();
/usr/include/rpcsvc/nfs_acl.h:extern  GETXATTRDIR3res * aclproc3_getxattrdir_3_svc();
/usr/include/fuse/fuse.h:    int (*getxattr) (const char *, const char *, char *, size_t);
/usr/include/fuse/fuse.h:int fuse_fs_getxattr(struct fuse_fs *fs, const char *path, const char *name,
/usr/include/fuse/fuse_lowlevel.h:    void (*getxattr) (fuse_req_t req, fuse_ino_t ino, const char *name,
/usr/include/fuse/fuse_lowlevel.h: *   read, readdir, getxattr, listxattr
/usr/include/fuse/fuse_lowlevel.h: *   read, readdir, getxattr, listxattr
/usr/include/fuse/fuse_lowlevel.h: *   getxattr, listxattr
/usr/include/fuse/fuse_compat.h:    int (*getxattr) (const char *, const char *, char *, size_t);
/usr/include/fuse/fuse_compat.h:    int (*getxattr) (const char *, const char *, char *, size_t);
/usr/include/fuse/fuse_compat.h:    int (*getxattr)    (const char *, const char *, char *, size_t);
/usr/include/fuse/fuse_lowlevel_compat.h:    void (*getxattr) (fuse_req_t req, fuse_ino_t ino, const char *name,
/usr/include/fuse/fuse_lowlevel_compat.h:    void (*getxattr) (fuse_req_t req, fuse_ino_t ino, const char *name,


Wed Dec 16, 2009 23:52
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Compile issues using OpenSolaris 0906
Hi,

Quote:
here's the output for the command "grep getxattr -r /usr/include"

Thank you. Alas, what I was looking for is not there.

Attached is a temporary patch to avoid disturbance (patch to include/ntfs-3g/misc.h). It is probably not enough, but you should be able to get further in the compilation process.

Regards

Jean-Pierre


Attachments:
misc.patch.gz [291 Bytes]
Downloaded 1094 times
Thu Dec 17, 2009 11:52
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
To Fuzzf

I've successfully used ntfs-3g-2009.04.04 with opensolaris 0906 being able to find the dual boot partition as well as load external USB disk drives.

Thanks for your comment regarding starting from scratch, I'll do the same.

John


Thu Dec 17, 2009 14:47
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Jean-Pierre

Having deleted all un-tarred files and reinstalled from the tarball and added the 4 patches the compile process proceeded much further but still collapsed. Below is the screen output.

You can type now 'make' to build ntfs-3g.
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$ make
make all-recursive
make[1]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
Making all in include
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in ntfs-3g
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
Making all in fuse-lite
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in libfuse-lite
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
Making all in libntfs-3g
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
acls.c: In function `ntfs_build_permissions':
acls.c:2970: warning: 'offace' might be used uninitialized in this function
acls.c:3056: warning: 'offace' might be used uninitialized in this function
acls.c:3240: warning: 'offace' might be used uninitialized in this function
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
attrib.c: In function `ntfs_attr_pclose':
attrib.c:1753: warning: 'written' might be used uninitialized in this function
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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 gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -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
security.c: In function `groupmember':
security.c:1237: warning: unsigned int format, pid_t arg (arg 3)
security.c:1237: warning: unsigned int format, pid_t arg (arg 4)
security.c: In function `ntfs_get_owner_mode':
security.c:2336: error: dereferencing pointer to incomplete type
security.c:2337: error: dereferencing pointer to incomplete type
security.c:2338: error: dereferencing pointer to incomplete type
security.c:2338: error: dereferencing pointer to incomplete type
security.c:2382: error: dereferencing pointer to incomplete type
security.c:2393: error: dereferencing pointer to incomplete type
security.c:2394: error: dereferencing pointer to incomplete type
security.c:2395: error: dereferencing pointer to incomplete type
security.c:2401: error: dereferencing pointer to incomplete type
security.c:2402: error: dereferencing pointer to incomplete type
security.c: In function `ntfs_set_owner_mode':
security.c:2802: error: `S_IWUSR' undeclared (first use in this function)
security.c:2802: error: (Each undeclared identifier is reported only once
security.c:2802: error: for each function it appears in.)
security.c: In function `ntfs_set_mode':
security.c:3162: error: `S_ISGID' undeclared (first use in this function)
security.c: In function `ntfs_allowed_access':
security.c:3282: error: storage size of 'stbuf' isn't known
security.c:3295: error: `S_IEXEC' undeclared (first use in this function)
security.c:3304: error: `S_IXUSR' undeclared (first use in this function)
security.c:3304: error: `S_IXGRP' undeclared (first use in this function)
security.c:3304: error: `S_IXOTH' undeclared (first use in this function)
security.c:3306: error: `S_IWRITE' undeclared (first use in this function)
security.c:3307: error: `S_IWUSR' undeclared (first use in this function)
security.c:3307: error: `S_IWGRP' undeclared (first use in this function)
security.c:3307: error: `S_IWOTH' undeclared (first use in this function)
security.c:3313: error: `S_IREAD' undeclared (first use in this function)
security.c:3314: error: `S_IRUSR' undeclared (first use in this function)
security.c:3314: error: `S_IRGRP' undeclared (first use in this function)
security.c:3314: error: `S_IROTH' undeclared (first use in this function)
security.c:3324: error: `S_ISVTX' undeclared (first use in this function)
security.c:3282: warning: unused variable `stbuf'
security.c: In function `ntfs_allowed_dir_access':
security.c:3368: error: storage size of 'stbuf' isn't known
security.c:3390: error: `S_IWRITE' undeclared (first use in this function)
security.c:3390: error: `S_IEXEC' undeclared (first use in this function)
security.c:3390: error: `S_ISVTX' undeclared (first use in this function)
security.c:3368: warning: unused variable `stbuf'
make[2]: *** [libntfs_3g_la-security.lo] Error 1
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
make: *** [all] Error 2
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$


John.


Thu Dec 17, 2009 19:06
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Jean-Pierre

The comparable output from my machine. hope this helps

jireland@john-1:~$ grep getxattr -r /usr/include
grep: warning: /usr/include/gphoto2/gphoto2: recursive directory loop

/usr/include/fuse/fuse_lowlevel.h: void (*getxattr) (fuse_req_t req, fuse_ino_t ino, const char *name,
/usr/include/fuse/fuse_lowlevel.h: * read, readdir, getxattr, listxattr
/usr/include/fuse/fuse_lowlevel.h: * read, readdir, getxattr, listxattr
/usr/include/fuse/fuse_lowlevel.h: * getxattr, listxattr
/usr/include/fuse/fuse_compat.h: int (*getxattr) (const char *, const char *, char *, size_t);
/usr/include/fuse/fuse_compat.h: int (*getxattr) (const char *, const char *, char *, size_t);
/usr/include/fuse/fuse_compat.h: int (*getxattr) (const char *, const char *, char *, size_t);
/usr/include/fuse/fuse_lowlevel_compat.h: void (*getxattr) (fuse_req_t req, fuse_ino_t ino, const char *name,
/usr/include/fuse/fuse_lowlevel_compat.h: void (*getxattr) (fuse_req_t req, fuse_ino_t ino, const char *name,
/usr/include/fuse/fuse.h: int (*getxattr) (const char *, const char *, char *, size_t);
/usr/include/fuse/fuse.h:int fuse_fs_getxattr(struct fuse_fs *fs, const char *path, const char *name,
/usr/include/nfs/nfs_acl.h:extern void acl2_getxattrdir(GETXATTRDIR2args *, GETXATTRDIR2res *,
/usr/include/nfs/nfs_acl.h:extern void *acl2_getxattrdir_getfh(GETXATTRDIR2args *);
/usr/include/nfs/nfs_acl.h:extern void acl3_getxattrdir(GETXATTRDIR3args *, GETXATTRDIR3res *,
/usr/include/nfs/nfs_acl.h:extern void *acl3_getxattrdir_getfh(GETXATTRDIR3args *);
/usr/include/nfs/nfs_acl.h:extern int acl_getxattrdir2(vnode_t *, vnode_t **, bool_t, cred_t *, int);
/usr/include/nfs/nfs_acl.h:extern int acl_getxattrdir3(vnode_t *, vnode_t **, bool_t, cred_t *, int);
/usr/include/rpcsvc/nfs_acl.h:extern GETXATTRDIR2res * aclproc2_getxattrdir_2(GETXATTRDIR2args *, CLIENT *);
/usr/include/rpcsvc/nfs_acl.h:extern GETXATTRDIR2res * aclproc2_getxattrdir_2_svc(GETXATTRDIR2args *, struct svc_req *);
/usr/include/rpcsvc/nfs_acl.h:extern GETXATTRDIR2res * aclproc2_getxattrdir_2();
/usr/include/rpcsvc/nfs_acl.h:extern GETXATTRDIR2res * aclproc2_getxattrdir_2_svc();
/usr/include/rpcsvc/nfs_acl.h:extern GETXATTRDIR3res * aclproc3_getxattrdir_3(GETXATTRDIR3args *, CLIENT *);
/usr/include/rpcsvc/nfs_acl.h:extern GETXATTRDIR3res * aclproc3_getxattrdir_3_svc(GETXATTRDIR3args *, struct svc_req *);
/usr/include/rpcsvc/nfs_acl.h:extern GETXATTRDIR3res * aclproc3_getxattrdir_3();
/usr/include/rpcsvc/nfs_acl.h:extern GETXATTRDIR3res * aclproc3_getxattrdir_3_svc();


Thu Dec 17, 2009 19:10
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Compile issues using OpenSolaris 0906
Hi,

Quote:
Having deleted all un-tarred files and reinstalled from the tarball and added the 4 patches the compile process proceeded much further but still collapsed. Below is the screen output.

There was a tremendous progress this time !

Quote:
security.c:1237: warning: unsigned int format, pid_t arg (arg 3)
security.c:1237: warning: unsigned int format, pid_t arg (arg 4)

You can ignore these for now. I will fix them in a later version.

Quote:
security.c:2336: error: dereferencing pointer to incomplete type
[...]
security.c:2802: error: `S_IWUSR' undeclared (first use in this function)

Same reason as seen previously (different nesting of include files on opensolaris). The attached patch to libntfs-3g/security.c should fix this.

Regards

Jean-Pierre

*edit*

Quote:
The comparable output from my machine. hope this helps
jireland@john-1:~$ grep getxattr -r /usr/include

Not much useful. I will need help from an opensolaris developer to make use of extended attributes or an equivalent concept if any.


Attachments:
security.patch.gz [220 Bytes]
Downloaded 1202 times
Thu Dec 17, 2009 19:59
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Jean-Pierre

The next error report, only the last few lines this time.

John

gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -Wall -MT ntfs_3g_secaudit-secaudit.o -MD -MP -MF .deps/ntfs_3g_secaudit-secaudit.Tpo -c -o ntfs_3g_secaudit-secaudit.o `test -f 'secaudit.c' || echo './'`secaudit.c
secaudit.c:237:20: endian.h: No such file or directory
In file included from secaudit.c:255:
../config.h:316:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/stdio.h:37,
from secaudit.c:196:
/usr/include/sys/feature_tests.h:209:1: warning: this is the location of the previous definition
secaudit.c:264:2: warning: #warning "The extended attribute package is not available"
secaudit.c: In function `dorestore':
secaudit.c:2657: warning: 'err' might be used uninitialized in this function
secaudit.c: In function `setfull':
secaudit.c:4332: warning: 'err' might be used uninitialized in this function
make[2]: *** [ntfs_3g_secaudit-secaudit.o] Error 1
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
make: *** [all] Error 2
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$


Thu Dec 17, 2009 21:34
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Compile issues using OpenSolaris 0906
Hi,

Quote:
The next error report, only the last few lines this time.

secaudit.o `test -f 'secaudit.c' || echo './'`secaudit.c
secaudit.c:237:20: endian.h: No such file or directory
In file included from secaudit.c:255:
../config.h:316:1: warning: "_FILE_OFFSET_BITS" redefined
[...]

This is going to be more complex, but it is not urgent, this is a side tool. I suggest you cancel the file altogether until next version. Just replace the full file by :

Code:
main(int argc, char *argv[])
{
return (0);
}


(I am not to provide a patch !)

And if you get something similar in usermap.c, do the same (but post the report, so that I can fix for next version).

You are nearing the end of the compilation process. Fingers crossed !

Regards

Jean-Pierre


Thu Dec 17, 2009 22:34
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Jean-Pierre

I think we are there. No errors reported from usermap.c , however I have included the make output just to provide confidence together with the make install (which had to be run as root.)

I am posting this report before attempting to run ntfs-3g just in case it shuts me down!

Regards

jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$ make
make all-recursive
make[1]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
Making all in include
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in ntfs-3g
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
Making all in fuse-lite
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/fuse-lite'
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making all in libfuse-lite
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libfuse-lite'
Making all in libntfs-3g
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/libntfs-3g'
Making all in src
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../include/ntfs-3g -g -O2 -Wall -MT ntfs_3g_secaudit-secaudit.o -MD -MP -MF .deps/ntfs_3g_secaudit-secaudit.Tpo -c -o ntfs_3g_secaudit-secaudit.o `test -f 'secaudit.c' || echo './'`secaudit.c
secaudit.c:2: warning: return type defaults to `int'
mv -f .deps/ntfs_3g_secaudit-secaudit.Tpo .deps/ntfs_3g_secaudit-secaudit.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include/ntfs-3g -g -O2 -Wall -o ntfs-3g.secaudit ntfs_3g_secaudit-secaudit.o ../libntfs-3g/libntfs-3g.la
gcc -I../include/ntfs-3g -g -O2 -Wall -o .libs/ntfs-3g.secaudit ntfs_3g_secaudit-secaudit.o ../libntfs-3g/.libs/libntfs-3g.so -R/usr/local/lib
creating ntfs-3g.secaudit
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:3869: warning: unused variable `fstype'
ntfs-3g.c:3873: warning: 'err' might be used uninitialized in this function
ntfs-3g.c: At top level:
ntfs-3g.c:215: 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
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/src'
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
make[1]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14'
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$



Make Install Output

jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$ make install
Making install in include
make[1]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
Making install in ntfs-3g
make[2]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[3]: Entering directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/ntfs-3g" || /usr/gnu/bin/mkdir -p "/usr/local/include/ntfs-3g"
/usr/gnu/bin/mkdir: cannot create directory `/usr/local/include': Permission denied
make[3]: *** [install-ntfs3gincludeHEADERS] Error 1
make[3]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include/ntfs-3g'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/export/home/jireland/Downloads/ntfs-3g-2009.11.14/include'
make: *** [install-recursive] Error 1
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14$ su
Password:
jireland@john-1:~/Downloads/ntfs-3g-2009.11.14# make install
Making install in include
Making install in ntfs-3g
test -z "/usr/local/include/ntfs-3g" || /usr/gnu/bin/mkdir -p "/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 '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 '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" || /usr/gnu/bin/mkdir -p "/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.71.0.0 /usr/local/lib/libntfs-3g.so.71.0.0
(cd /usr/local/lib && { ln -s -f libntfs-3g.so.71.0.0 libntfs-3g.so.71 || { rm -f libntfs-3g.so.71 && ln -s libntfs-3g.so.71.0.0 libntfs-3g.so.71; }; })
(cd /usr/local/lib && { ln -s -f libntfs-3g.so.71.0.0 libntfs-3g.so || { rm -f libntfs-3g.so && ln -s libntfs-3g.so.71.0.0 libntfs-3g.so; }; })
chmod +x /usr/local/lib/libntfs-3g.so.71.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" || /usr/gnu/bin/mkdir -p "/lib"
if [ ! "/lib" -ef "/usr/local/lib" ]; then \
/usr/gnu/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" || /usr/gnu/bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/ginstall -c -m 644 'libntfs-3g.pc' '/usr/local/lib/pkgconfig/libntfs-3g.pc'
test -z "/lib" || /usr/gnu/bin/mkdir -p "/lib"
Making install in src
test -z "/usr/local/bin" || /usr/gnu/bin/mkdir -p "/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" || /usr/gnu/bin/mkdir -p "/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" || /usr/gnu/bin/mkdir -p "/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" || /usr/gnu/bin/mkdir -p "/sbin"
test -z "/usr/local/share/doc/ntfs-3g" || /usr/gnu/bin/mkdir -p "/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-2009.11.14#


Fri Dec 18, 2009 12:30
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Jean-Pierre

AGHHHHHH!!! the same problem as using ntfs-3g-2009.04.04 with the latest OpenSolaris build snv 129. It has automatically logged me out - only slightly worse this time when using /usr/bin/ntfs-3g -odebug /dev/dsk/c7d0p1 /mnt. it gave various outputs but rather than returning me back to to terminal screen it shutdown the system.

May need to wait for the next release.

Regards.

John


Fri Dec 18, 2009 12:47
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Jean-Pierre

The output from /src/ntfs-3g -odebug /dev/dsk/c7d0p1 /mnt

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
unique: 1, opcode: INIT (26), nodeid: 1, insize: 56
INIT: 7.8
flags=0x00000000
max_readahead=0x00000000
INIT: 7.8
flags=0x00000000
max_readahead=0x00000000
max_write=0x00020000
unique: 1, error: 0 (Error 0), outsize: 40


Regards

John


Fri Dec 18, 2009 12:51
Profile

Joined: Mon Dec 14, 2009 12:42
Posts: 33
Post Re: Compile issues using OpenSolaris 0906
Yet more:

jireland@john-1:~/Downloads/ntfs-3g-2009.11.14# src/ntfs-3g -odebug /dev/dsk/c7d0p1 /mnt >jgi.output
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
unique: 1, opcode: INIT (26), nodeid: 1, insize: 56
INIT: 7.8
flags=0x00000000
max_readahead=0x00000000
INIT: 7.8
flags=0x00000000
max_readahead=0x00000000
max_write=0x00020000
unique: 1, error: 0 (Error 0), outsize: 40
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


Fri Dec 18, 2009 13:26
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 47 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.