bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mountlist.c:329: `MOUNTED' undeclared


From: Vaclav Ovsik
Subject: Re: mountlist.c:329: `MOUNTED' undeclared
Date: Thu, 30 Aug 2001 13:57:58 +0200
User-agent: Mutt/1.2.5i

I have AIX 4.3.3 with those error too. I reply on mail found
in http://mail.gnu.org/pipermail/bug-fileutils.mbox/bug-fileutils.mbox.
If this problem is not solved yet, I can try support some information.

On Sat, Aug 04, 2001 at 06:32:14PM +0200, Jim Meyering wrote:
> Thanks for the report.
> 
> What method should it be using?
> If the one-arg getmntent is the right one, then I'll need to know
> how to initialize this local variable in mountlist.c:
> 
>     char *table = MOUNTED;
> 
> If not, does its getmntent function take two arguments,
> or does it have a mntctl function and a `struct vmount' definition, etc...
> For more info, look in m4/ls-mntd-fs.m4 (which produces code that ends up
> in configure) for the code that tries to detect which variant your system 
> uses.
> 
> "Scott Thomason" <address@hidden> wrote:
> > While compiling on AIX433, libc 4.3.3.50, I get this error:
> >
> > gcc -DLIBDIR=\"/gnut/lib\" -DHAVE_CONFIG_H -I.. -I. -I../intl    -O2 
> > -I/gnu/include -L/gnu/lib -c -o mountlist.o `test -f mountlist.c || echo 
> > './'`mountlist.c
> > mountlist.c: In function `read_filesystem_list':
> > mountlist.c:329: `MOUNTED' undeclared (first use in this function)
> > mountlist.c:329: (Each undeclared identifier is reported only once
> > mountlist.c:329: for each function it appears in.)
> >
> > Under older (now unknown) versions of AIX433 libc I did not have this 
> > problem. My configure command was:
> >
> >     ./configure --prefix=/gnut --disable-nls --libexecdir=/gnut/bin
> >
> > The problem appears to be related to this chunk o' #defs:
> >
> > #ifdef MOUNTED_GETMNTENT1       /* 4.3BSD, SunOS, HP-UX, Dynix, Irix.  */
> > # include <mntent.h>
> > # if !defined(MOUNTED)
> > #  if defined(MNT_MNTTAB)       /* HP-UX.  */
> > #   define MOUNTED MNT_MNTTAB
> > #  endif
> > #  if defined(MNTTABNAME)       /* Dynix.  */
> > #   define MOUNTED MNTTABNAME
> > #  endif
> > # endif
> > #endif
> >
> > The config.h and config.log files are attached. If anyone can see the 
> > problem, I'd appreciate a note, otherwise, I'll keep banging away at it.
> > ---scott
> 

-- 
        Vaclav Ovsik            email: address@hidden
        ICZ a.s.                phone: +420 19 7488511
                                fax:   +420 19 7488506




reply via email to

[Prev in Thread] Current Thread [Next in Thread]