"Anton Galitch" <[EMAIL PROTECTED]> writes: > On 6/24/07, Lowell Gilbert <[EMAIL PROTECTED]> wrote: >> >> "Anton Galitch" <[EMAIL PROTECTED]> 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. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
