Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2007 22:09:06 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        "Anton Galitch" <anton.galitch@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fusefs-ntfs
Message-ID:  <44bqf331rx.fsf@Lowell-Desk.lan>
In-Reply-To: <7c80322b0706240900u2e9ac118u574f9b8ed0d8268d@mail.gmail.com> (Anton Galitch's message of "Sun\, 24 Jun 2007 13\:00\:29 -0300")
References:  <7c80322b0706230837p17a70ff4iedd5f4ac81bbfa11@mail.gmail.com> <443b0hh0yb.fsf@Lowell-Desk.lan> <7c80322b0706240900u2e9ac118u574f9b8ed0d8268d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Anton Galitch" <anton.galitch@gmail.com> writes:

> On 6/24/07, Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> wrote:
>>
>> "Anton Galitch" <anton.galitch@gmail.com> writes:
>>
>> > I have this problem while compiling fusfs-ntfs:
>> >
>> > mount_fusefs.c:72: error: `MOPT_STDOPTS' undeclared here (not in a
>> function)
>> > mount_fusefs.c:72: error: initializer element is not constant
>> > mount_fusefs.c:72: error: (near initialization for `mopts[12]')
>> > mount_fusefs.c:74: error: `MOPT_END' undeclared here (not in a function)
>> > mount_fusefs.c:74: error: initializer element is not constant
>> > mount_fusefs.c:74: error: (near initialization for `mopts[13]')
>> > mount_fusefs.c: In function `main':
>> > mount_fusefs.c:139: error: `getmnt_silent' undeclared (first use in this
>> > function)
>> > mount_fusefs.c:139: error: (Each undeclared identifier is reported only
>> once
>> > mount_fusefs.c:139: error: for each function it appears in.)
>> > mount_fusefs.c:179: error: dereferencing pointer to incomplete type
>> > mount_fusefs.c:179: error: increment of pointer to unknown structure
>> > mount_fusefs.c:179: error: arithmetic on pointer to an incomplete type
>> > mount_fusefs.c:180: error: dereferencing pointer to incomplete type
>> > mount_fusefs.c:181: error: dereferencing pointer to incomplete type
>> > mount_fusefs.c:247: error: dereferencing pointer to incomplete type
>> > mount_fusefs.c:247: error: increment of pointer to unknown structure
>> > mount_fusefs.c:247: error: arithmetic on pointer to an incomplete type
>> > mount_fusefs.c:248: error: dereferencing pointer to incomplete type
>> > mount_fusefs.c: In function `usage':
>> > mount_fusefs.c:379: error: dereferencing pointer to incomplete type
>> > mount_fusefs.c:379: error: increment of pointer to unknown structure
>> > mount_fusefs.c:379: error: arithmetic on pointer to an incomplete type
>> > mount_fusefs.c:380: error: dereferencing pointer to incomplete type
>> > mount_fusefs.c: At top level:
>> > mount_fusefs.c:58: warning: array 'mopts' assumed to have one element
>> > mount_fusefs.c:58: error: storage size of `mopts' isn't known
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd- 0.3.0
>> /mount_fusefs.
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/sysutils/fusefs-kmod/work/fuse4bsd-0.3.0.
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/sysutils/fusefs-kmod.
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/sysutils/fusefs-ntfs.
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/sysutils/fusefs-ntfs.
>> >
>> >
>> >
>> >
>> > Whats the problem??
>>
>> Have you got the kernel sources installed?
>>
>
>
> I have /usr/src/sys populated. What else should I have and how do I get it?

In this case, it looks like it comes from the sources for the mount
command.  The file that supplies that  /usr/src/sbin/mount/mntopts.h
and if you don't want to get the whole source tree, you can obtain it
from cvsweb.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44bqf331rx.fsf>