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



Post new topic Reply to topic  [ 3 posts ] 
[FreeBSD] Build ntfs-3g 2011.4.12 
Author Message

Joined: Mon Apr 25, 2011 21:33
Posts: 2
Post [FreeBSD] Build ntfs-3g 2011.4.12
Hello,

I'm trying to port the last ntfs-3g on FreeBSD. I use the Makefile for the last ntfs-3g and i've already made some update (extra-patch-ublio). But i can't compile the new version. I have an error in the src.

Code:
Making all in src
/bin/sh /usr/local/bin/libtool --tag=CC    --mode=link cc -I../include/ntfs-3g             -DFUSE_USE_VERSION=26        -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -O2 -pipe -DUSE_LOCK -DUSE_UBLIO -fno-strict-aliasing -Wall   -L/usr/local/lib -o ntfs-3g ntfs_3g-ntfs-3g.o  ntfs_3g-ntfs-3g_common.o -pthread -R/usr/local/lib -L/usr/local/lib -lfuse -liconv ../libntfs-3g/libntfs-3g.la
libtool: link: cc -I../include/ntfs-3g -DFUSE_USE_VERSION=26 -D_FILE_OFFSET_BITS=64 -I/usr/local/include/fuse -O2 -pipe -DUSE_LOCK -DUSE_UBLIO -fno-strict-aliasing -Wall -o .libs/ntfs-3g ntfs_3g-ntfs-3g.o ntfs_3g-ntfs-3g_common.o -pthread  -L/usr/local/lib /usr/local/lib/libfuse.so /usr/local/lib/libiconv.so ../libntfs-3g/.libs/libntfs-3g.so -lublio -pthread -Wl,-rpath -Wl,/usr/local/lib
ntfs_3g-ntfs-3g.o(.text+0x227e): In function `main':
: undefined reference to `ntfs_parse_options'
ntfs_3g-ntfs-3g.o(.text+0x2319): In function `main':
: undefined reference to `parse_mount_options'
ntfs_3g-ntfs-3g.o(.text+0x2594): In function `main':
: undefined reference to `ntfs_strappend'
ntfs_3g-ntfs-3g.o(.text+0x2b2e): In function `main':
: undefined reference to `ntfs_strappend'
ntfs_3g-ntfs-3g.o(.text+0x2d6b): In function `main':
: undefined reference to `ntfs_strappend'
*** Error code 1


I don't really understand because this fonctions are in the ntfs-3g_common...

You have the test of FreeBSD port.

Thank you.


Attachments:
File comment: The FreeBSD port
fusefs-ntfs.tar.gz [10.19 KiB]
Downloaded 1132 times
Tue Apr 26, 2011 07:05
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: [FreeBSD] Build ntfs-3g 2011.4.12
Hi,

Quote:
I'm trying to port the last ntfs-3g on FreeBSD. I use the Makefile for the last ntfs-3g and i've already made some update (extra-patch-ublio). But i can't compile the new version. I have an error in the src.

There is a bug in ntfs-3g_common on platforms which do not support extended attributes. The first attached patch (options-patch.tar.gz) should fix it.

I also attach a set of patches for ntfsprogs which are needed for compiling on OpenIndiana. They could also be useful for FreeBSD, but you may have to adapt the conditions. Feedback welcome.

In your report you attached patches for FreeBSD. I will merge them in future versions if they are neutral to other platforms.

Regards

Jean-Pierre


Attachments:
solaris-patch.tar.gz [1.37 KiB]
Downloaded 1224 times
options-patch.tar.gz [447 Bytes]
Downloaded 1210 times
Tue Apr 26, 2011 09:09
Profile

Joined: Mon Apr 25, 2011 21:33
Posts: 2
Post Re: [FreeBSD] Build ntfs-3g 2011.4.12
I've applied your patches and works fine for me. I will propose the update of the port.

Thanks you.


Wed Apr 27, 2011 19:31
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.