bug-fileutils
[Top][All Lists]
Advanced

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

mountlist.c:329: `MOUNTED' undeclared


From: Scott Thomason
Subject: mountlist.c:329: `MOUNTED' undeclared
Date: Fri, 03 Aug 2001 16:33:41 -0500

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



Attachment: config.log
Description: Binary data

Attachment: config.h
Description: Text document


reply via email to

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