[Cook] "MOUNTED" filedes?

Jason Sullivan jasonsul at us.ibm.com
Tue May 13 23:58:16 EST 2003




Lured by the promise of a tab-free life, I'm trying to make the 2.23
version of cook on AIX using gcc.  All has gone well so far, but I've run
into a snag whilst compiling...

gristle]/afs/peps/tools/gnu/cook-2.23: make
gcc -Icook -Icommon  -g -O2 -c cook/os/pathname.c
cook/os/pathname.c: In function `get_auto_mount_dirs':
cook/os/pathname.c:324: `MOUNTED' undeclared (first use in this function)
cook/os/pathname.c:324: (Each undeclared identifier is reported only once
cook/os/pathname.c:324: for each function it appears in.)
make: *** [cook/os/pathname.o] Error 1

gcc appears to be right in this case, because I don't see "MOUNTED"
declared as a file descriptor type in the immediate vicinity.  There's no
error in the config file that I can tell, either.  I can see in
"common/ac/mntent.h" that "MOUNTED" is declared, but AIX also has an
"mntent.h", with no declaration of "MOUNTED".  I'm assuming that's what
causing the problem.

Clues?  Thanks.

--
Jason M. Sullivan
PowerPC Embbedded Processor Solutions
IBM Microelectronics
jasonsul at us.ibm.com (919.543.5650)




More information about the Cook-users mailing list