bug-fileutils
[Top][All Lists]
Advanced

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

Problem with config.h on AIX


From: Alejandro Martinez
Subject: Problem with config.h on AIX
Date: 07 Oct 2002 15:46:51 +0200

Hi,

I've found this address on the GNU site. If this is not the correct
address to submit this bug to, nor this is not a bug, please accept
my apologizes.

Alex

--

I've found the following error compiling fileutils-4.1 on a AIX 4.3
IBM,7044-270 (configure sets host as powerpc-ibm-aix4.3.3.0).
  ~ make
    ...
        source='mountlist.c' object='mountlist.o' libtool=no  
depfile='.deps/mountlist.Po' tmpdepfile='.deps/mountlist.TPo'  
depmode=gcc /bin/sh ../depcomp  gcc
-DLIBDIR=\"/mnt/ext1/alejan/opt//lib\" 
-DHAVE_CONFIG_H -I.. -I. -I../intl    -g -O2 -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.)
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.

--
Problem:
config.h sets #define MOUNTED_GETMNTENT1 1 
instead it should set #define MOUNTED_VMOUNT
I've mntent.h (don't know why) but MOUNTED is not defined.
configure should use sys/vmount.h as os=aix

Fix:
Changing the defines in config.h (and removing config.h dependency
in Makefile) "works for me" (TM). I would like to send the correct
patch to generate config.h properly, but I don't know much about
configure internal issues and macros :-(







reply via email to

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