On Thu 17 Jul 2014 at 17:28:19 -0400, Greg Troxel wrote:
> It is looking for fuse.pc. NetBSD native fuse does not have fuse.pc.
> Maybe it should. But maybe you can explicitly depend on
> filesystems/fuse.
Good idea. That gets me further: it starts to build but then fails to
link. It seems to want fuse_version, fuse_set_signal_handlers and
fuse_get_session:
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include
-DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include/fuse
-I../include/ntfs-3g -O2 -I/usr/pkg/include -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 'usage':
ntfs-3g.c:3442:2: warning: implicit declaration of function 'fuse_version'
ntfs-3g.c: In function 'mount_fuse':
ntfs-3g.c:3623:2: warning: implicit declaration of function
'fuse_set_signal_handlers'
ntfs-3g.c:3623:2: warning: implicit declaration of function 'fuse_get_session'
mv -f .deps/ntfs_3g-ntfs-3g.Tpo .deps/ntfs_3g-ntfs-3g.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/pkg/include
-DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include/fuse
-I../include/ntfs-3g -O2 -I/usr/pkg/include -Wall -MT
ntfs_3g-ntfs-3g_common.o -MD -MP -MF .deps/ntfs_3g-ntfs-3g_common.Tpo -c -o
ntfs_3g-ntfs-3g_common.o `test -f 'ntfs-3g_common.c' || echo
'./'`ntfs-3g_common.c
ntfs-3g_common.c: In function 'ntfs_parse_options':
ntfs-3g_common.c:617:4: warning: implicit declaration of function 'fuse_version'
mv -f .deps/ntfs_3g-ntfs-3g_common.Tpo .deps/ntfs_3g-ntfs-3g_common.Po
/bin/sh ../libtool --tag=CC --mode=link gcc
-DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include/fuse
-I../include/ntfs-3g -O2 -I/usr/pkg/include -Wall -L/usr/pkg/lib
-Wl,-R/usr/pkg/lib -o ntfs-3g ntfs_3g-ntfs-3g.o ntfs_3g-ntfs-3g_common.o
-L/usr/pkg/lib -lfuse -pthread -lntfs-3g
libtool: link: gcc -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64
-I/pkg_comp/obj/pkgsrc/filesystems/fuse-ntfs-3g/default/.buildlink/include/fuse
-I../include/ntfs-3g -O2
-I/pkg_comp/obj/pkgsrc/filesystems/fuse-ntfs-3g/default/.buildlink/include
-Wall -Wl,-R/usr/pkg/lib -o ntfs-3g ntfs_3g-ntfs-3g.o ntfs_3g-ntfs-3g_common.o
-pthread
-L/pkg_comp/obj/pkgsrc/filesystems/fuse-ntfs-3g/default/.buildlink/lib -lrefuse
-lntfs-3g -pthread
-Wl,-rpath,/pkg_comp/obj/pkgsrc/filesystems/fuse-ntfs-3g/default/.buildlink/lib
-Wl,-rpath,/pkg_comp/obj/pkgsrc/filesystems/fuse-ntfs-3g/default/.buildlink/lib
ntfs_3g-ntfs-3g.o: In function `usage':
ntfs-3g.c:(.text+0x412e): undefined reference to `fuse_version'
ntfs_3g-ntfs-3g.o: In function `main':
ntfs-3g.c:(.text+0x49e1): undefined reference to `fuse_get_session'
ntfs-3g.c:(.text+0x49ea): undefined reference to `fuse_set_signal_handlers'
ntfs-3g.c:(.text+0x4a2c): undefined reference to `fuse_version'
ntfs_3g-ntfs-3g_common.o: In function `ntfs_parse_options':
ntfs-3g_common.c:(.text+0xc95): undefined reference to `fuse_version'
*** Error code 1
Stop.
Fortunately this is not critical for me, so I'll do without for now.
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl -- 'this bath is too hot.'
Attachment:
pgpqBIUjqw_fv.pgp
Description: PGP signature