From owner-freebsd-questions@FreeBSD.ORG Tue Jun 26 02:09:10 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0D5B16A46C for ; Tue, 26 Jun 2007 02:09:10 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id C71A913C44C for ; Tue, 26 Jun 2007 02:09:10 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 4627 invoked from network); 26 Jun 2007 02:09:10 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Jun 2007 02:09:10 -0000 Received: from Lowell-Desk.lan (Lowell-Desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 09D2128440; Mon, 25 Jun 2007 22:09:07 -0400 (EDT) Received: by Lowell-Desk.lan (Postfix, from userid 1147) id 5F4981CCB8; Mon, 25 Jun 2007 22:09:06 -0400 (EDT) To: "Anton Galitch" References: <7c80322b0706230837p17a70ff4iedd5f4ac81bbfa11@mail.gmail.com> <443b0hh0yb.fsf@Lowell-Desk.lan> <7c80322b0706240900u2e9ac118u574f9b8ed0d8268d@mail.gmail.com> From: Lowell Gilbert Date: Mon, 25 Jun 2007 22:09:06 -0400 In-Reply-To: <7c80322b0706240900u2e9ac118u574f9b8ed0d8268d@mail.gmail.com> (Anton Galitch's message of "Sun\, 24 Jun 2007 13\:00\:29 -0300") Message-ID: <44bqf331rx.fsf@Lowell-Desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: fusefs-ntfs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 02:09:11 -0000 "Anton Galitch" writes: > On 6/24/07, Lowell Gilbert wrote: >> >> "Anton Galitch" 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.